This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Why doesn't gcc.pot use gcc-internal-format?
- From: Jakub Jelinek <jakub at redhat dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>, Bruno Haible <bruno at clisp dot org>, Zack Weinberg <zack at codesourcery dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 17 May 2005 07:37:58 -0400
- Subject: Why doesn't gcc.pot use gcc-internal-format?
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
Bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21364
shows that it is very dangerous to not check format strings
in translations. No translation of a particular message is always
better than a bad translation that causes compiler crash.
Now, looking at gettext, it seems to support GCC internal
message format, although older one (3.3.x - it doesn't grok e.g. %J,
q, ll and w format flags, %<, %>, %').
exgettext would probably need to pass --flag options in $kopt
(not sure if that needs to be in addition to --keyword or in addition to).
Jakub