This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/7755: Please make -Wno-deprecated do just that
- From: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
- To: "H. Peter Anvin" <hpa at zytor dot com>
- Cc: gcc-bugs at gcc dot gnu dot org, <gcc-gnats at gcc dot gnu dot org>
- Date: Wed, 8 Jan 2003 14:48:05 -0600 (CST)
- Subject: Re: c++/7755: Please make -Wno-deprecated do just that
> If -Wno-deprecated is not the right way to disable this warning, then
> please do provide another flag to do so. Not being able to selectively
> squelsh this warning is a total showstopper for being able to use newer
> gcc's for several projects.
But if the deprecated feature is removed in the next version of gcc,
you're not much better off, either: your code simply needs to be fixed,
and given the example you showed this is actually not so difficult.
That does not mean that I'm not in favor of implementing such a warning,
but I guess few people feel incited to invent a switch for old branches
where newer versions will not allow the feature warned for anyway.
Regards
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth/