https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107834
Bug ID: 107834 Summary: #pragma GCC diagnostic ignored "-Wno-psabi" doe not work Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: shihyente at hotmail dot com Target Milestone: --- Code: #pragma GCC diagnostic ignored "-Wno-psabi" Output: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 1 | #pragma GCC diagnostic ignored "-Wno-psabi" Thanks.