Error compiling boost/tuple/tuple.hpp with boost 1.33 on VC 7.1

I have just upgraded to boost 1.33 from 1.32 and boost/tuple/tuple.hpp no
longer compiles. I am using MS Visual Studio 2003 (7.1).
Errors include:
"boost-1_33\boost\tuple\detail\tuple_basic.hpp(66) : error C2332:
'class' : missing tag name"
when compiling:
template

Are you sure you replaced all the files? I have MS Visual Studio 2003 (7.1), Boost 1.33 and have used Boost.Tuple heavily with no compilation errors (on the part of Boost -- I generate plenty on my own). I'd try including just boost/tuple/tuple.h in a file and seeing if that compiles. At 09:04 AM 9/14/2005, you wrote:
I have just upgraded to boost 1.33 from 1.32 and boost/tuple/tuple.hpp no longer compiles. I am using MS Visual Studio 2003 (7.1).
Errors include:
"boost-1_33\boost\tuple\detail\tuple_basic.hpp(66) : error C2332: 'class' : missing tag name"
when compiling:
template
struct cons;

Fixed. I had a "#define HT" in one of my headers which conflicted with a
HT template found in tuple.hpp.
"Alan M. Carroll"
Are you sure you replaced all the files? I have MS Visual Studio 2003 (7.1), Boost 1.33 and have used Boost.Tuple heavily with no compilation errors (on the part of Boost -- I generate plenty on my own). I'd try including just boost/tuple/tuple.h in a file and seeing if that compiles.
participants (2)
-
Alan M. Carroll
-
Rob Caldecott