Boost logo

Boost Users :

Subject: Re: [Boost-users] [test] Malloc exceptions when using test framework on 64bit OS X 10.6.1
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-10-14 00:36:35


Peter Soetens wrote:
>> As Gennadiy has already said, the fact that making the destructor
>> virtual fixes the problem is an artifact of the way that compilers
>> implement virtual destructors.
>
> Great! I can point to 10000 lines of code in Boost that accommodate
> for compiler quirks, especially for MSVS and Borland compilers. So for
> once, do the GNU people the same honor and fix this single line of
> code for our automated testing happiness.
>
> I don't see any reason here why it shouldn't be fixed for the GNU
> compiler, giving the portability/non-discriminality that Boost claims
> to have over all compilers.
>
> Just #ifdef the virtual around the destructor for GNU compilers and we
> can all happily carry on.

Not sure I follow what the fuss is about. The fix already checked in.
And it does not require ifdef.

Gennadiy


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net