This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/40892] New: maybe_warn_cpp0x i18n problems
- From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jul 2009 15:37:06 -0000
- Subject: [Bug c++/40892] New: maybe_warn_cpp0x i18n problems
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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