Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4404ab32988cf53a639a2ecfd79b893d632d94e4
Ticket: 3562640fffffffffffffffffffffffffffffffff
problem loading Thread in 8.5, when compiled for 8.6
User & Date: nijtmans on 2012-12-10 15:49:29
Changes

  1. assignee changed to: "dgp"
  2. foundin changed to: "obsolete: 8.4.19"
  3. icomment:
    I hope that Thread 2.7.0 clears up a lot about my view on upwards
    compatibility, and that any misunderstanding is cleared up now.
    What Thread 2.7 currently does to remedy bug 3562640 is:
    #if (TCL_MAJOR_VERSION == 8)
    # undef Tcl_GetErrorLine
    # define Tcl_GetErrorLine(interp) ((interp)->errorLine)
    #endif
    
    Of course that's ugly: it does the opposite of what we really
    want: let people move to the new API. But removing it would
    mean that Thread 2.7 compiled against Tcl 8.6 headers
    will crash when run with Tcl8.4.
    
    So, please consider adding Tcl_GetErrorLine and
    Tcl_SetErrorLine to Tcl 8.4's  stub table. That would
    be another way to prevent this crash, while being
    able to remove this hack from a future Thread 2.7.x
    version.
    
    See branch "bug-3562640"
    
    I know it wouldn't work with earlier Tcl 8.4 (and 8.5)
    releases, but it's better than doing nothing. And I
    would like to close this bug, and end this
    discussion, finally.
    
    
  4. login: "nijtmans"
  5. mimetype: "text/plain"
  6. subsystem changed to: "40. Dynamic Loading"
  7. username: "nijtmans"