Boost logo

Boost Users :

From: JD (jean.daniel.michaud_at_[hidden])
Date: 2007-05-09 13:54:46


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:
>
> http://article.gmane.org/gmane.comp.lib.boost.devel/150573

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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net