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]

Re: Warnings in the C++ Front-End and GCC in General


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>     |
+---------------------------------+


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