This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __attribute__ ((deprecated))
- To: Anthony Green <green at redhat dot com>
- Subject: Re: __attribute__ ((deprecated))
- From: Philipp Thomas <pthomas at suse dot de>
- Date: Tue, 24 Apr 2001 12:52:40 +0200
- Cc: shebs at apple dot com, gcc at gcc dot gnu dot org
- References: <rl1yqj3pv2.fsf@fencer.cygnus.com>
* Anthony Green (green@redhat.com) [20010424 06:05]:
> This looks cool, but how would this work with localized compilers?
With the compiler it wouldn't be such a problem. Mark the message with N_()
(which would mark it as translatable string and thus it would appear in
gcc.pot) and have the compiler call gettext.
The only problem would be the linker message, as the linker would only
output the english message. But IMO we could live with that, coudn't we?
Philipp
--
Penguins shall save the dinosaurs
-- Handelsblatt about Linux on S/390