Opened 14 years ago
Closed 14 years ago
#2310 closed Bugs (fixed)
spinlock_gcc_arm.hpp doesn't compile in Thumb mode
Reported by: | Peter Dimov | Owned by: | Peter Dimov |
---|---|---|---|
Milestone: | Boost 1.37.0 | Component: | smart_ptr |
Version: | Boost 1.36.0 | Severity: | Problem |
Keywords: | Cc: |
Description
#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>
Change History (2)
comment:1 by , 14 years ago
Status: | new → assigned |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
(In [48834]) Fix #2310.