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]

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


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.


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