Boost logo

Boost :

From: Frank Mori Hess (fmhess_at_[hidden])
Date: 2008-05-03 13:38:17


On Saturday 03 May 2008 13:01, Emil Dotchevski wrote:
> On Fri, May 2, 2008 at 10:25 PM, Ralf W. Grosse-Kunstleve
>
> <rwgk_at_[hidden]> wrote:
> > I see, in the meantime you've checked in destructors, but without
> > the virtual keyword. Therefore the warnings didn't go away. Is this
> > an oversight?
>
> No, I wasn't trying to remove the warnings.
>
> I believe that the correct way to remove this particular GCC warning
> is to use -Wno-non-virtual-dtor.

How about temporarily disabling the warning in your library code with a
pragma? See:

http://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html

-- 
Frank



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk