Skip to content
Tcl Source Code View Ticket
Login

View Ticket

tclThreadAlloc.c fails to build on Windows

Closed / Fixed945447ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-04-30 17:06:59
When building with Windows 2000/cygwin/VC++,
with configure options --enable-symbols --enable-threads,
tclThreadAlloc.c fails to compile.

The culprit appears to be the recent "header reform"
changes.  It appears that this file needs a kludge
similar to the one in tclIOUtil.c to make it compile.

Patch attached.
kennykbplain2004-05-01 00:08:02
File Added - 85656: tclThreadAlloc.patch
kennykbplain2004-05-01 00:30:59
Logged In: YES 
user_id=99768

Error messages from compilation attached
dgpplain2004-05-01 00:31:19
Logged In: YES 
user_id=80530

looks effective but kludgy.
kennykbplain2004-05-01 00:34:30
File Added - 85659: errors.txt
dgpplain2004-05-01 00:57:05
File Added - 85665: 945447.patch

Logged In: YES 
user_id=80530


Here's an alternative patch
that seems cleaner to me.
Does it work?
kennykbplain2004-05-01 01:29:40
Logged In: YES 
user_id=99768

Don's alternative patch appears to work on
Win2k/cygwin/VC++ both with and without
--enable-threads.
dgpplain2004-05-01 03:07:24
Logged In: YES 
user_id=80530

Alternative patch committed.
Log in (anonymous is fine) to add a comment.

Attachments: