Boost logo

Boost :

Subject: Re: [boost] [exception] warning about non-virtual destructor - resolution?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-04-14 11:43:01

On 14/04/12 17:18, Daniel James wrote:
> On 14 April 2012 14:00, Mathias Gaunard<mathias.gaunard_at_[hidden]> wrote:
>> Yes, basically, the author said he didn't care and it wasn't virtual by
>> design, and the compiler warning was bogus.
>> In the meantime, it's a major annoyance for all users of this library. I'm
>> hoping a sufficient amount of people can point it out to convince the author
>> to include the fix.
> 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.

Boost list run by bdawes at, gregod at, cpdaniel at, john at