Subject: Re: [boost] Tests are a mess
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2008-09-10 02:36:28
Emil Dotchevski wrote:
>> On Tue, Sep 9, 2008 at 10:59 AM, Gubenko, Boris
>> <boris.gubenko_at_[hidden]> wrote:
>>> Emil Dotchevski wrote:
>>>> Any ideas what might be causing this link error?
>>> No idea. I'll investigate and get back to you.
>> Peter Dimov advises me that the problem could go away if the
>> boost::exception::~exception() destructor from
>> is not pure virtual.
I believe I've seen something similar. I think you can work around this by
providing an inlined, empty, body for the pure virtual dtor. Just make sure
that this no-op dtor is defined _outside_ the class declaration, e.g.:
virtual ~foo() = 0;
Apologies if this is not applicable to your problem; I haven't read through
all of the posts.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk