public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/29711]  New: error_print produces useless error message for LANG != C
@ 2006-11-04 13:28 burnus at gcc dot gnu dot org
  2006-11-04 13:28 ` [Bug fortran/29711] " burnus at gcc dot gnu dot org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: burnus at gcc dot gnu dot org @ 2006-11-04 13:28 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 985 bytes --]

error_print parses the error message and replaces %L and %C by the special
string.

However, this clashes with translations, if the order of arguments is changed:

>From gcc/po/de.po:
#: fortran/module.c:3369
#, no-c-format
msgid "Symbol '%s' referenced at %L not found in module '%s'"
msgstr "Bei %2$L referenziertes Symbol »%1$s« nicht im Modul »%3$s« gefunden"

Here, the order of %s and %L is changed. The result at runtime is:

Fehler: Bei $L referenziertes Symbol »$s« nicht im Modul »$s« gefunden

Which renders the error message useless.


-- 
           Summary: error_print produces useless error message for LANG != C
           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=29711


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2006-12-11 20:58 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-04 13:28 [Bug fortran/29711] New: error_print produces useless error message for LANG != C burnus at gcc dot gnu dot org
2006-11-04 13:28 ` [Bug fortran/29711] " burnus at gcc dot gnu dot org
2006-11-04 17:22 ` [Bug fortran/29711] error_print does not support %N$X pinskia at gcc dot gnu dot org
2006-11-14 10:39 ` fxcoudert at gcc dot gnu dot org
2006-11-14 16:44 ` fxcoudert at gcc dot gnu dot org
2006-11-14 16:45 ` fxcoudert at gcc dot gnu dot org
2006-11-14 17:16 ` burnus at gcc dot gnu dot org
2006-11-19 18:19 ` burnus at gcc dot gnu dot org
2006-11-25 16:57 ` fxcoudert at gcc dot gnu dot org
2006-11-25 17:00 ` [Bug fortran/29711] [4.2 only] " fxcoudert at gcc dot gnu dot org
2006-12-06 20:14 ` burnus at gcc dot gnu dot org
2006-12-06 22:59 ` burnus at gcc dot gnu dot org
2006-12-07  0:06 ` patchapp at dberlin dot org
2006-12-07  9:16 ` burnus at gcc dot gnu dot org
2006-12-11 20:58 ` fxcoudert at gcc dot gnu dot org
2006-12-11 20:58 ` fxcoudert at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).