C++ PATCH for c++/8316, 9315, 10136
Gabriel Dos Reis
gdr@integrable-solutions.net
Wed Mar 19 23:41:00 GMT 2003
Geoff Keating <geoffk@geoffk.org> writes:
| > Cc: gcc-patches@gcc.gnu.org
| > From: Jason Merrill <jason@redhat.com>
| > Date: Wed, 19 Mar 2003 16:36:51 -0500
| > User-Agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.2 (i686-pc-linux-gnu)
| > X-OriginalArrivalTime: 19 Mar 2003 21:37:57.0194 (UTC) FILETIME=[CE66C2A0:01C2EE5F]
| >
| > On 19 Mar 2003 12:16:24 -0800, Geoff Keating <geoffk@geoffk.org> wrote:
| >
| > >> ! print_z_candidate ("ISO C++ says that ", w, pedwarn);
| > >> ! print_z_candidate (" and ", l, pedwarn);
| > >
| > > You need to do something here to make this internationalize properly.
| >
| > How so? I don't know how the existing internationalization works.
|
| I think you want to write
|
| print_z_candidate (_("ISO C++ says that "), w, pedwarn);
| print_z_candidate (_(" and "), l, pedwarn);
Well, the diagnostic machinery (error, warning, ...) already applies
"_" (aka gettext), therefore I think there is no need to put it here.
-- Gaby
More information about the Gcc-patches
mailing list