Boost logo

Boost :

From: Jonathan Wakely (cow_at_[hidden])
Date: 2005-08-25 11:31:31


Andreas Huber wrote:

> I'm at least reluctant to do that. Given the abundance of platforms that
> support C++ we can never be sure that there is not one where performance
> will suffer significantly when the dtors are made virtual. From the 3
> compilers I use GCC is the only one that a) has such a non-virtual dtor
> warning *and* b) doesn't have a pragma to turn off warnings. Hopefully,
> the latter will soon be taken care of...

GCC does have -Wno-non-virtual-dtor to disable the warning.

There's also a project underway to enable much finer-grained control
of warnings.

jon


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