This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/54433] bogus -Wmissing-format-attribute warnings when "first to check" is wrong
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Jul 2017 17:36:16 +0000
- Subject: [Bug c/54433] bogus -Wmissing-format-attribute warnings when "first to check" is wrong
- Auto-submitted: auto-generated
- References: <bug-54433-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54433
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |egallager at gcc dot gnu.org
Known to work| |8.0
Resolution|--- |FIXED
Known to fail| |4.3.6, 4.7.0
--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
I can't reproduce this bug; neither of these produce any warnings for me:
$ /usr/local/bin/gcc -c -Wmissing-format-attribute 54433.c
$ /usr/local/bin/gcc -c -Wall -Wformat=2 -Wextra -Wunused
-Wmissing-format-attribute 54433.c
$
Assuming it was fixed.