Subject: [Boost-bugs] [Boost C++ Libraries] #3690: regex depends on pthread library when boost is built with threading=single
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-28 06:19:28
#3690: regex depends on pthread library when boost is built with threading=single
---------------------------------+------------------------------------------
Reporter: jdccdevel@⦠| Owner: johnmaddock
Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: regex
Version: Boost 1.40.0 | Severity: Problem
Keywords: |
---------------------------------+------------------------------------------
regex depends on pthread library when boost is built with threading=single
static_mutex.cpp uses the functions pthread_mutex_unlock and
pthread_mutex_lock. This creates a dependancy on pthreads which should not
exist when compiled with threading=single.
This is, in particular, a problem when static linking on AIX.
It appears that BOOST_HAS_THREADS is still being set when threading=single
is set on the bjam command line.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3690> 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:50:01 UTC