On Tue, 31 Jul 2012, Uros Bizjak wrote: > On Tue, Jul 31, 2012 at 11:20 AM, Uros Bizjak <ubiz...@gmail.com> wrote: > > > This patch removes all -Wmissing-format-attribute warnings on > > alphaev68-pc-linux-gnu native build. > > Ouch, I didn't notice that some of these strings may be a format > string with %< and %>, etc and should not be printed with "%s". Is > there a way to supress warning and also process strings in the right > way?
I've previously suggested adding functions such as error_no_args taking a format string that is checked to have only no-argument formats such as %< and %>. (Well, error_at_no_args would be better than adding more legacy functions using an implicit location.) -- Joseph S. Myers jos...@codesourcery.com