Nat Goodspeed wrote:
With the files newly unpacked from boost_1_31_0.zip, using MS VS .NET 2003 (aka 7.1), the following two-line source file:
#include
#include compiled with the following command line:
cl /c /I "c:/Dev/boost_1_31_0" /I "$PYTHONDIR/include" /EHsc test.cpp
produces these errors:
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86 Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
test.cpp
c:/Dev\boost_1_31_0\boost\mpl\less.hpp(39) : error C2760: syntax error : expected ',' not ';'
(repost) This is a compiler bug, triggered by the token sequence 'value' '<' when the compiler has seen a class template named 'value' anywhere, i.e. in any namespace, or even nested in a class. This has been fixed in CVS - just reverse the a < b expression in mpl/less.hpp, turning it into b > a. http://cvs.sourceforge.net/viewcvs.py/boost/boost/boost/mpl/less.hpp?r1=1.2&r2=1.3