This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/8774: g++ crash with french localisation


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]