Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62819 - trunk/boost/exception
From: nielsdekker_at_[hidden]
Date: 2010-06-11 17:44:22


Author: niels_dekker
Date: 2010-06-11 17:44:22 EDT (Fri, 11 Jun 2010)
New Revision: 62819
URL: http://svn.boost.org/trac/boost/changeset/62819

Log:
Added Borland/Codegear workaround to avoid compile error when doing #include <boost/exception/exception.hpp> -- see #4068
Text files modified:
   trunk/boost/exception/exception.hpp | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/boost/exception/exception.hpp
==============================================================================
--- trunk/boost/exception/exception.hpp (original)
+++ trunk/boost/exception/exception.hpp 2010-06-11 17:44:22 EDT (Fri, 11 Jun 2010)
@@ -12,6 +12,8 @@
 #pragma warning(push,1)
 #endif
 
+#include <boost/detail/workaround.hpp>
+
 namespace
 boost
     {
@@ -219,7 +221,8 @@
 #endif
             ;
 
-#if (defined(__MWERKS__) && __MWERKS__<=0x3207) || (defined(_MSC_VER) && _MSC_VER<=1310)
+#if (defined(__MWERKS__) && __MWERKS__<=0x3207) || (defined(_MSC_VER) && _MSC_VER<=1310) || \
+ BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x621))
         public:
 #else
         private:


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