[Bug c/68657] [6 Regression] "gcc -Werror=sign-conversion test.i" shows invalid: -Wsign-conversion is not an option that controls warnings

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 9 21:12:00 GMT 2016


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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #10 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to npl from comment #9)
> test.c:1:32: warning: '-Wpsabi' is not an option that controls warnings
> [-Wpragmas]
>  #pragma GCC diagnostic ignored "-Wpsabi"
>                                 ^~~~~~~~~

Same problem. It needs to add "Warning" to gcc/c-family/c.opt


More information about the Gcc-bugs mailing list