cppfiles.c (_cpp_find_file): Make 'one or more PCH files were found' message comply with GNU standards.

* cppfiles.c (_cpp_find_file): Make 'one or more PCH files were found'
	message comply with GNU standards.

From-SVN: r73611
This commit is contained in:
Geoffrey Keating 2003-11-14 19:00:04 +00:00 committed by Geoffrey Keating
parent ec75414ff7
commit e235d8bfa0
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2003-11-14 Geoffrey Keating <geoffk@apple.com>
* cppfiles.c (_cpp_find_file): Make 'one or more PCH files were found'
message comply with GNU standards.
2003-11-14 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
PR/6552

View File

@ -389,10 +389,10 @@ _cpp_find_file (cpp_reader *pfile, const char *fname, cpp_dir *start_dir, bool f
if (invalid_pch)
{
cpp_error (pfile, CPP_DL_ERROR,
"One or more PCH files were found, but they were invalid.");
if (! cpp_get_options (pfile)->warn_invalid_pch)
"one or more PCH files were found, but they were invalid");
if (!cpp_get_options (pfile)->warn_invalid_pch)
cpp_error (pfile, CPP_DL_ERROR,
"Use -Winvalid-pch for more information.");
"use -Winvalid-pch for more information");
}
break;
}