Boost logo

Boost :

Subject: Re: [boost] [exception] gcc 4.7 non-virtual destructor warning
From: Beman Dawes (bdawes_at_[hidden])
Date: 2012-06-20 20:07:51


On Wed, Jun 20, 2012 at 2:27 AM, Emil Dotchevski
<emildotchevski_at_[hidden]> wrote:
> On Tue, Jun 19, 2012 at 10:40 PM, Daniel Larimer <dlarimer_at_[hidden]> wrote:
>
>> /usr/local/include/boost/checked_delete.hpp:34:5: warning: deleting object
>> of polymorphic class type
>> 'boost::error_info<boost::tag_original_exception_type, const
>> std::type_info*>' which has non-virtual destructor might cause undefined
>> behaviour [-Wdelete-non-virtual-dtor]
>>
>
> Please check with the current trunk revision, I've made the destructor
> virtual as a workaround for this warning. It'll get merged into the release
> branch soon, with a few other minor changes.

The schedule calls for starting to build the 1.50.0 tomorrow, so
please merge right away if you think the fix is ready.

--Beman


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