Boost logo

Boost :

Subject: Re: [boost] Official warnings policy?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-11-05 23:03:13


AMDG

Emil Dotchevski wrote:
> Q: Who would want to know that boost::exception_ptr's destructor is not virtual?
>
> A: Only someone who wants to build a polymorphic type hierarchy with
> boost::exception_ptr as a base, calling delete through a
> boost::exception_ptr base pointer.
>
> So, exception_ptr's destructor should be virtual to keep *that* guy
> out of trouble?
>

Emil, can you please silence the compiler somehow?
We seem to waste time arguing about it on a regular
basis. I've attached a patch that uses
#pragma GCC system_header

In Christ,
Steven Watanabe




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