________________________________________ 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.
When I try to do this it now fails with a failure to build thread.cpp
Please advise me what to do.
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>’ John _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost