public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/107834] New: #pragma GCC diagnostic ignored "-Wno-psabi" doe not work
@ 2022-11-23 13:26 shihyente at hotmail dot com
  2022-11-23 13:37 ` [Bug c++/107834] " jakub at gcc dot gnu.org
  2022-11-23 14:38 ` shihyente at hotmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: shihyente at hotmail dot com @ 2022-11-23 13:26 UTC (permalink / raw)
  To: gcc-bugs

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.

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

* [Bug c++/107834] #pragma GCC diagnostic ignored "-Wno-psabi" doe not work
  2022-11-23 13:26 [Bug c++/107834] New: #pragma GCC diagnostic ignored "-Wno-psabi" doe not work shihyente at hotmail dot com
@ 2022-11-23 13:37 ` jakub at gcc dot gnu.org
  2022-11-23 14:38 ` shihyente at hotmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-11-23 13:37 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That is because you should be using
#pragma GCC diagnostic ignored "-Wpsabi"
instead.

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

* [Bug c++/107834] #pragma GCC diagnostic ignored "-Wno-psabi" doe not work
  2022-11-23 13:26 [Bug c++/107834] New: #pragma GCC diagnostic ignored "-Wno-psabi" doe not work shihyente at hotmail dot com
  2022-11-23 13:37 ` [Bug c++/107834] " jakub at gcc dot gnu.org
@ 2022-11-23 14:38 ` shihyente at hotmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: shihyente at hotmail dot com @ 2022-11-23 14:38 UTC (permalink / raw)
  To: gcc-bugs

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

SHIH YEN-TE <shihyente at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from SHIH YEN-TE <shihyente at hotmail dot com> ---
Oops! Sorry, my bad!

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

end of thread, other threads:[~2022-11-23 14:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-23 13:26 [Bug c++/107834] New: #pragma GCC diagnostic ignored "-Wno-psabi" doe not work shihyente at hotmail dot com
2022-11-23 13:37 ` [Bug c++/107834] " jakub at gcc dot gnu.org
2022-11-23 14:38 ` shihyente at hotmail dot com

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).