Adding new line to error/warning message on Windows and fixing some typos.

This commit is contained in:
Dmitry Babokin
2013-05-01 20:22:01 +02:00
parent 3e18cec691
commit 549655bff4
3 changed files with 4 additions and 3 deletions

View File

@@ -968,7 +968,7 @@ Module::writeOutput(OutputType outputType, const char *outFileName,
return 1;
}
if (fileType != NULL)
Warning(SourcePos(), "Warning: emitting %s file, but filename \"%s\" "
Warning(SourcePos(), "Emitting %s file, but filename \"%s\" "
"has suffix \"%s\"?", fileType, outFileName, suffix);
}
@@ -2325,7 +2325,7 @@ Module::CompileAndOutput(const char *srcFile,
}
else {
if (outputType == CXX) {
Error(SourcePos(), "Illegal to specify more then one target when "
Error(SourcePos(), "Illegal to specify more than one target when "
"compiling C++ output.");
return 1;
}