[Bug driver/84440] unrecognized command line option '-Wno-format-invalid-specifier'

stsp at users dot sourceforge.net gcc-bugzilla@gcc.gnu.org
Mon Jan 20 22:07:12 GMT 2025


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

--- Comment #3 from Stas Sergeev <stsp at users dot sourceforge.net> ---
Yes, this warning:

warning: unknown conversion type character 'P' in format [-Wformat=]

can be suppressed with -Wno-format,
but it seems to suppress the entire
format checking. I only need to suppress
"unknown conversion type character"
and not all the rest.
-Wno-format-invalid-specifier in clang
does exactly this, so why not to stay
compatible?


More information about the Gcc-bugs mailing list