Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-05-01
03:07 • Closed ticket [945447ffff]: tclThreadAlloc.c fails to build on Windows plus ... artifact: c3b683973d user: dgp
01:29 • Ticket [945447ffff]: 5 changes artifact: abf4024648 user: kennykb
00:57 • Ticket [945447ffff]: 4 changes artifact: be9fce7feb user: dgp
00:57 • Add attachment 945447.patch to ticket [945447ffff] artifact: ea67f790bd user: dgp
00:34 • Ticket [945447ffff] tclThreadAlloc.c fails to build on Windows status still ... artifact: 7ab2c9eee6 user: kennykb
00:34 • Add attachment errors.txt to ticket [945447ffff] artifact: a7a50b81bf user: kennykb
00:31 • Ticket [945447ffff] tclThreadAlloc.c fails to build on Windows status still ... artifact: a7eb82b659 user: dgp
00:30 • Ticket [945447ffff]: 4 changes artifact: 4667f705a1 user: kennykb
00:08 • Ticket [945447ffff]: 4 changes artifact: 1d21004360 user: kennykb
00:08 • Add attachment tclThreadAlloc.patch to ticket [945447ffffffffff|945447f... artifact: 7d1edc36bc user: kennykb
2004-04-30
17:06 • New ticket [945447ffff] tclThreadAlloc.c fails to build on Windows. artifact: b6331d2cfd user: kennykb

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: