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]

[Bug c++/40892] New: maybe_warn_cpp0x i18n problems


cp/error.c:maybe_warn_cpp0x takes a string that is an English language
fragment and inserts it into a sentence for a diagnostic; the string in
question is neither translated nor extracted for gcc.pot.  Whole sentences
should be used for diagnostics; either pass an enum to this function
rather than an English fragment and have a switch statement with appropriate
pedwarn calls, or pass the complete diagnostic text to this function and
name the parameter appropriately so that the string is extracted for
translation.


-- 
           Summary: maybe_warn_cpp0x i18n problems
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jsm28 at gcc dot gnu dot org
OtherBugsDependingO 40883
             nThis:


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


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