Subject: [Boost-bugs] [Boost C++ Libraries] #7336: BOOST_THREAD_DONT_USE_SYSTEM doesn't work.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-06 05:34:24
#7336: BOOST_THREAD_DONT_USE_SYSTEM doesn't work.
------------------------------------------------+---------------------------
Reporter: Ivan A. Melnikov <iv@â¦> | Owner: anthonyw
Type: Bugs | Status: new
Milestone: Boost 1.52.0 | Component: thread
Version: Boost 1.51.0 | Severity: Problem
Keywords: |
------------------------------------------------+---------------------------
Boost.Thread documentation says:
Boost.Thread uses by default Boost.System to define the exceptions.
For backward compatibility and also for compilers that don't work well
with Boost.System the user can define BOOST_THREAD_DONT_USE_SYSTEM .
But on my platform (ALT Linux x86_64, boost 1.51.0) I get the following
include files chain:
{{{
boost/thread/mutex.hpp ->
boost/thread/pthread/mutex.hpp ->
boost/thread/exceptions.hpp ->
boost/system/system_error.hpp, boost/system/error_code.hpp
}}}
So I have to link with Boost.System, and it doesn't depend on how
Boost.Thread was configured and build.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7336> 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