This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34729] New: Localization of run-time error messages, written into the executable
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jan 2008 14:46:38 -0000
- Subject: [Bug fortran/34729] New: Localization of run-time error messages, written into the executable
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I saw that gfortran writes (at least sometimes) a localized run-time error
message:
_gfortran_runtime_error (&"Attempt to allocate a negative amount of
memory."[1]{lb: 1 sz: 1});
_gfortran_os_error (&"Memory allocation failed"[1]{lb: 1 sz: 1});
becomes then (LANG=de_DE.UTF-8):
_gfortran_runtime_error (&"Versuch, einen negativen Betrag von Speicher zu
r"[1]{lb: 1 sz: 1});
_gfortran_os_error (&"Speicherreservierung gesc"[1]{lb: 1 sz: 1});
The first string should be:
"Versuch, einen negativen Betrag von Speicher zu reservieren."
and the second
"Speicherreservierung gescheitert"
one sees that the strings are truncated.
Expected:
Either the localized message should not be truncated - or the English version
of the string should be used throughout.
--
Summary: Localization of run-time error messages, written into
the executable
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34729