[squid-users] build error.

From: Huy Nguyen <huy@dont-contact.us>
Date: Thu, 7 Nov 2002 13:44:23 -0800

Hi folks,
If I build under the Visual studio 6.0. I got these errors. Any hint?
Thanks,
Huy

c:\cygwin\usr\include\sys\time.h(16) : error C2011: 'timeval' : 'struct'
type redefinition
c:\cygwin\home\huy\squid\include\util.h(141) : warning C4028: formal
parameter 2 different from declaration
base64.c
c:\cygwin\usr\include\sys\time.h(16) : error C2011: 'timeval' : 'struct'
type redefinition
c:\cygwin\home\huy\squid\include\util.h(141) : warning C4028: formal
parameter 2 different from declaration
c:\cygwin\home\huy\squid\lib\base64.c(61) : warning C4244: '=' : conversion
from 'long ' to 'char ', possible loss of data
getfullhostname.c
c:\cygwin\usr\include\cygwin\socket.h(18) : error C2011: 'sockaddr' :
'struct' type redefinition
c:\cygwin\usr\include\asm\socket.h(21) : warning C4005: '_IO' : macro
redefinition
        c:\program files\microsoft sdk\include\winsock2.h(186) : see
previous definition of '_IO'
c:\cygwin\usr\include\asm\socket.h(22) : warning C4005: '_IOR' : macro
redefinition
        c:\program files\microsoft sdk\include\winsock2.h(188) : see
previous definition of '_IOR'
c:\cygwin\usr\include\asm\socket.h(23) : warning C4005: '_IOW' : macro
redefinition
        c:\program files\microsoft sdk\include\winsock2.h(190) : see
previous definition of '_IOW'
c:\cygwin\usr\include\asm\socket.h(27) : warning C4005: 'FIONBIO' : macro
redefinition
        c:\program files\microsoft sdk\include\winsock2.h(193) : see
previous definition of 'FIONBIO'
c:\cygwin\usr\include\asm\socket.h(56) : warning C4005: 'SO_DONTLINGER' :
macro redefinition
        c:\program files\microsoft sdk\include\winsock2.h(467) : see
previous definition of 'SO_DONTLINGER'
c:\cygwin\usr\include\cygwin\socket.h(28) : error C2011: 'linger' : 'struct'
type redefinition
c:\cygwin\usr\include\cygwin\socket.h(109) : warning C4005: 'SOMAXCONN' :
macro redefinition
        c:\program files\microsoft sdk\include\winsock2.h(650) : see
previous definition of 'SOMAXCONN'
c:\cygwin\usr\include\sys\time.h(16) : error C2011: 'timeval' : 'struct'
type redefinition
Received on Thu Nov 07 2002 - 14:43:56 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:13 MST