Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2012-05-22
23:12 • Ticket [3528601fff] --disable-threads build broken status still Closed with ... artifact: 425c87f627 user: andreas_kupries
23:05 • Closed ticket [3528601fff]. artifact: d226285faa user: dgp
22:46 • Ticket [3528601fff]: 4 changes artifact: 32a0e3f79d user: andreas_kupries
22:45 • Ticket [3528601fff]: 4 changes artifact: c0aba23f0f user: andreas_kupries
22:45 • Add attachment iorchan.patch to ticket [3528601fff] artifact: e28ef6d4bd user: andreas_kupries
2012-05-21
14:30 • New ticket [3528601fff] --disable-threads build broken. artifact: d5d6121a14 user: dgp

--disable-threads build broken

Closed / Fixed3528601fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 15 years ago
Descriptionplain2012-05-21 14:30:59
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
andreas_kupriesplain2012-05-22 22:45:20
File Added - 444159: iorchan.patch
andreas_kupriesplain2012-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.
dgpplain2012-05-22 23:05:34
allow_comments - 1

patched tested and committed.
andreas_kupriesplain2012-05-22 23:12:15
Thank you.
Log in (anonymous is fine) to add a comment.

Attachments: