Boost logo

Boost Users :

From: Christopher Kohlhoff (chris_at_[hidden])
Date: 2007-05-08 10:20:03


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

> 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.

Cheers,
Chris


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