Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53760 - trunk/boost/config/compiler
From: David.Dean_at_[hidden]
Date: 2009-06-08 16:31:39


Author: siliconman
Date: 2009-06-08 16:31:39 EDT (Mon, 08 Jun 2009)
New Revision: 53760
URL: http://svn.boost.org/trac/boost/changeset/53760

Log:
updating borland.hpp with defines for newest compiler
Text files modified:
   trunk/boost/config/compiler/borland.hpp | 14 ++++++--------
   1 files changed, 6 insertions(+), 8 deletions(-)

Modified: trunk/boost/config/compiler/borland.hpp
==============================================================================
--- trunk/boost/config/compiler/borland.hpp (original)
+++ trunk/boost/config/compiler/borland.hpp 2009-06-08 16:31:39 EDT (Mon, 08 Jun 2009)
@@ -17,7 +17,7 @@
 #endif
 
 // last known compiler version:
-#if (__BORLANDC__ > 0x610)
+#if (__BORLANDC__ > 0x613)
 //# if defined(BOOST_ASSERT_CONFIG)
 # error "Unknown compiler version - please run the configure tests and report the results"
 //# else
@@ -107,30 +107,28 @@
 # endif
 #endif
 
-// Borland C++ Builder 2007 December 2007 Update and below:
-//#if (__BORLANDC__ <= 0x593)
-#if (__BORLANDC__ <= 0x610) // Beman has asked Alisdair for more info
+#if (__BORLANDC__ <= 0x613) // Beman has asked Alisdair for more info
    // we shouldn't really need this - but too many things choke
    // without it, this needs more investigation:
 # define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
 # define BOOST_NO_IS_ABSTRACT
 # define BOOST_NO_FUNCTION_TYPE_SPECIALIZATIONS
+# define BOOST_NO_USING_TEMPLATE
 
 // Temporary workaround
 #define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
 #endif
 
 // Borland C++ Builder 2008 and below:
-#if (__BORLANDC__ <= 0x601)
 # define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
-# define BOOST_ILLEGAL_CV_REFERENCES
 # define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
 # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
 # define BOOST_NO_TWO_PHASE_NAME_LOOKUP
-# define BOOST_NO_USING_TEMPLATE
 # define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE
 # define BOOST_NO_NESTED_FRIENDSHIP
 # define BOOST_NO_TYPENAME_WITH_CTOR
+#if (__BORLANDC__ < 0x600)
+# define BOOST_ILLEGAL_CV_REFERENCES
 #endif
 
 //
@@ -235,7 +233,7 @@
 //
 // ABI fixing headers:
 //
-#if __BORLANDC__ < 0x600 // not implemented for version 6 compiler yet
+#if __BORLANDC__ != 0x600 // not implemented for version 6 compiler yet
 #ifndef BOOST_ABI_PREFIX
 # define BOOST_ABI_PREFIX "boost/config/abi/borland_prefix.hpp"
 #endif


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk