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? -- Eric Niebler BoostPro Computing http://www.boostpro.com