|
Boost : |
From: Sergey Pisarchik (Sergey_pisarchiK_at_[hidden])
Date: 2005-01-12 10:46:26
Hi All.
tried on VC7.1++ :
#include <boost\bind.hpp>
#include <boost\mpl\at.hpp>
recieve error:
boost\boost\mpl\less.hpp(39) : error C2760: syntax error : expected ',' not ';'
boost\boost\mpl\less.hpp(51) : see reference to class template instantiation 'boost::mpl::less<T1,T2>' being compiled
boost\boost\mpl\less.hpp(39) : error C2144: syntax error : 'const bool' should be preceded by '}'
boost\boost\mpl\less.hpp(39) : error C2062: type 'const bool' unexpected
boost\boost\mpl\less.hpp(39) : error C2238: unexpected token(s) preceding ';'
boost\boost\mpl\less.hpp(42) : error C2065: 'value' : undeclared identifier
the less.hpp line 39 is:
BOOST_STATIC_CONSTANT(bool, value = msvc71_wknd_);
before goes:
enum
{
msvc71_wknd_ = ( BOOST_MPL_AUX_VALUE_WKND(T1)::value
< BOOST_MPL_AUX_VALUE_WKND(T2)::value)
};
How can I fix it ?
--Sincerely Yours,--
--\ SergeY /--
--<>\\\ PisarchiK ///<>--
--<>()<>--Never surrendeR--<>()<>--
mailto:Sergey_pisarchiK_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk