This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/54433] bogus -Wmissing-format-attribute warnings when "first to check" is wrong


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]