STYLE: Fix line-too-long for new INTERNAL_ERROR messages.

This commit is contained in:
Brad King 2008-03-15 10:00:07 -04:00
parent 204a70cff8
commit 133e5b5dd8
2 changed files with 9 additions and 10 deletions

View File

@ -173,12 +173,12 @@ bool cmSourceFileLocation::Matches(cmSourceFileLocation const& loc)
// Each side has a directory relative to a different location.
// This can occur when referencing a source file from a different
// directory. This is not yet allowed.
this->Makefile->
IssueMessage(cmake::INTERNAL_ERROR,
"Matches error: Each side has a directory relative to a different"
" location. This can occur when referencing a "
"source file from a different directory. "
"This is not yet allowed.");
this->Makefile->IssueMessage(
cmake::INTERNAL_ERROR,
"Matches error: Each side has a directory relative to a different "
"location. This can occur when referencing a source file from a "
"different directory. This is not yet allowed."
);
return false;
}
else if(this->AmbiguousDirectory)

View File

@ -2586,11 +2586,10 @@ void cmTarget::GetExecutableNamesInternal(std::string& name,
// enforcement of the limited imported target API.
if(this->IsImported())
{
std::string msg = "GetExecutableNamesInternal called on imported target: ";
std::string msg =
"GetExecutableNamesInternal called on imported target: ";
msg += this->GetName();
this->GetMakefile()->
IssueMessage(cmake::INTERNAL_ERROR,
msg.c_str());
this->GetMakefile()->IssueMessage(cmake::INTERNAL_ERROR, msg.c_str());
}
// This versioning is supported only for executables and then only