patch for Re: Inappropriate Warning Cannot Be Turned Off

Phil Edwards pedwards@disaster.jaj.com
Thu Jun 8 08:35:00 GMT 2000


> > The first line of flags is obviously necessary, but I would really like
> > to see a lot of the other flags moved under -Wall, or perhaps under a
> > new flag -Wstrict.
>
> I strongly disagree.
>
> I much prefer individual control of warning flags.

I think by "moved under -Wall," he meant, "included under -Wall but also left
as individual flags, " the same way all of the other -Wall flags are now.
(If I'm wrong, speak up.)

More stuff under -Wall or -Wall-no-dammit-i-really-mean-ALL would sit well
with me.  I also end up passing a lot of -W* flags, but I usually use an
ancilliary specs file to do that (and no more; other flags go in makefiles).


> I guess -Wall is OK, provided only that the default settings provided by -Wall
> can then be modified by additional -W- and -Wno- arguments.

That's the way it's always been; I don't think anybody would want it
differently.


Phil



More information about the Gcc-bugs mailing list