Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12639: Boost.Spirit + BOOST_DISABLE_THREAD problem
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-12-14 18:31:30
#12639: Boost.Spirit + BOOST_DISABLE_THREAD problem
-------------------------------+----------------------------
Reporter: anonymous | Owner: Joel de Guzman
Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
Version: Boost 1.61.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------------
Comment (by Nikita Kniazev <nok.raven@â¦>):
It is pointless to ifdef threads include as it will hide a real problem
and you will receive other error if you use `scoped_lock` with
`BOOST_DISABLE_THREAD`.
I guess you use `#include <boost/spirit/include/classic.hpp>` and it
includes `boost/spirit/home/classic/utility/scoped_lock.hpp` even if
`BOOST_SPIRIT_THREADSAFE` is not defined, so I think it should be fixed
like this https://github.com/boostorg/spirit/pull/323.
-- Ticket URL: <https://svn.boost.org/trac10/boost/ticket/12639#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-12-14 18:38:45 UTC