Charles R
2009-10-27 18:14:01 UTC
I've included Winsock2.h in header file and i'm getting compile errors in the
QOS.h file. I have not edited neither winsock2.h or qos.h.
I have a project w/ multiple configurations. I created a new configuration
copying an existing one. Both use the same files and include winsock2.h (and
ws2_32.lib). The difference is the new configuration includes different
libraries and has different additional include directories. I comment out
including Winsock2.h and it compiles, I uncomment it and it fails. Below are
the compile errors.
Any ideas? TIA
-C
c:\program files\microsoft visual studio\vc98\include\qos.h(433) : error
C2059: syntax error : 'constant'
c:\program files\microsoft visual studio\vc98\include\qos.h(433) : error
C2238: unexpected token(s) preceding ';'
c:\program files\microsoft visual studio\vc98\include\qos.h(450) : error
C2059: syntax error : 'constant'
c:\program files\microsoft visual studio\vc98\include\qos.h(450) : error
C2238: unexpected token(s) preceding ';'
QOS.h file. I have not edited neither winsock2.h or qos.h.
I have a project w/ multiple configurations. I created a new configuration
copying an existing one. Both use the same files and include winsock2.h (and
ws2_32.lib). The difference is the new configuration includes different
libraries and has different additional include directories. I comment out
including Winsock2.h and it compiles, I uncomment it and it fails. Below are
the compile errors.
Any ideas? TIA
-C
c:\program files\microsoft visual studio\vc98\include\qos.h(433) : error
C2059: syntax error : 'constant'
c:\program files\microsoft visual studio\vc98\include\qos.h(433) : error
C2238: unexpected token(s) preceding ';'
c:\program files\microsoft visual studio\vc98\include\qos.h(450) : error
C2059: syntax error : 'constant'
c:\program files\microsoft visual studio\vc98\include\qos.h(450) : error
C2238: unexpected token(s) preceding ';'