|
Boost : |
Subject: Re: [boost] [exception] warning about non-virtual destructor - resolution?
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-04-17 19:16:31
Le 18/04/12 00:44, Emil Dotchevski a écrit :
> On Tue, Apr 17, 2012 at 3:36 PM, Daniel James<dnljms_at_[hidden]> wrote:
>
>> On 17 April 2012 23:20, Emil Dotchevski<emildotchevski_at_[hidden]> 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?
>>
>> Same as before but with clang-mp-3.1 instead of g++-mp-4.7.
>>
> Look, I don't know what "before" means. Why don't you file a trac ticket
> with all the relevant information, and I'll make sure it's taken care of.
> Exact cpp file, OS, compiler version.
>
Hi,
Daniel posted one two days ago
demo.cpp:
#include<boost/checked_delete.hpp>
#include<boost/exception_ptr.hpp>
Compiled with:
g++-mp-4.7 -c -Wall -I $BOOST_ROOT demo.cpp
Best,
Vicente
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk