https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103141
--- Comment #3 from Noah Andrews <noah at revrobotics dot com> --- (In reply to Andrew Pinski from comment #2) > you want: > #pragma GCC diagnostic ignored "-Wdeprecated-declarations" > > Not the no- version That's correct, thank you!