This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Warnings in the C++ Front-End and GCC in General
- To: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Subject: Re: Warnings in the C++ Front-End and GCC in General
- From: Per Bothner <bothner at cygnus dot com>
- Date: Tue, 08 Sep 1998 10:33:56 -0700
- cc: mark at markmitchell dot com, egcs at cygnus dot com
> Mark's facility is really for people who get hundreds of identical
> warnings, and want to shut up all of them.
Tell me again why this can't be done using sed, or an IDE
(Cygnus provides Foundry), or an Emacs compile mode tweak?
In any case, GNU has a standard framework (gettext?) for
internationalizing messages. Gcc is being converted to use
that. I think any error message catalog facility that does
not build on the existing GNU standards is just not in the
running. (You would have to convince a lot of people that
the existing framework is badly flawed, and you can provide
something better where the gains outweigh the pains.)
Instead, what we might consider is gettext extension so a user
can easily add a hook to suppress a specific message. This
would be a variant of the hooks to allow the user to control
message catalog, but using a special magic "translation" of
(for example) "<<suppress message>>".
--Per Bothner
Cygnus Solutions bothner@cygnus.com http://www.cygnus.com/~bothner