From: Dean M. B. <mik...@gm...> - 2010-11-30 14:26:03
|
Hi Christoffer, On Tue, Nov 30, 2010 at 8:50 PM, Christoffer Mollenhoff <Mol...@in...> 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 |