This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
NLS and cpplib
- To: Zack Weinberg <zack at wolery dot cumb dot org>
- Subject: NLS and cpplib
- From: Philipp Thomas <pthomas at suse dot de>
- Date: Fri, 3 Mar 2000 16:23:53 +0100
- Cc: "Jeffrey A. Law" <law at cygnus dot com>, gcc at gcc dot gnu dot org
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.