Boost logo

Boost :

From: edjboost (edjboost_at_[hidden])
Date: 2002-02-25 00:24:48


  Here is a diff for the small changes required to get boost to work
with Broland C++ Builder 6.0. Would anyone with write access to the
repository care to apply the patch?
  Thanks!
  -edj

Index: borland.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/config/compiler/borland.hpp,v
retrieving revision 1.5
diff -r1.5 borland.hpp
11c11
< // Borland C++ Builder 4 and 5:

---
> // Borland C++Builder 4 and 5:
14c14
< // Borland C++ Builder 5, command-line compiler 5.5:
---
> // Borland C++Builder 5, command-line compiler 5.5:
19,20c19,23
< #if (__BORLANDC__ >= 0x550)
< // <climits> is partly broken, some macos define symbols that are 
really in
---
> // Borland C++Builder 6 defaults to using STLPort.  If 
_USE_OLD_RW_STL is
> // defined, then we have 0x560 or greater with the Rogue Wave 
implementation
> // which presumably has the std::DBL_MAX bug.
> #if ((__BORLANDC__ >= 0x550) && (__BORLANDC__ < 0x560)) || defined
(_USE_OLD_RW_STL)
> // <climits> is partly broken, some macros define symbols that are 
really in
26,29c29,31
< // Version 5.51:
< #if (__BORLANDC__ <= 0x551) || !defined(BOOST_STRICT_CONFIG)
< #  define BOOST_NO_CV_SPECIALIZATIONS
< #  define BOOST_NO_CV_VOID_SPECIALIZATIONS
---
> // Version 6.0 and below:
> #if (__BORLANDC__ <= 0X560) || !defined(BOOST_STRICT_CONFIG)
> #  define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
32d33
< #  define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
36a38,44
> // Version 5.51 and below:
> #if (__BORLANDC__ <= 0x551) || !defined(BOOST_STRICT_CONFIG)
> #  define BOOST_NO_CV_SPECIALIZATIONS
> #  define BOOST_NO_CV_VOID_SPECIALIZATIONS
> #  define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
> #endif
> 
53c61
< #if (__BORLANDC__ > 0x551)
---
> #if (__BORLANDC__ > 0x560)
60,63d67
< 
< 
< 
< 

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