$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Christopher Kohlhoff (chris_at_[hidden])
Date: 2006-11-04 17:50:53
Andrew Schweitzer wrote:
> Compiling...
> DHCP.cpp
> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately
> Assuming _WIN32_WINNT=0x0500 (i.e. Windows 2000 target)
> e:\nan\boost\source_control\cvs\boost\boost\boost\asio\detail\
socket_types.hpp(59)
> : warning C4005: 'FD_SETSIZE' : macro redefinition
> d:\Program Files\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\WinSock.h(51) : see previous definition of
> 'FD_SETSIZE'
I suspect it's due to winsock.h being included before the asio header
files. What are the headers you include from DHCP.cpp, in order?