This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Rename -W to -Wextra ?
> 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