This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]