--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:
- iorchan.patch [download] added by andreas_kupries on 2012-05-22 22:45:19. [details]