]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/doc/invoke.texi
cpplib.h (struct cpp_options): New member, warn_endif_labels.
[gcc.git] / gcc / doc / invoke.texi
index 533fda1a4aaf74af534e8484c41f6e5630c2d009..7e6b714c9b5e0ee2da7318efbd2dcf9e78da0e50 100644 (file)
@@ -220,7 +220,7 @@ in the following sections.
 -Wimplicit  -Wimplicit-int  @gol
 -Wimplicit-function-declaration @gol
 -Werror-implicit-function-declaration @gol
--Wimport  -Winline @gol
+-Wimport  -Winline -Wno-endif-labels @gol
 -Wlarger-than-@var{len}  -Wlong-long @gol
 -Wmain  -Wmissing-braces  -Wmissing-declarations @gol
 -Wmissing-format-attribute  -Wmissing-noreturn @gol
@@ -2384,6 +2384,10 @@ conversion warnings, for the full set use @option{-Wconversion}.
 @opindex Wundef
 Warn if an undefined identifier is evaluated in an @samp{#if} directive.
 
+@item -Wendif-labels
+@opindex Wendif-labels
+Warn whenever an @samp{#else} or an @samp{#endif} are followed by text.
+
 @item -Wshadow
 @opindex Wshadow
 Warn whenever a local variable shadows another local variable, parameter or
This page took 0.040226 seconds and 5 git commands to generate.