Subject: [Boost-bugs] [Boost C++ Libraries] #1762: BOOST_DISABLE_THREADS should imply BOOST_SP_DISABLE_THREADS
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-04-03 17:08:55
#1762: BOOST_DISABLE_THREADS should imply BOOST_SP_DISABLE_THREADS
--------------------------------------+-------------------------------------
Reporter: jgottman_at_[hidden] | Owner: pdimov
Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: smart_ptr
Version: Boost 1.35.0 | Severity: Problem
Keywords: |
--------------------------------------+-------------------------------------
When I built my code with BOOST_DISABLE_THREADS defined, I was surprised
to have to deal with threading issues in the shared_ptr library. Defining
this variable should automatically define BOOST_SP_DISABLE_THREADS, or
else the code in <detail/sp_counted_base.hpp> that says
{{{
#if defined( BOOST_SP_DISABLE_THREADS )
}}}
should really say
{{{
#if defined( BOOST_SP_DISABLE_THREADS ) || defined(BOOST_DISABLE_THREADS)
}}}
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1762>
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:57 UTC