diff options
| author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-14 20:46:29 +0000 |
|---|---|---|
| committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-14 20:46:29 +0000 |
| commit | aaaff50e7542f3bf5e81de40cc298fe908883b21 (patch) | |
| tree | 66035fefea51056a8d06efdbb00f6baa9f9a415f | |
| parent | e7351a4973966bf984aae8d04d1f52c7272e789e (diff) | |
| download | ppe42-gcc-aaaff50e7542f3bf5e81de40cc298fe908883b21.tar.gz ppe42-gcc-aaaff50e7542f3bf5e81de40cc298fe908883b21.zip | |
PR preprocessor/16323
* doc/invoke.texi: Document that -Wendif-labels is on by default.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95044 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/doc/invoke.texi | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d4980fe3a1d..2c2f95136fd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-02-14 Joseph S. Myers <joseph@codesourcery.com> + + PR preprocessor/16323 + * doc/invoke.texi: Document that -Wendif-labels is on by default. + 2005-02-14 David Edelsohn <edelsohn@gnu.org> PR target/19019 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index a93c8f0ca42..88f19dc4afc 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -214,7 +214,7 @@ Objective-C and Objective-C++ Dialects}. -w -Wextra -Wall -Waggregate-return @gol -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment @gol -Wconversion -Wno-deprecated-declarations @gol --Wdisabled-optimization -Wno-div-by-zero -Wendif-labels @gol +-Wdisabled-optimization -Wno-div-by-zero -Wno-endif-labels @gol -Werror -Werror-implicit-function-declaration @gol -Wfatal-errors -Wfloat-equal -Wformat -Wformat=2 @gol -Wno-format-extra-args -Wformat-nonliteral @gol @@ -2876,9 +2876,10 @@ GCC versions before GCC 3.0. @xref{Mixed Declarations}. @opindex Wundef Warn if an undefined identifier is evaluated in an @samp{#if} directive. -@item -Wendif-labels +@item -Wno-endif-labels +@opindex Wno-endif-labels @opindex Wendif-labels -Warn whenever an @samp{#else} or an @samp{#endif} are followed by text. +Do not warn whenever an @samp{#else} or an @samp{#endif} are followed by text. @item -Wshadow @opindex Wshadow |

