This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Rename -W to -Wextra ?
- From: Joe Buck <jbuck at synopsys dot com>
- To: wheeler at crd dot ge dot com ("Wheeler, Fred (Research)")
- Cc: gcc at gcc dot gnu dot org ('gcc list'), fjh at cs dot mu dot OZ dot AU (Fergus Henderson), mrs at windriver dot com (Mike Stump), phil at jaj dot com (Phil Edwards)
- Date: Fri, 1 Nov 2002 11:05:00 -0800 (PST)
- Subject: Re: Rename -W to -Wextra ?
> Another issue is how to handle -W options that take an "argument". I
> would propose including options such as -Wid-clash-8 and
> -Wlarger-than-256 in the -Wallall option, with some guess at a popular
> setting. The setting could then be changed after using the -Wallall
> option by explicitly using the -Wid-clash-N or -Wlarger-than-N option.
Oh, yuk. You're just back to the same issue that we have with -Wall.
By the options we are choosing in -Wall, we are implicitly telling people
how to program (since so many projects use -Wall). You'd be doing the
same if you pick argument values, and you're offering no rationale for
the values you pick.
At this point, I'd say that if you're serious, propose a patch.