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 Peter Dimov, 14 years ago

Status: newassigned

comment:2 by Peter Dimov, 14 years ago

Resolution: fixed
Status: assignedclosed

(In [48834]) Fix #2310.

Note: See TracTickets for help on using tickets.