Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48837 - trunk/boost/detail
From: pdimov_at_[hidden]
Date: 2008-09-17 18:49:18


Author: pdimov
Date: 2008-09-17 18:49:18 EDT (Wed, 17 Sep 2008)
New Revision: 48837
URL: http://svn.boost.org/trac/boost/changeset/48837

Log:
Fix #1758. V9 is the default for g++ 4.2 or later, on 4.1 and earlier do not attempt to use CAS on V8.
Text files modified:
   trunk/boost/detail/sp_counted_base.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/detail/sp_counted_base.hpp
==============================================================================
--- trunk/boost/detail/sp_counted_base.hpp (original)
+++ trunk/boost/detail/sp_counted_base.hpp 2008-09-17 18:49:18 EDT (Wed, 17 Sep 2008)
@@ -49,7 +49,7 @@
 #elif defined(__GNUC__) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 ) && !defined( __arm__ ) && !defined( __hppa ) && ( !defined( __INTEL_COMPILER ) || defined( __ia64__ ) )
 # include <boost/detail/sp_counted_base_sync.hpp>
 
-#elif defined(__GNUC__) && ( defined( __sparcv8 ) || defined( __sparcv9 ) )
+#elif defined(__GNUC__) && ( defined( __sparcv9 ) || ( defined( __sparcv8 ) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 402 ) ) )
 # include <boost/detail/sp_counted_base_gcc_sparc.hpp>
 
 #elif defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ )


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