public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/31665]  New: %s substituted with "built-in"/"library" can't be properly translated
@ 2007-04-23 13:52 goeran at uddeborg dot se
  2009-12-18  8:51 ` [Bug c++/31665] " pzhao at gcc dot gnu dot org
  2009-12-18  9:36 ` paolo dot carlini at oracle dot com
  0 siblings, 2 replies; 3+ messages in thread
From: goeran at uddeborg dot se @ 2007-04-23 13:52 UTC (permalink / raw)
  To: gcc-bugs

In cp/decl.c there is this code

              warning (OPT_Wshadow, "shadowing %s function %q#D",
                       DECL_BUILT_IN (olddecl) ? "built-in" : "library",
                       olddecl);

The strings substituted for the first %s are not available for translation, so
this can not be properly translated.  Even if they were, composing a sentence
like this is not in general possible to do for an arbitrary language.


-- 
           Summary: %s substituted with "built-in"/"library" can't be
                    properly translated
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: goeran at uddeborg dot se


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31665


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

* [Bug c++/31665] %s substituted with "built-in"/"library" can't be properly translated
  2007-04-23 13:52 [Bug c++/31665] New: %s substituted with "built-in"/"library" can't be properly translated goeran at uddeborg dot se
@ 2009-12-18  8:51 ` pzhao at gcc dot gnu dot org
  2009-12-18  9:36 ` paolo dot carlini at oracle dot com
  1 sibling, 0 replies; 3+ messages in thread
From: pzhao at gcc dot gnu dot org @ 2009-12-18  8:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pzhao at gcc dot gnu dot org  2009-12-18 08:50 -------
Subject: Bug 31665

Author: pzhao
Date: Fri Dec 18 08:50:24 2009
New Revision: 155340

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155340
Log:
cp/
2009-12-16  Shujing Zhao  <pearly.zhao@oracle.com>

        PR c++/31665
        * decl.c (duplicate_decls, grokdeclarator): Put the
        diagnostics in full sentences for easy translation and wrapped into
        G_().
        * typeck.c (build_x_unary_op): Likewise.

testsuite/
2009-12-16  Shujing Zhao  <pearly.zhao@oracle.com>

        * g++.old-deja/g++.brendan/misc6.C: Make expected dg-error strings
        explicit.


Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/misc6.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31665


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

* [Bug c++/31665] %s substituted with "built-in"/"library" can't be properly translated
  2007-04-23 13:52 [Bug c++/31665] New: %s substituted with "built-in"/"library" can't be properly translated goeran at uddeborg dot se
  2009-12-18  8:51 ` [Bug c++/31665] " pzhao at gcc dot gnu dot org
@ 2009-12-18  9:36 ` paolo dot carlini at oracle dot com
  1 sibling, 0 replies; 3+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-12-18  9:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from paolo dot carlini at oracle dot com  2009-12-18 09:35 -------
Fixed.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31665


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

end of thread, other threads:[~2009-12-18  9:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-23 13:52 [Bug c++/31665] New: %s substituted with "built-in"/"library" can't be properly translated goeran at uddeborg dot se
2009-12-18  8:51 ` [Bug c++/31665] " pzhao at gcc dot gnu dot org
2009-12-18  9:36 ` paolo dot carlini at oracle dot com

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).