compiler warnings

This commit is contained in:
Ken Martin 2002-09-07 21:26:08 -04:00
parent b7455e404f
commit f229c1c46e
3 changed files with 8 additions and 8 deletions

View File

@ -27,7 +27,7 @@ cmGlobalGenerator::cmGlobalGenerator()
cmGlobalGenerator::~cmGlobalGenerator() cmGlobalGenerator::~cmGlobalGenerator()
{ {
// Delete any existing cmLocalGenerators // Delete any existing cmLocalGenerators
int i; unsigned int i;
for (i = 0; i < m_LocalGenerators.size(); ++i) for (i = 0; i < m_LocalGenerators.size(); ++i)
{ {
delete m_LocalGenerators[i]; delete m_LocalGenerators[i];
@ -56,7 +56,7 @@ void cmGlobalGenerator::Configure()
m_LanguagesEnabled = false; m_LanguagesEnabled = false;
// Delete any existing cmLocalGenerators // Delete any existing cmLocalGenerators
int i; unsigned int i;
for (i = 0; i < m_LocalGenerators.size(); ++i) for (i = 0; i < m_LocalGenerators.size(); ++i)
{ {
delete m_LocalGenerators[i]; delete m_LocalGenerators[i];
@ -86,7 +86,7 @@ void cmGlobalGenerator::RecursiveConfigure(cmLocalGenerator *lg)
std::vector<std::string> subdirs = lg->GetMakefile()->GetSubDirectories(); std::vector<std::string> subdirs = lg->GetMakefile()->GetSubDirectories();
// for each subdir recurse // for each subdir recurse
int i; unsigned int i;
for (i = 0; i < subdirs.size(); ++i) for (i = 0; i < subdirs.size(); ++i)
{ {
cmLocalGenerator *lg2 = this->CreateLocalGenerator(); cmLocalGenerator *lg2 = this->CreateLocalGenerator();
@ -112,7 +112,7 @@ void cmGlobalGenerator::RecursiveConfigure(cmLocalGenerator *lg)
void cmGlobalGenerator::Generate() void cmGlobalGenerator::Generate()
{ {
// For each existing cmLocalGenerator // For each existing cmLocalGenerator
int i; unsigned int i;
for (i = 0; i < m_LocalGenerators.size(); ++i) for (i = 0; i < m_LocalGenerators.size(); ++i)
{ {
m_LocalGenerators[i]->Generate(true); m_LocalGenerators[i]->Generate(true);

View File

@ -212,7 +212,7 @@ void cmGlobalVisualStudio6Generator::WriteDSWFile(std::ostream& fout)
std::string homedir = m_CMakeInstance->GetHomeDirectory(); std::string homedir = m_CMakeInstance->GetHomeDirectory();
homedir += "/"; homedir += "/";
int i; unsigned int i;
for(i = 0; i < m_LocalGenerators.size(); ++i) for(i = 0; i < m_LocalGenerators.size(); ++i)
{ {
cmMakefile* mf = m_LocalGenerators[i]->GetMakefile(); cmMakefile* mf = m_LocalGenerators[i]->GetMakefile();
@ -244,7 +244,7 @@ void cmGlobalVisualStudio6Generator::WriteDSWFile(std::ostream& fout)
// vector on the makefile // vector on the makefile
if(l->first == "ALL_BUILD") if(l->first == "ALL_BUILD")
{ {
int j; unsigned int j;
for(j = 0; j < m_LocalGenerators.size(); ++j) for(j = 0; j < m_LocalGenerators.size(); ++j)
{ {
const cmTargets &atgts = const cmTargets &atgts =

View File

@ -260,7 +260,7 @@ void cmGlobalVisualStudio7Generator::WriteSLNFile(std::ostream& fout)
// For each cmMakefile, create a VCProj for it, and // For each cmMakefile, create a VCProj for it, and
// add it to this SLN file // add it to this SLN file
int i; unsigned int i;
for(i = 0; i < m_LocalGenerators.size(); ++i) for(i = 0; i < m_LocalGenerators.size(); ++i)
{ {
cmMakefile* mf = m_LocalGenerators[i]->GetMakefile(); cmMakefile* mf = m_LocalGenerators[i]->GetMakefile();
@ -292,7 +292,7 @@ void cmGlobalVisualStudio7Generator::WriteSLNFile(std::ostream& fout)
// vector on the makefile // vector on the makefile
if(l->first == "ALL_BUILD") if(l->first == "ALL_BUILD")
{ {
int j; unsigned int j;
for(j = 0; j < m_LocalGenerators.size(); ++j) for(j = 0; j < m_LocalGenerators.size(); ++j)
{ {
const cmTargets &atgts = const cmTargets &atgts =