Skip to content
Tcl Source Code View Ticket
Login

View Ticket

[mingw] tclPosixStr.c won't build with EOVERFLOW==E2BIG

Closed / Fixed3407070fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 15 years ago
Descriptionplain2011-09-10 06:14:33
hi,

the recent mingw errno.h header defines EOVERFLOW == E2BIG
http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64/stable/v2.x/mingw-w64-headers/crt/errno.h?revision=4411&view=markup

finally the tclPosixStr.c after preprocessing contains duplicated 'case' statments (compilation error).
please expand the #ifdef magic around 'case EOVERFLOW' to detect EOVERFLOW==E2BIB.

BR,
Pawel.
nijtmans Ticket [3407070fff]: 1 change [History diff]2011-09-10 13:48:17
dkfplain2011-09-11 01:17:07
Good idea. Candidate for fixing in 8.4 as well as later.
nijtmansplain2011-09-11 20:12:16
Already fixed (since 2011-08-15) in all branches, together with
the fix for [Bug 3388350], so it just missed Tcl8.6b2.
nijtmansplain2011-09-11 20:12:17
allow_comments - 1
nijtmansplain2011-09-12 16:38:43
Filed a bug report to the mingw-people about this:
https://sourceforge.net/tracker/?func=detail&aid=3407992&group_id=202880&atid=983354
nijtmansplain2011-09-12 17:35:53
Woraround for mingw-w64 bug checked in in all active branches
Log in (anonymous is fine) to add a comment.