Boost logo

Boost :

Subject: Re: [boost] [exception] warning about non-virtual destructor - resolution?
From: Daniel James (dnljms_at_[hidden])
Date: 2012-04-14 12:31:54


On 14 April 2012 16:43, Mathias Gaunard <mathias.gaunard_at_[hidden]> wrote:
> On 14/04/12 17:18, Daniel James wrote:
>>
>> A better tactic would be to help him reproduce the warning. It looks
>> like he's using '#pragma GCC system_header' which IIRC is an imperfect
>> warning suppression mechanism - although I forget why.
>
> All preprocessor-based warning suppression mechanisms do not work with
> warnings generated when templates are instantiated.

Apart from being wrong, that doesn't reproduce the warning. Why don't
you try writing a code sample to demonstrate the problem? And then
describe your exact setup (version, platform, compiler, command line
etc.).


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