public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/105444] New: Support for disabling all warnings
@ 2022-04-30 21:39 eyalroz1 at gmx dot com
  2022-05-02  6:55 ` [Bug c/105444] " rguenth at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: eyalroz1 at gmx dot com @ 2022-04-30 21:39 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c/105444] Support for disabling all warnings
  2022-04-30 21:39 [Bug preprocessor/105444] New: Support for disabling all warnings eyalroz1 at gmx dot com
@ 2022-05-02  6:55 ` rguenth at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-02  6:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105444

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
            Version|unknown                     |12.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-02  6:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-30 21:39 [Bug preprocessor/105444] New: Support for disabling all warnings eyalroz1 at gmx dot com
2022-05-02  6:55 ` [Bug c/105444] " rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).