Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: abd81459f1b2aef3ce6f957775789674984b80f9
Ticket: 3562640fffffffffffffffffffffffffffffffff
problem loading Thread in 8.5, when compiled for 8.6
User & Date: nijtmans on 2012-08-29 06:28:42
Changes

  1. assignee changed to: "nijtmans"
  2. cmimetype changed to: "text/plain"
  3. 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.
    
    
  4. foundin changed to: "obsolete: 8.6b2"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "nijtmans"
  10. subsystem changed to: "80. Thread Package"
  11. title changed to:
    problem loading Thread in 8.5, when compiled for 8.6
    
  12. type changed to: "Bug"