Tcl Source Code

View Ticket
Login
Ticket UUID: 945447
Title: tclThreadAlloc.c fails to build on Windows
Type: Bug Version: obsolete: 8.5a2
Submitter: kennykb Created on: 2004-04-30 17:06:59
Subsystem: 41. Memory Allocation Assigned To: dgp
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2004-05-01 03:07:24
Resolution: Fixed Closed By: dgp
    Closed on: 2004-04-30 20:07:24
Description:
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.
User Comments: dgp added on 2004-05-01 03:07:24:
Logged In: YES 
user_id=80530

Alternative patch committed.

kennykb added on 2004-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.

dgp added on 2004-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?

kennykb added on 2004-05-01 00:34:30:

File Added - 85659: errors.txt

dgp added on 2004-05-01 00:31:19:
Logged In: YES 
user_id=80530

looks effective but kludgy.

kennykb added on 2004-05-01 00:30:59:
Logged In: YES 
user_id=99768

Error messages from compilation attached

kennykb added on 2004-05-01 00:08:02:

File Added - 85656: tclThreadAlloc.patch

Attachments: