On 11/2/05, Stephan Bergmann <[EMAIL PROTECTED]> wrote:

> Thus, we can either switch off -Wnon-virtual-dtor globally, or switch
> off *all* warnings from within idlc-generated headers (#pragma GCC
> system_header).  The second option is probably preferable, as
> -Wnon-virtual-dtor might point to real issues in other places of the
> code base, and it is unlikely that there would be other warnings from
> any idlc-generated header that we would thus suppress---the
> idlc-generated headers are pretty boiler-plate.

I like the second option.  So, +1 for using the pragma macro to
locally suppress the warning within hdl headers.  Because of the
severity of overlooking this warning, turning it off globally would be
IMO a very bad move.

Kohei

--
Kohei Yoshida
OpenOffice.org Calc contributor
http://kohei.us/ooo/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to