Boost logo

Boost :

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

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. So I guess
you're hitting whatever the weakness is. Gcc 4.6 added pragmas for
pushing and popping warning state in a similar manner to Visual C++,
maybe they could be used (obviously won't work for older versions).

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