https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100524
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.org --- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to David Malcolm from comment #1) > Firstly, what you wrote in comment #0 has the directive transposed as: > #pragma diagnostic GCC [...action...] > whereas the directive should be: > #pragma GCC diagnostic [...action...] Maybe that itself should be a warning? Does -Wpragmas have anything to say?