This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/41636] New: lto-elf.c i18n problems
- From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Oct 2009 22:09:01 -0000
- Subject: [Bug lto/41636] New: lto-elf.c i18n problems
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The macros in lto-elf.c with diagnostics
fatal_error ("elf"#BITS"_getshdr() failed: %s", elf_errmsg (-1));\
fatal_error ("elf"#BITS"_newehdr() failed: %s", elf_errmsg (-1));\
are not i18n-friendly; only the "elf" bit gets extracted for translation
to gcc.pot.
The code should explicitly say something like
if (BITS == 32)
fatal_error (...);
else
fatal_error (...);
so that both messages are explicitly in the source and can be extracted
for gcc.pot and translated.
--
Summary: lto-elf.c i18n problems
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jsm28 at gcc dot gnu dot org
OtherBugsDependingO 40883
nThis:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41636