This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR documentation/30330: Ensure -Wfoo and -Wno-foo @opindex exist.


Manuel López-Ibáñez wrote:
On 10/01/07, Chris Pickett <chris.pickett@mail.mcgill.ca> wrote:

 @item -Wall
 @opindex Wall
+@opindex Wno-all
 All of the above @samp{-W} options combined.  This enables all the
 warnings about constructions that some users consider questionable, and
 that are easy to avoid (or modify to prevent the warning), even in

There is no option Wno-all. I wonder if there are more options that don't have a negative form.

-Wno-all works for me with a 4.1.1 compiler and it also clobbers -Wall. The only warning options marked with RejectNegative in common.opt and c.opt are -W, -Wlarger-than-, and -Werror-implicit-function-declaration. None of these have an @opindex in the patch.


Chris


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]