gcc warning
Keith Bostic
bostic@bostic.com
Fri Jan 23 14:48:00 GMT 1998
I apologize if anyone sees this more than once; I sent email
to bug-gnu-utils originally, and was later told that bug-gcc
and egcs were the right places to mail.
That said, I'm getting a warning using gcc 2.8.0:
cc1plus: warning: -fhandle-exceptions
has been renamed to -fexceptions (and is now on by default)
I'd like to convince the gcc maintainers that this message
should go away.
First, the compiler is announcing that it's going to do exactly
what you want, which isn't helpful. I can't think of any purpose
that is served by this message, other than to clean up Makefiles.
Since it makes no sense for the compiler to reuse the flag name
with a different meaning, that clean up is of minimal value. (Who
cares if the flag stays in the Makefile?)
And, the result of the message is that I'm getting bug reports
because of warnings suddenly appearing in code that had compiled
cleanly for years. The only workaround available to me is to
modify the autoconf scripts to detect the version of gcc, which
isn't fun.
I could understand the warning if there was a corrective action
code maintainers needed to take, but that's not the case here.
--keith
More information about the Gcc
mailing list