public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/60149] New: Message with percent character incorrectly marked c-format
@ 2014-02-11 16:22 goeran at uddeborg dot se
  0 siblings, 0 replies; only message in thread
From: goeran at uddeborg dot se @ 2014-02-11 16:22 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-02-11 16:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-11 16:22 [Bug c/60149] New: Message with percent character incorrectly marked c-format goeran at uddeborg dot se

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).