Re: [Boost-bugs] [Boost C++ Libraries] #3690: regex depends on pthread library when boost is built with threading=single

Subject: Re: [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-12-03 18:24:26


#3690: regex depends on pthread library when boost is built with threading=single
---------------------------------+------------------------------------------
 Reporter: jdccdevel@… | Owner: vladimir_prus
     Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: build
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: |
---------------------------------+------------------------------------------

Comment(by jdccdevel@…):

 I am compiling with gcc version 4.2.4 on AIX.

 I was able to remove the dependency on pthreads by building with
 BOOST_DISABLE_THREADS defined in boost/config/user.hpp

 This is (thankfully) sufficient for my purposes for now.

 I Definitely concur that threading=single is a highly misleading option in
 this case. If there needs to be two options, "threading=single" should
 renamed to "threading=default" as you implied above. Not being familiar
 with the internals of the boost build system, I would have expected
 threading=single to prevent the setting of the "BOOST_HAS_THREADS" define
 in all cases. However this is obviously not happening.

 I understand that this is something of a unique case, as I cannot have a
 dependency on pthreads. However, If nothing else, I do believe that this
 should be more explicitly documented in the "bjam --help" documentation
 and elsewhere.

 Jonathan

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3690#comment:3>
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:02 UTC