This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: next gettextization step
- From: Andreas Schwab <schwab at suse dot de>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 25 Jun 2002 10:26:41 +0200
- Subject: Re: RFA: next gettextization step
- References: <877kkqq6y8.fsf@fleche.redhat.com> <3D17D445.9080308@cygnus.com>
Andrew Cagney <ac131313@cygnus.com> writes:
|> > - fprintf_unfiltered (gdb_stderr, "%s: unable to load tclcommand file \"%s\"",
|> > + fprintf_unfiltered (gdb_stderr, _("%s: unable to load tclcommand file \"%s\""),
|> > argv[0], optarg);
|> > exit (1);
|> BTW, what effect does this have on -Werror -Wprintf? Does GCC have magic
|> telling it to look through the gettext()?
Yes, through the format_arg attribute, which gettext has by default.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."