Boost logo

Boost :

Subject: Re: [boost] [EXTERNAL] Re: [wave] preprocess fails using b2
From: Belcourt, Kenneth (kbelco_at_[hidden])
Date: 2014-06-27 17:12:22


On Jun 27, 2014, at 2:24 PM, "Fletcher, John P" <j.p.fletcher_at_[hidden]>
 wrote:

> From: Boost [boost-bounces_at_[hidden]] on behalf of Andrey Semashev [andrey.semashev_at_[hidden]]
> Sent: 27 June 2014 21:00
> To: boost_at_[hidden]
> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk