On Jun 27, 2014, at 2:24 PM, "Fletcher, John P"
From: Boost [boost-bounces@lists.boost.org] on behalf of Andrey Semashev [andrey.semashev@gmail.com] Sent: 27 June 2014 21:00 To: boost@lists.boost.org Subject: Re: [boost] [wave] preprocess fails using b2
On Friday 27 June 2014 19:53:18 Fletcher, John P wrote:
I have been using b2 to build the preprocessed files for boost phoenix.
Check that you completely updated all submodules, core and utility in particular. If they are fully updated I suspect you may need to remove $BOOST_ROOT/boost and run 'b2 headers'.
I have done that and it still fails. On closer inspection the failure is related to boost/bind in some way:
In file included from ../../../boost/bind/bind.hpp:25:0, from ../../../boost/bind.hpp:22, from ../../../boost/thread/detail/thread.hpp:29, from ../../../boost/thread/thread_only.hpp:22, from ../../../libs/thread/src/pthread/thread.cpp:11: ../../../boost/ref.hpp:32:25: error: redefinition of ‘class boost::reference_wrapper<T>’ ../../../boost/core/ref.hpp:59:25: error: previous definition of ‘class boost::reference_wrapper<T>â
How is this possible, there's only 17 lines in libs/core/include/boost/ref.hpp. Check that: boost/ref.hpp -> libs/core/include/boost/ref.hpp -- Noel