Hi Christoffer,

On Tue, Nov 30, 2010 at 8:50 PM, Christoffer Mollenhoff
<[email protected]> wrote:
>
> I’m hitting the following compilation error using Visual Studio 2010 and
> Boost 1.45. The example compiles perfectly using v0.7, however.
>

Are you building with CMake?

>
> 1>c:\cpp-netlib-0.8\boost\network\protocol\http\message\traits\version.hpp(28):
> error C2065: 'or_' : undeclared identifier
>

It looks like there's a missing include here. Can you try adding:

#include <boost/mpl/or.hpp>

At the top of the file, maybe around line 13? That should fix it.

>
> Looks like a using directive got lost on the way somewhere.
>

Or just missing an include. It's odd that this doesn't show up in GCC.
Can you try the above include directive, and report back if it fixes
things?

Thanks and I hope this helps.

-- 
Dean Michael Berris
deanberris.com

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel

Reply via email to