Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bdd4b9f9839c6ef50a18bb939517e26251a4dc9b
Ticket: 3562640fffffffffffffffffffffffffffffffff
problem loading Thread in 8.5, when compiled for 8.6
User & Date: nijtmans on 2012-11-12 18:18:20
Changes

  1. foundin changed to: "current: 8.6.0"
  2. icomment:
    Thread now merged the "thread-2-7for84+" branch into trunk, which means
    that support for Tcl 8.4/8.5 and AOL-/Naviserver is fully restored. However,
    the result is that compiling Thread 2.6.0 with Tcl 8.6 will give the
    deprecation warning again.
    
    My proposed solution:
    <http://core.tcl.tk/tcl/vdiff?from=5fbbfc2a809c5b83&to=5339e19ee5ccb634>
    
    >This issue does need some semi-authoritatve resolution
    >before Tcl 8.6.0 release, though, because we ought to
    >have posted some migration advice for app and extension
    >authors moving from Tcl 8.5 to Tcl 8.6.
    With this solution, the migration advise for extensions writers
    would be to use the following lines somewhere:
    
    #if (TCL_MAJOR_VERSION == 8) && (TCL_MAJOR_VERSION < 6)
    #   define Tcl_GetErrorLine(interp) ((interp)->errorLine)
    #endif
    
    This means that the extension can start using Tcl_GetErrorLine(),
    and still it compiles and runs fine with Tcl 8.4/8.5
    
    
  3. login: "nijtmans"
  4. mimetype: "text/plain"
  5. username: "nijtmans"