http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59325
--- Comment #2 from andysem at mail dot ru --- (In reply to Jonathan Wakely from comment #1) > You can use a #pragma to disable -Wdeprecated locally But the legacy C++ is used in the library, which code I'd like to avoid changing.