[Bug c++/103758] bogus warning: misspelled term 'decl' in format; use 'declaration' instead [-Wformat-diag]
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 5 08:48:34 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103758
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Btw. can we remove the last 3 remaining warnings for x86_64 and enabled
-Werror=format-diag (at least for bootstrap on x86_64):
/home/marxin/Programming/gcc/gcc/c-family/c-pragma.c:774:60: warning: unquoted
identifier or keyword ‘ignored_attributes’ in format [-Wformat-diag]
/home/marxin/Programming/gcc/gcc/c-family/c-pragma.c:833:61: warning: unquoted
identifier or keyword ‘ignored_attributes’ in format [-Wformat-diag]
/home/marxin/Programming/gcc/gcc/gimple-ssa-warn-access.cc:2844:30: warning:
quoted ‘%s’ directive in format; use ‘%qs’ instead [-Wformat-diag]
We've got -Wformat-diag for quite some time, but we haven't enabled -Werror for
it yet.
More information about the Gcc-bugs
mailing list