Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4cd44b362ed98211dc008499bbb0fc8d99d42d2090ef65f211c33bed9b0e612a
Ticket: 3562640fffffffffffffffffffffffffffffffff
problem loading Thread in 8.5, when compiled for 8.6
User & Date: jan.nijtmans on 2018-05-19 06:26:15
Changes

  1. assignee changed to: "jan.nijtmans"
  2. closedate changed to: "2458257.76823713"
  3. closer changed to: "jan.nijtmans"
  4. comment changed to:
    (Reported on Tcl because Thread is not the only package suffering from this)
    
    In Tcl 8.6, (interp)->errorLine became deprecated. In order to prevent the
    deprecation warning, extensions should do something like:
    #if (TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION < 6)
    #define ERRORLINE(interp) ((interp)->errorLine)
    #else
    #define ERRORLINE(interp) (Tcl_GetErrorLine(interp))
    #endif
    
    The problem with this is that when Thread is compiled
    using Tcl 8.6 but run on Tcl 8.5, the  Tcl_GetErrorLine
    call will crash because Tcl 8.5 does not have it.
    
  5. login: "jan.nijtmans"
  6. mimetype: "text/plain"
  7. resolution changed to: "Out of Date"
  8. severity changed to: "Minor"
  9. status changed to: "Closed"