Tcl Source Code

View Ticket
Login
Ticket UUID: 3528601
Title: --disable-threads build broken
Type: Bug Version: obsolete: 8.6b2
Submitter: dgp Created on: 2012-05-21 14:30:59
Subsystem: 27. Channel Types Assigned To: andreas_kupries
Priority: 9 Immediate Severity:
Status: Closed Last Modified: 2012-05-22 23:12:15
Resolution: Fixed Closed By: dgp
    Closed on: 2012-05-22 16:05:34
Description:
Starting with checkin 32d93a8414 a --disable-threads build fails:

/Users/dgp/fossil/tcl-only/generic/tclIORChan.c: In function ‘TclChanPostEventObjCmd’:
/Users/dgp/fossil/tcl-only/generic/tclIORChan.c:954: warning: implicit declaration of function ‘GetThreadReflectedChannelMap’
/Users/dgp/fossil/tcl-only/generic/tclIORChan.c:956: error: ‘ReflectedChannel’ has no member named ‘owner’
/Users/dgp/fossil/tcl-only/generic/tclIORChan.c:956: error: ‘ReflectedChannel’ has no member named ‘thread’
/Users/dgp/fossil/tcl-only/generic/tclIORChan.c:965: error: ‘ReflectedChannel’ has no member named ‘owner’
/Users/dgp/fossil/tcl-only/generic/tclIORChan.c:966: error: ‘ReflectedChannel’ has no member named ‘owner’
make: *** [tclIORChan.o] Error 1
User Comments: andreas_kupries added on 2012-05-22 23:12:15:
Thank you.

dgp added on 2012-05-22 23:05:34:

allow_comments - 1

patched tested and committed.

andreas_kupries added on 2012-05-22 22:46:41:
Don, attached is a possible fix for the issue, protecting the thread specific parts of ChanPostEventObjCmd() against use when building without threads.

andreas_kupries added on 2012-05-22 22:45:20:

File Added - 444159: iorchan.patch

Attachments: