Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13476: Linker error when using Spirit Classic
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-03-14 16:13:48
#13476: Linker error when using Spirit Classic
-------------------------------+----------------------------------------
Reporter: janis.ruksans@⦠| Owner: Joel de Guzman
Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
Version: Boost 1.60.0 | Severity: Regression
Resolution: | Keywords: spirit classic header only
-------------------------------+----------------------------------------
Comment (by Nikita Kniazev <nok.raven@â¦>):
The first thing I should say: Boost 1.60 is pretty old (released 2+ years
ago).
Spirit does not use Boost.System directly, but I suspect it is used by
Boost.Thread that may be included even if `BOOST_SPIRIT_THREADSAFE` is not
defined. Please try to apply manually
https://github.com/boostorg/spirit/pull/323.patch or better grab the
latest Spirit from the git develop branch.
The simplest solution for you is to add `-lboost_system` to you compile
command.
-- Ticket URL: <https://svn.boost.org/trac10/ticket/13476#comment:4> 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 : 2018-03-14 16:19:22 UTC