Boost logo

Boost Users :

Subject: Re: [Boost-users] [fusion] Re: Build error 1.46
From: Joel de Guzman (joel_at_[hidden])
Date: 2011-02-22 05:30:36


On 2/22/2011 5:01 PM, Eric Niebler wrote:
> On 2/22/2011 3:11 PM, gast128 wrote:
>> Hello all,
>>
>> I got a build error when building Boost 1.46 on Visual Studio 2003 (MSVC 7.1) in
>> Boost.Fusion:
>>
>> compile-c-c++ bin.v2\libs\math\build\msvc-7.1\debug\pch-off\threading-multi\asso
>> c_legendre.obj
>> assoc_legendre.cpp
>> boost\fusion\sequence\comparison\less_equal.hpp(49) : error C2039: 'is_native_fu
>> sion_sequence' : is not a member of 'boost::fusion::detail'
>> boost\fusion\sequence\comparison\less_equal.hpp(49) : error C2065: 'is_native_fu
>> sion_sequence' : undeclared identifier
>> boost\fusion\sequence\comparison\less_equal.hpp(49) : error C2974: 'boost::disab
>> le_if' : invalid template argument for 'Cond', type expected
>> boost\utility\enable_if.hpp(59) : see declaration of 'boost::disable_if'
>>
>> Anyone?
>
> Looks like a bug, yes. is_native_fusion_sequence was moved out of the
> detail namespace and into the traits namespace, but this work-around
> code for vc7.1 and vc8 was not updated.
>
> If you replace detail::is_native_fusion_sequence with
> traits::is_native_fusion_sequence, the problem should go away.
>
> Would you be kind enough to file a bug?

It's already fixed in trunk but unfortunately did not make it into
the release :-(

Regards,

-- 
Joel de Guzman
http://www.boostpro.com
http://boost-spirit.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net