Re: [Boost-bugs] [Boost C++ Libraries] #7085: Boost pool library it not header only as claimed in documentation

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7085: Boost pool library it not header only as claimed in documentation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-19 04:00:25


#7085: Boost pool library it not header only as claimed in documentation
---------------------------------------------------+------------------------
  Reporter: Roger Pawlowski <rppawlo@…> | Owner: cnewbold
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: pool
   Version: Boost 1.50.0 | Severity: Problem
Resolution: | Keywords: pool header only
---------------------------------------------------+------------------------

Comment (by SiliconKiwi):

 Yep it pulls in boost::threads as well, even if BOOST_POOL_NO_MT is
 defined.

 Changing the include guard in pool/detail/mutex.hpp around
 <boost/thread/mutex.hpp> to this:

 #if defined (BOOST_HAS_THREADS) && !defined(BOOST_POOL_NO_MT)

 fixes the problem, as long as BOOST_POOL_NO_MT is defined.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7085#comment:1>
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:10 UTC