This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/8774: g++ crash with french localisation
- From: pommier at gmm dot insa-tlse dot fr
- To: gcc-gnats at gcc dot gnu dot org
- Date: 1 Dec 2002 20:08:14 -0000
- Subject: c++/8774: g++ crash with french localisation
- Reply-to: pommier at gmm dot insa-tlse dot fr
>Number: 8774
>Category: c++
>Synopsis: g++ crash with french localisation
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 01 12:16:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: julien pommier
>Release: gcc 3.2.1
>Organization:
>Environment:
LANG=fr_FR
>Description:
g++ is crashing when printing error messages from fr.po (no crash when LANG=C):
test_assembly.C: Dans function « int main() »:
test_assembly.C:593: no match pour l'opérateur «
erreur interne de compilateur: erreur pour rapporter une routine ré-entée
SVP soumettre un rapport complet d'anomalies,
avec le source pré-traité si cela est approprié.
Its looks like it is a bad format character in the translated string which causes the crash.
>How-To-Repeat:
>Fix:
I guess it is coming from here:
fr.po, row 13127:
#: cp/call.c:2845
msgid "%s for `%s %T' operator"
msgstr "%s pour l'opérateur «%t [%T]»"
should be replaced by
msgstr "%s pour l'opérateur «%s [%T]»"
>Release-Note:
>Audit-Trail:
>Unformatted: