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 <class HT, class TT> struct cons; As I am new to boost, I have no idea how to continue. I am not even using tuple directly - it is included by iterator/indirect_iterator.hpp. Anyone else come across this? Looks like I'll have to switch back to 1.32. Thanks in advance.
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 <class HT, class TT> 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" <amc@network-geographics.com> wrote in message news:6.2.0.14.2.20050914121741.020e6a40@network-geographics.com...
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