Rename -W to -Wextra ?
Joe Buck
jbuck@synopsys.com
Fri Nov 1 11:05:00 GMT 2002
> 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.
More information about the Gcc
mailing list