[Boost-bugs] [Boost C++ Libraries] #2310: spinlock_gcc_arm.hpp doesn't compile in Thumb mode

Subject: [Boost-bugs] [Boost C++ Libraries] #2310: spinlock_gcc_arm.hpp doesn't compile in Thumb mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-09-09 20:30:14


#2310: spinlock_gcc_arm.hpp doesn't compile in Thumb mode
--------------------------+-------------------------------------------------
 Reporter: pdimov | Owner: pdimov
     Type: Bugs | Status: new
Milestone: Boost 1.37.0 | Component: smart_ptr
  Version: Boost 1.36.0 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------
 {{{
 #if defined(__GNUC__) && defined( __arm__ )
 # include <boost/detail/spinlock_gcc_arm.hpp>
 #elif defined(__GNUC__) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 )
 # include <boost/detail/spinlock_sync.hpp>
 }}}

 needs to be

 {{{
 #if defined(__GNUC__) && defined( __arm__ ) && !defined( __thumb__ )
 # include <boost/detail/spinlock_gcc_arm.hpp>
 #elif defined(__GNUC__) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 ) &&
 !defined( __arm__ )
 # include <boost/detail/spinlock_sync.hpp>
 }}}

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2310>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC