This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

NLS and cpplib



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.  

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