This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Rename -W to -Wextra ?
Phil Edwards wrote:-
> On Mon, Jun 03, 2002 at 11:52:28AM +0100, Joseph S. Myers wrote:
> > On Mon, 3 Jun 2002, Phil Edwards wrote:
> >
> > > (I've been finding all the things that -W controls right now, and will
> > > update the manual. I'll probably need some help coming up with example
> > > code that triggers the warning.)
> >
> > Can you split -W into separate options for the separate things it
> > controls, the way -Wall is just the union of such separate options?
>
> Well, I /can/, but I don't think it's a good idea. Do we really want that
> many new -W* options?
I don't think we do either; we've already got more than enough.
What we really need is a way to turn off warnings at an area of
code, though getting agreement on how to do that appears to be
the issue.
Neil.