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 ?


Kaveh R Ghazi <ghazi@caip.rutgers.edu> writes:

> Adding -Wextra as an alias for -W is fine, but IMHO removing -W is not.
> Why invalidate people's Makefiles and configure scripts that have worked
> for a decade?  For the same reason, we should not issue a "deprecated"
> warning when using -W.

Well, I think it mostly depends on whether you see any utility in
recovering -W to mean what -Wall currently means.  If that's the long term
goal, -W needs to be deprecated and then removed entirely for a release or
two, IMO, before it changes functionality.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>


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