Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-06-27 15:16:42


"Fernando Cacciola" <fernando_cacciola_at_[hidden]> writes:

> Hi,
>
> According the a recent status report, consersion/cast_test.cpp is still
> failing for Borland 5.6.4
> The report details shows that the implementation is not being redirected to
> the old code, as it should for this compiler, even though this line:
>
> #if BOOST_WORKAROUND(BOOST_MSVC, < 1300) || BOOST_WORKAROUND(__BORLANDC__,
> == 0x564)
>
> # include<boost/numeric/conversion/detail/old_numeric_cast.hpp>
>
> #else
>
> is supposed to do that?

Yes. I'm sure the report is just out-of-date.

But why are you testing for the exact version 0x564? I'm sure 5.5.1
is also broken. Do you know that 5.6.5 (or whatever) won't also be
broken? If not, you want

       BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))

Didn't I already post something about that a couple days ago?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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