Subject: Re: [boost] [exception] warning about non-virtual destructor - resolution?
From: Daniel James (dnljms_at_[hidden])
Date: 2012-04-17 03:22:39


On 16 April 2012 20:01, Emil Dotchevski <emildotchevski_at_[hidden]> wrote:
> On Sun, Apr 15, 2012 at 12:55 PM, Daniel James <dnljms_at_[hidden]> wrote:
>>
>> 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
>>
>
> Compiling this with g++ 4.7 on Windows produces no console output with the
> following command line:
>
> g++ -c -Wall demo.cpp

Where did you install g++ from? And can you try running 'g++
--version'? If you let me know I'll try it later.

Clang apparently has the same warning, although I'm still using 2.9,
which doesn't.