This is the mail archive of the gcc@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: 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.



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