Boost logo

Boost :

From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2004-02-06 15:27:55


"Brock Peabody" <brock.peabody_at_[hidden]> wrote in message
> 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 ';'


> 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

Boost list run by bdawes at, gregod at, cpdaniel at, john at