This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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]

Re: RFA: next gettextization step


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."


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