Boost logo

Boost :

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


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

> "AlisdairM" <alisdair.meredith_at_[hidden]> escribió en el mensaje
> news:d9pfcd$pc8$1_at_sea.gmane.org...
>> Fernando Cacciola wrote:
>>
>>> [SNIPPED]
>>> Isn't 0x564 the version macro number for this compiler?
>>>
>>> Any ideas?
>>
>> That is the correct version number, but shouldn't the test be
>>
>> BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x564) )
>>
> IIUC that produces the workaround to be activated even for earlier versions
> of the Borland compiler,
> but 5.5.1 in particular handles the code very well (in fact, I developed the
> library in that compiler).

Really? How sad for Borland!

Well,

  BOOST_WORKAROUND(__BORLANDC__, > 0x551)
  && BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x564) )

Looks like what you need, then.

-- 
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