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.