http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60149

            Bug ID: 60149
           Summary: Message with percent character incorrectly marked
                    c-format
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: goeran at uddeborg dot se

In the po files for gcc 4.9 distributed through the Translation Project
recently there is a message like this:

#: params.def:417
#, c-format
msgid "Set the estimated probability in percentage for builtin expect. The
default value is 90% probability."

The "c-format" annotation makes the gettext tools believe that "% p" is a
conversion of a pointer with space as a flag.  This of course breaks in
translation.  The correct thing would be to avoid the c-format directive, but
I'm not sure how easy that is.

Reply via email to