[Bug libstdc++/59325] Provide a way to disable deprecated warnings

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 28 12:23:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59325

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Doing this before any other includes will work:

#include <bits/c++config>
#undef _GLIBCXX_DEPRECATED
#define _GLIBCXX_DEPRECATED

I'm not convinced we want to support this officially.



More information about the Gcc-bugs mailing list