Boost logo

Boost :

Subject: Re: [boost] [fusion] boost::fusion::nil bug
From: Eric Niebler (eric_at_[hidden])
Date: 2011-08-23 15:42:14


On 8/23/2011 12:46 PM, Vicente J. Botet Escriba wrote:
> Le 23/08/11 17:19, Eric Niebler a écrit :
>> On 8/21/2011 10:00 PM, Eric Niebler wrote:
>>> On 8/21/2011 6:03 AM, Jeroen Habraken wrote:
>>>> boost-trunk/boost/fusion/sequence/intrinsic/detail/segmented_end.hpp:33:70:
>>>>
>>>> error: invalid use of incomplete type 'fusion::nil'
>>>> segmented_end_impl<Sequence, fusion::nil>::call(seq,
>>>> fusion::nil()));
>>> This is my bug. I'll see about fixing it.
>> OK, I've fixed this on trunk. Jeroen, I'm having difficulty running
>> regression tests with clang. Can you run Fusion's test suite and tell me
>> if everything is ok?
>>
> Hi,
>
> I have reached to build Boost.Conversion and Boost.Fusion with clang-2.9
> (03 and 0x) without any major trouble after updating the trunk. However
> I get a warning that could eassily be removed
>
> In file included from
> ../../../boost/fusion/algorithm/iteration/reverse_fold.hpp:14:
> ../../../boost/fusion/algorithm/iteration/detail/fold.hpp:189:48:
> warning: unused parameter 'it0' [-Wunused-parameter]
> call(State const& state,It0 const& it0,F f)
> ^
> ../../../boost/fusion/algorithm/iteration/detail/fold.hpp:189:54:
> warning: unused parameter 'f' [-Wunused-parameter]
> call(State const& state,It0 const& it0,F f)

This is unrelated to my recent changes, but I'd be happy to fix it if
Joel agrees (and I don't see why he wouldn't).

Joel?

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

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