diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-09-08 01:26:08 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-09-08 01:26:08 (GMT) |
commit | f229c1c46e81868d4a41d8f7238ae2562bce3f59 (patch) | |
tree | 09e86ac09e5746f02a2e841c696ba359f88fc11a | |
parent | b7455e404f8838d2f08a43b3e7ae2dd0c8e5e293 (diff) | |
download | CMake-f229c1c46e81868d4a41d8f7238ae2562bce3f59.zip CMake-f229c1c46e81868d4a41d8f7238ae2562bce3f59.tar.gz CMake-f229c1c46e81868d4a41d8f7238ae2562bce3f59.tar.bz2 |
compiler warnings
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 8 | ||||
-rw-r--r-- | Source/cmGlobalVisualStudio6Generator.cxx | 4 | ||||
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 14239a7..f20d3c2 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -27,7 +27,7 @@ cmGlobalGenerator::cmGlobalGenerator() cmGlobalGenerator::~cmGlobalGenerator() { // Delete any existing cmLocalGenerators - int i; + unsigned int i; for (i = 0; i < m_LocalGenerators.size(); ++i) { delete m_LocalGenerators[i]; @@ -56,7 +56,7 @@ void cmGlobalGenerator::Configure() m_LanguagesEnabled = false; // Delete any existing cmLocalGenerators - int i; + unsigned int i; for (i = 0; i < m_LocalGenerators.size(); ++i) { delete m_LocalGenerators[i]; @@ -86,7 +86,7 @@ void cmGlobalGenerator::RecursiveConfigure(cmLocalGenerator *lg) std::vector<std::string> subdirs = lg->GetMakefile()->GetSubDirectories(); // for each subdir recurse - int i; + unsigned int i; for (i = 0; i < subdirs.size(); ++i) { cmLocalGenerator *lg2 = this->CreateLocalGenerator(); @@ -112,7 +112,7 @@ void cmGlobalGenerator::RecursiveConfigure(cmLocalGenerator *lg) void cmGlobalGenerator::Generate() { // For each existing cmLocalGenerator - int i; + unsigned int i; for (i = 0; i < m_LocalGenerators.size(); ++i) { m_LocalGenerators[i]->Generate(true); diff --git a/Source/cmGlobalVisualStudio6Generator.cxx b/Source/cmGlobalVisualStudio6Generator.cxx index bd0a00a..8000c6a 100644 --- a/Source/cmGlobalVisualStudio6Generator.cxx +++ b/Source/cmGlobalVisualStudio6Generator.cxx @@ -212,7 +212,7 @@ void cmGlobalVisualStudio6Generator::WriteDSWFile(std::ostream& fout) std::string homedir = m_CMakeInstance->GetHomeDirectory(); homedir += "/"; - int i; + unsigned int i; for(i = 0; i < m_LocalGenerators.size(); ++i) { cmMakefile* mf = m_LocalGenerators[i]->GetMakefile(); @@ -244,7 +244,7 @@ void cmGlobalVisualStudio6Generator::WriteDSWFile(std::ostream& fout) // vector on the makefile if(l->first == "ALL_BUILD") { - int j; + unsigned int j; for(j = 0; j < m_LocalGenerators.size(); ++j) { const cmTargets &atgts = diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index 75ce6d5..b23fde8 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -260,7 +260,7 @@ void cmGlobalVisualStudio7Generator::WriteSLNFile(std::ostream& fout) // For each cmMakefile, create a VCProj for it, and // add it to this SLN file - int i; + unsigned int i; for(i = 0; i < m_LocalGenerators.size(); ++i) { cmMakefile* mf = m_LocalGenerators[i]->GetMakefile(); @@ -292,7 +292,7 @@ void cmGlobalVisualStudio7Generator::WriteSLNFile(std::ostream& fout) // vector on the makefile if(l->first == "ALL_BUILD") { - int j; + unsigned int j; for(j = 0; j < m_LocalGenerators.size(); ++j) { const cmTargets &atgts = |