mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-25 11:54:01 +08:00
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:
parent
ec75414ff7
commit
e235d8bfa0
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user