[Bug c/71176] trunk/fixincludes/fixincl.c:162: bad % specifier

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 18 19:42:00 GMT 2016


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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |easyhack
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-05-18
                 CC|                            |manu at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
I wonder why GCC -Wformat does not catch this, since "static const char"
literals contents should be visible as formatting strings. In this case, it
doesn't even make sense to use a separate variable.


More information about the Gcc-bugs mailing list