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

npl at chello dot at gcc-bugzilla@gcc.gnu.org
Thu Jun 9 20:47:00 GMT 2016


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

npl at chello dot at changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |npl at chello dot at

--- Comment #9 from npl at chello dot at ---
I am using gcc 6.1 and I have the same problem with disabling -Wpsabi


echo '#pragma GCC diagnostic ignored "-Wpsabi"' >test.c
gcc -c test.c


test.c:1:32: warning: '-Wpsabi' is not an option that controls warnings
[-Wpragmas]
 #pragma GCC diagnostic ignored "-Wpsabi"
                                ^~~~~~~~~


More information about the Gcc-bugs mailing list