id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 235,mpl::less<> doesn't compile,egladysh,Aleksey Gurtovoy,"{{{ First of all, congratulations with v1.31! I am having a weird problem when compiling mpl/less.hpp in MSVC 7.1 The error message is: s:\boost\boost_1_31_0\boost\mpl\less.hpp(39) : error C2760: syntax error : expected ',' not ';' s:\boost\boost_1_31_0\boost\mpl\less.hpp(51) : see reference to class template instantiation 'boost::mpl::less' being compiled s:\boost\boost_1_31_0\boost\mpl\less.hpp(39) : error C2144: syntax error : 'const bool' should be preceded by '}' s:\boost\boost_1_31_0\boost\mpl\less.hpp(39) : error C2062: type 'const bool' unexpected s:\boost\boost_1_31_0\boost\mpl\less.hpp(39) : error C2238: unexpected token(s) preceding ';' s:\boost\boost_1_31_0\boost\mpl\less.hpp(42) : error C2065: 'value' : undeclared identifier s:\Projects\notus\notus\libs\src\platform\win32 \notus_traits\winobj.cpp(150) : fatal error C1903: unable to recover from previous error(s); stopping compilation ***************** If I change enum { msvc71_wknd_ = ( BOOST_MPL_AUX_VALUE_WKND (T1)::value < BOOST_MPL_AUX_VALUE_WKND (T2)::value ) }; to enum { msvc71_wknd_ = BOOST_MPL_AUX_VALUE_WKND (T1)::value < BOOST_MPL_AUX_VALUE_WKND (T2)::value }; everything works. Somehow the parentheses break the compiler. Eugene }}}",Bugs,closed,,None,None,,None,,