Boost logo

Boost Users :

From: Cory Nelson (phrosty_at_[hidden])
Date: 2008-07-07 21:00:25


You are probably #including <windows.h> prior to that without defining
WIN32_LEAN_AND_MEAN first.

On Mon, Jul 7, 2008 at 4:54 PM, Jean-Sebastien Stoezel
<js.stoezel_at_[hidden]> wrote:
> Hi,
>
> Why trying to use the asio library I'm getting the following error (I
> believe this happens I include <boost/asio.hpp> once):
>
> WinSock.h has already been included c:\program
> files\boost\boost_1_35_0\boost\asio\detail\socket_types.hpp 27
>
> I'm compiling using VS 2008 on WinXP.
>
> Any idea how to deal with this?
>
> Thanks,
> Jean
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

-- 
Cory Nelson
http://www.int64.org

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