public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "burnus at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/29711]  New: error_print produces useless error message for LANG != C
Date: Sat, 04 Nov 2006 13:28:00 -0000	[thread overview]
Message-ID: <bug-29711-13404@http.gcc.gnu.org/bugzilla/> (raw)

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


             reply	other threads:[~2006-11-04 13:28 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-04 13:28 burnus at gcc dot gnu dot org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-29711-13404@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).