diff options
author | Geoffrey Keating <geoffk@apple.com> | 2003-07-22 02:21:16 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2003-07-22 02:21:16 +0000 |
commit | 905bd7b527bc0134241aad1d566fd55bf09a5ef5 (patch) | |
tree | 07ff33bb9e6e093078a8e0747db18838449d8bb0 /gcc/cpplex.c | |
parent | 87d9741e4e6ff884ec5e34b19d46bd17051dec63 (diff) | |
download | gcc-905bd7b527bc0134241aad1d566fd55bf09a5ef5.zip gcc-905bd7b527bc0134241aad1d566fd55bf09a5ef5.tar.gz gcc-905bd7b527bc0134241aad1d566fd55bf09a5ef5.tar.bz2 |
cpplex.c (_cpp_process_line_notes): Mention option name in trigraphs warning.
* cpplex.c (_cpp_process_line_notes): Mention option name in
trigraphs warning.
From-SVN: r69659
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r-- | gcc/cpplex.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/cpplex.c b/gcc/cpplex.c index 025d729..c3ef88d 100644 --- a/gcc/cpplex.c +++ b/gcc/cpplex.c @@ -244,9 +244,12 @@ _cpp_process_line_notes (cpp_reader *pfile, int in_comment) note->type, (int) _cpp_trigraph_map[note->type]); else - cpp_error_with_line (pfile, DL_WARNING, pfile->line, col, - "trigraph ??%c ignored", - note->type); + { + cpp_error_with_line + (pfile, DL_WARNING, pfile->line, col, + "trigraph ??%c ignored, use -trigraphs to enable", + note->type); + } } } else |