Rename -W to -Wextra ?
David O'Brien
obrien@NUXI.com
Fri Jun 21 21:45:00 GMT 2002
On Mon, Jun 03, 2002 at 10:13:46AM -0400, Kaveh R. Ghazi wrote:
> 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.
I'd *LOVE* to see a GNU autoconf script that is 10 years old that still
works with GCC 3.1.
Our experiences with GCC 3.1 in FreeBSD on 8000 3rd party apps shows just
how much 10 year old code will not compile with GCC. Don't _even_
mention 10 year old C++ code -- don't even try. In fact all the new
bitching about: changing search order for system directory "/usr/include"
breaks *TONS* of GNU autoconf scripts that add -I/usr/include willy
nilly.
I really don't think there is any need to worry about the thing you are
worrying about.
More information about the Gcc
mailing list