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: Craig Burley <burley at gnu dot org>
- Subject: Re: Warnings in the C++ Front-End and GCC in General
- From: Martin Knoblauch <knobi at knobisoft dot de>
- Date: Wed, 09 Sep 1998 19:10:45 +0200
- CC: mark at markmitchell dot com, egcs at cygnus dot com
- Organization: Knobisoft :-), Freising
- References: <199809091100.HAA21262@melange.gnu.org>
- Reply-To: knobi at knobisoft dot de
Craig Burley wrote:
>
> >#pragma gcc_warn_once (number)
>
> Why not
>
> #pragma gcc_warn_N (number, N)
>
> or, for that matter,
>
> #pragma gcc_warn_map (number, warn_0, warn_1, warn_2, ...)
>
Craig,
I love the options you propose. Just what we were
waiting for :-)
Seriously, you are of course right that we should not
overdo the proposed feature. On the other hand, a facility
to turn of single warning messages would be very useful.
Martin
--
+---------------------------------+
|Martin Knoblauch |
|---------------------------------|
|http://www.knobisoft.de |
+---------------------------------+
|e-mail: <knobi@knobisoft.de> |
+---------------------------------+