From f229c1c46e81868d4a41d8f7238ae2562bce3f59 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Sat, 7 Sep 2002 21:26:08 -0400 Subject: [PATCH] compiler warnings --- Source/cmGlobalGenerator.cxx | 8 ++++---- Source/cmGlobalVisualStudio6Generator.cxx | 4 ++-- Source/cmGlobalVisualStudio7Generator.cxx | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 14239a74b..f20d3c22e 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 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 bd0a00a93..8000c6a3c 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 75ce6d58b..b23fde85e 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 =