c++/7755: Please make -Wno-deprecated do just that
Wolfgang Bangerth
bangerth@ticam.utexas.edu
Wed Jan 8 20:56:00 GMT 2003
The following reply was made to PR c++/7755; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: gcc-bugs@gcc.gnu.org, <gcc-gnats@gcc.gnu.org>
Subject: Re: c++/7755: Please make -Wno-deprecated do just that
Date: Wed, 8 Jan 2003 14:48:05 -0600 (CST)
> 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/
More information about the Gcc-prs
mailing list