curl-users
libcurl 7.12.2 Win32 with Feb 2003 Core platform SDK
Date: Tue, 7 Dec 2004 15:41:26 -0800 (PST)
System Setup:
WinXP Pro
VC6 SP6
February 2003 Core SDK
When I attempt to build version 7.12.2 I get the
following error: C:\Program Files\Microsoft
SDK\include\ws2tcpip.h(593) : error C2632: 'int'
followed by 'int' is illegal C:\Program
Files\Microsoft SDK\include\ws2tcpip.h(593) : warning
C4091: 'typedef ' : ignored on left of 'int ' when no
variable is declared
To get around this I modified an entry in the
config-win32.h file from: /* Define this to 'int' if
socklen_t is not an available typedefed type */ #if
!defined(ENABLE_IPV6) && ((_MSC_VER < 1300) ||
!defined(USE_SSLEAY)) #define socklen_t int #endif
To: /* Define this to 'int' if socklen_t is not an
available typedefed type */ #if !defined(ENABLE_IPV6)
&& ((_MSC_VER < 1300) && !defined(USE_SSLEAY) ||
!defined(USE_SSLEAY)) #define socklen_t int #endif
Seem reasonable or is there another way to fix the
error?
Thanks in advance.
Dave
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Received on 2004-12-08