Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77643 - trunk/boost/config/compiler
From: mimomorin_at_[hidden]
Date: 2012-03-30 08:51:50


Author: michel
Date: 2012-03-30 08:51:49 EDT (Fri, 30 Mar 2012)
New Revision: 77643
URL: http://svn.boost.org/trac/boost/changeset/77643

Log:
Avoid redefinition of BOOST_NO_EXCEPTIONS; fixes #6740
Text files modified:
   trunk/boost/config/compiler/clang.hpp | 3 +--
   1 files changed, 1 insertions(+), 2 deletions(-)

Modified: trunk/boost/config/compiler/clang.hpp
==============================================================================
--- trunk/boost/config/compiler/clang.hpp (original)
+++ trunk/boost/config/compiler/clang.hpp 2012-03-30 08:51:49 EDT (Fri, 30 Mar 2012)
@@ -8,8 +8,7 @@
 
 // Clang compiler setup.
 
-#if __has_feature(cxx_exceptions) && !defined(BOOST_NO_EXCEPTIONS)
-#else
+#if !__has_feature(cxx_exceptions) && !defined(BOOST_NO_EXCEPTIONS)
 # define BOOST_NO_EXCEPTIONS
 #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