Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Compile error on VC++2010 with tclWinPort.h

Closed / Duplicate3019640fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 16 years ago
Descriptionplain2010-06-22 14:14:32
Tcl CVS head.
MS Vista SP2
MS VC++ 2010


MS VC++ 2010 errno.h and tclWinPort.h have conflicting defintiions.

tclWinPort.h:

ln144: # define ESOCKTNOSUPPORT 121
ln150: # define EPFNOSUPPORT123

errno.h

ln 113: #define ENOLINK 121
ln 115: #define ENOPROTOOPT 123

See https://sourceforge.net/tracker/?func=detail&aid=3019634&group_id=10894&atid=310894
for a patch... just bumped the defs up to the next available numbers. Don't know if this will break on some other platform/compiler
dkfplain2010-06-23 16:36:40
Track this in Patch #3019634.
dkfplain2010-06-23 16:36:41
allow_comments - 1
Log in (anonymous is fine) to add a comment.