
6 Feb
2004
6 Feb
'04
8:27 p.m.
Brock "Brock Peabody" <brock.peabody@npcinternational.com> wrote in message news:004701c3ecea$d06eca90$360010ac@npci.com...
If I have a vc7.1 source file with nothing but:
#include "stdafx.h"
#include <boost/bind.hpp> #include <boost/variant.hpp>
I get the following errors:
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\boost\mpl\less.hpp(39) : error C2760: syntax error : expected ',' not ';'
[snip]
The problems go away if I include variant.hpp first. Any ideas?
Do you mean: #include <boost/variant.hpp> #include "stdafx.h" #include <boost/bind.hpp> If so and you are using precompiled headers, then #include <boost/variant.hpp> will be ignored. Otherwise, I've not used variant yet. :( Jeff F