This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/59325] Provide a way to disable deprecated warnings
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 28 Nov 2013 12:23:53 +0000
- Subject: [Bug libstdc++/59325] Provide a way to disable deprecated warnings
- Auto-submitted: auto-generated
- References: <bug-59325-4 at http dot gcc dot gnu dot org/bugzilla/>
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.