https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105444
Bug ID: 105444 Summary: Support for disabling all warnings Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: eyalroz1 at gmx dot com Target Milestone: --- At the moment, GCC supports: #pragma GCC diagnostic ignored "-Wwarning-name-here" to disable a specific kind of warning. This is nice and useful. However, sometimes one wants to disable many kinds of warnings, perhaps even warnings the author of the code was not aware of whose existence. It stands to reason that there should be something like: #pragma GCC diagnostic ignored all which would ignore all errors.