Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-12-15 09:53:43


"David Abrahams" <dave_at_[hidden]> wrote in message
news:87fybh1dvj.fsf_-__at_pereiro.luannocracy.com...
> Roland Schwarz <roland.schwarz_at_[hidden]> writes:
>
>> Replacing:
>>
>> BOOST_CHECK_EQUAL(a,b)
>>
>> by
>>
>> BOOST_CHECK(a == b)
>>
>> also makes the internal compiler error go away...
>
> Gennadiy, what do you think about
>
> #define BOOST_CHECK_EQUAL(a,b) BOOST_CHECK((a) == (b))
>
> for this compiler?

We could do this #if !defined(NDEBUG) && BOOST_WORKAROUND(BOOST_MSVC,<=1200)

Gennadiy


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