Fix line-too-long style errors

This commit is contained in:
Brad King 2010-09-10 14:42:09 -04:00
parent 86025d3a38
commit 9d21281b7d
4 changed files with 8 additions and 5 deletions

View File

@ -687,7 +687,8 @@ cmELFInternalImpl<Types>::GetDynamicSectionString(int tag)
// The value has been read successfully. Report it. // The value has been read successfully. Report it.
se.Position = static_cast<unsigned long>(strtab.sh_offset + first); se.Position = static_cast<unsigned long>(strtab.sh_offset + first);
se.Size = last - first; se.Size = last - first;
se.IndexInSection = static_cast<int>(di - this->DynamicSectionEntries.begin()); se.IndexInSection =
static_cast<int>(di - this->DynamicSectionEntries.begin());
return &se; return &se;
} }
} }

View File

@ -260,8 +260,8 @@ cmGlobalVisualStudio8Generator
for(std::vector<std::string>::iterator i = this->Configurations.begin(); for(std::vector<std::string>::iterator i = this->Configurations.begin();
i != this->Configurations.end(); ++i) i != this->Configurations.end(); ++i)
{ {
fout << "\t\t" << *i << "|" << this->GetPlatformName() << " = " << *i << "|" fout << "\t\t" << *i << "|" << this->GetPlatformName()
<< this->GetPlatformName() << "\n"; << " = " << *i << "|" << this->GetPlatformName() << "\n";
} }
fout << "\tEndGlobalSection\n"; fout << "\tEndGlobalSection\n";
} }

View File

@ -1304,7 +1304,8 @@ void cmLocalVisualStudio6Generator
optionsRelease); optionsRelease);
this->ComputeLinkOptions(target, "MinSizeRel", extraLinkOptionsMinSizeRel, this->ComputeLinkOptions(target, "MinSizeRel", extraLinkOptionsMinSizeRel,
optionsMinSizeRel); optionsMinSizeRel);
this->ComputeLinkOptions(target, "RelWithDebInfo", extraLinkOptionsRelWithDebInfo, this->ComputeLinkOptions(target, "RelWithDebInfo",
extraLinkOptionsRelWithDebInfo,
optionsRelWithDebInfo); optionsRelWithDebInfo);
} }

View File

@ -1176,7 +1176,8 @@ bool cmSystemTools::ComputeFileMD5(const char* source, char* md5out)
// Should be efficient enough on most system: // Should be efficient enough on most system:
const int bufferSize = 4096; const int bufferSize = 4096;
char buffer[bufferSize]; char buffer[bufferSize];
unsigned char const* buffer_uc = reinterpret_cast<unsigned char const*>(buffer); unsigned char const* buffer_uc =
reinterpret_cast<unsigned char const*>(buffer);
// This copy loop is very sensitive on certain platforms with // This copy loop is very sensitive on certain platforms with
// slightly broken stream libraries (like HPUX). Normally, it is // slightly broken stream libraries (like HPUX). Normally, it is
// incorrect to not check the error condition on the fin.read() // incorrect to not check the error condition on the fin.read()