[Bug c++/40872] New: String not extracted for translation

goeran at uddeborg dot se gcc-bugzilla@gcc.gnu.org
Mon Jul 27 10:55:00 GMT 2009


On line 9382 of gcc/cp/decl.c there is this code

                error (funcdef_flag
                       ? "%qs defined in a non-class scope"
                       : "%qs declared in a non-class scope", name);

Normally the first argument of error will be extracted for translation. 
Apparently the extractor is not smart enough to extract both branches of this
conditional expression, so only the first ("defined") part is available for
translation.  The second version ("declared") is not included.


-- 
           Summary: String not extracted for translation
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: minor
          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=40872



More information about the Gcc-bugs mailing list