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.


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


!? I thought Wno-all was expected to work, so this is a bug. Your patch doesn't fix the bug, it will rather bless it.

(Disclaimer: I have no power to accept or reject any patch, so take
the above as just my opinion at the moment).

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