Re: [Boost-bugs] [Boost C++ Libraries] #12036: boost::physical_concurrency always returns 0 if BOOST_USE_WINAPI_VERSION is not defined

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12036: boost::physical_concurrency always returns 0 if BOOST_USE_WINAPI_VERSION is not defined
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-03-07 08:48:54


#12036: boost::physical_concurrency always returns 0 if BOOST_USE_WINAPI_VERSION is
not defined
-----------------------------------------------+----------------------
  Reporter: Diego Barrios Romero <eldruin@…> | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: Boost 1.61.0 | Component: thread
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
-----------------------------------------------+----------------------

Comment (by Diego Barrios Romero <eldruin@…>):

 Hi, your solution does solve the test.

 However, I still fear a header include problem. The variables
 BOOST_WINAPI_VERSION_WINXP, etc. are not defined either. These are defined
 in detail/winapi/config.hpp but this file does not appear to be included.
 Even if the user specified a winapi version via define, there would be no
 value to compare to.

 The proof is that the test passes if applying the patch
 {{{boost_thread_winapi_versions_not_defined.patch}}} attached.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12036#comment:2>
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:19 UTC