NLS and cpplib

Philipp Thomas pthomas@suse.de
Fri Mar 3 07:24:00 GMT 2000


Zack,
I just noticed that cppinit contains a few direct calls to gettext. At least
according to ABOUT-GCC-NLS, code should not directly call gettext but rather
pass such messages to a central function that then calls gettext.

Question is, if we should still addhere to that. If yes, I'd volunteer to do
the work, i.e. write a simple err_print() that simply uses vfprintf to print
the translated message to stderr. That way you also get gcc's warning about
not checking arguments only once.

Philipp

-- 
Philipp Thomas <pthomas@suse.de>
SuSE GmbH, Deutschherrenstrasse 15-29, 90429 Nuremberg

The only difference between a bug and a feature is you can turn a feature off.  


More information about the Gcc mailing list