Subject: Re: [boost] [exception] warning about non-virtual destructor - resolution?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-04-18 06:00:22
On 18/04/12 00:20, Emil Dotchevski wrote:
> On Tue, Apr 17, 2012 at 1:34 PM, Daniel James<dnljms_at_[hidden]> wrote:
>> On 17 April 2012 08:22, Daniel James<dnljms_at_[hidden]> wrote:
>>> Clang apparently has the same warning, although I'm still using 2.9,
>>> which doesn't.
>> I've installed clang 3.1, and based on simple testing, it has the same
>> behaviour as gcc 4.7.
> Can I see a command line and a complete cpp file that triggers the warning?
You've already been given the example where including checked_delete
before exception_ptr is enough to generate the warning.
It has also been pointed out that if you're not getting the warning,
you're probably not using a real gcc 4.7.0.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk