Warnings in the C++ Front-End and GCC in General
Martin Knoblauch
knobi@knobisoft.de
Wed Sep 9 16:53:00 GMT 1998
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> |
+---------------------------------+
More information about the Gcc
mailing list