This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/71176] trunk/fixincludes/fixincl.c:162: bad % specifier
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 18 May 2016 19:42:41 +0000
- Subject: [Bug c/71176] trunk/fixincludes/fixincl.c:162: bad % specifier
- Auto-submitted: auto-generated
- References: <bug-71176-4 at http dot gcc dot gnu dot org/bugzilla/>
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.