Christopher Kohlhoff wrote:
JD writes:
I've been trying to use Boost.Asio in a project and compilation failed with VC 8.0. Compiler complains that unary operator! that should be member of asio::error is not defined.
The error handling classes have changed. See this post:
It seems that the example has not been updated accordingly: still use !err.
I tried to compile lib/asio/example/http/client/ from CVS HEAD and got another compile issue:
..\..\..\..\..\boost/asio/ip/unicast.hpp(62) : error C2065: 'IPV6_UNICAST_HOPS': undeclared identifier
Is there known compile issue with asio? Thanks for your help.
It sounds like you have a very old platform sdk or something on your include path. This should be defined for you in ws2tcpip.h.
Well IPV6_UNICAST_HOPS is defined in my ws2tcpip.h. I'm using WinXP SP1 SDK. And my include path is pretty simple: boost only... Thanks anyway. JD