Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58155 - trunk/boost/config/compiler
From: john_at_[hidden]
Date: 2009-12-05 08:22:45


Author: johnmaddock
Date: 2009-12-05 08:22:45 EST (Sat, 05 Dec 2009)
New Revision: 58155
URL: http://svn.boost.org/trac/boost/changeset/58155

Log:
Start to fix up codegear 2010 support... this could take a while.
Text files modified:
   trunk/boost/config/compiler/codegear.hpp | 8 +++++---
   1 files changed, 5 insertions(+), 3 deletions(-)

Modified: trunk/boost/config/compiler/codegear.hpp
==============================================================================
--- trunk/boost/config/compiler/codegear.hpp (original)
+++ trunk/boost/config/compiler/codegear.hpp 2009-12-05 08:22:45 EST (Sat, 05 Dec 2009)
@@ -31,7 +31,6 @@
 // CodeGear C++ Builder 2009
 #if (__CODEGEARC__ <= 0x613)
 # define BOOST_NO_INTEGRAL_INT64_T
-# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
 # define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
 # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
 # define BOOST_NO_PRIVATE_IN_AGGREGATE
@@ -41,10 +40,14 @@
    // 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_TYPENAME_WITH_CTOR // Cannot use typename keyword when making temporaries of a dependant type
 # define BOOST_NO_NESTED_FRIENDSHIP // TC1 gives nested classes access rights as any other member
 # define BOOST_SP_NO_SP_CONVERTIBLE
+#endif
 
+// CodeGear C++ Builder 2010
+#if (__CODEGEARC__ <= 0x620)
+# define BOOST_NO_TYPENAME_WITH_CTOR // Cannot use typename keyword when making temporaries of a dependant type
+# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
 // Temporary hack, until specific MPL preprocessed headers are generated
 # define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
 
@@ -60,7 +63,6 @@
 # endif
 
 #endif
-
 //
 // C++0x macros:
 //


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