Rename -W to -Wextra ?

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Mon Jun 3 20:02:00 GMT 2002


 > From: Russ Allbery <rra at stanford dot edu> 
 > 
 > 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.

I think changing -W to mean something different is an even worse idea
than eliminating it. :-(

--
Kaveh R. Ghazi			Director of Systems Architecture
ghazi@caip.rutgers.edu		Qwest Solutions



More information about the Gcc mailing list