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 11/01/07, Chris Pickett <chris.pickett@mail.mcgill.ca> wrote:
-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.

Weird. Could you try with mainline?

Mainline rejects -Wno-all for me. I guess c.opt needs the attached. I'm not really sure how -Wno-all is being rejected without it though...


Cheers,
Chris

2007-01-10 Chris Pickett <chris.pickett@mail.mcgill.ca>

* c.opt (Wall): Add RejectNegative.
Index: c.opt
===================================================================
--- c.opt	(revision 120647)
+++ c.opt	(working copy)
@@ -117,7 +117,7 @@
 Warn about things that will change when compiling with an ABI-compliant compiler
 
 Wall
-C ObjC C++ ObjC++
+C ObjC C++ ObjC++ RejectNegative
 Enable most warning messages
 
 Wassign-intercept

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