Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f1dba04d3c19afedfd5dae74dba4cad5fde96a9a
Ticket: 3562640fffffffffffffffffffffffffffffffff
problem loading Thread in 8.5, when compiled for 8.6
User & Date: dkf on 2012-08-29 17:55:31
Changes

  1. icomment:
    If an 8.6-specific API is used (such as Tcl_GetErrorLine) then it requires that you have done a [package require Tcl 8.6] (or C equivalent) beforehand. If only the API functions used are 8.5 ones, there's a sporting chance that build with 8.6 and load into 8.5 could work, but it is a Formally Unsupported configuration.
    
    Hacking the API function into 8.5's private space isn't a good solution because it still won't be in the existing releases of 8.5. (You can't control what exact versions people use, you just can't. I wish we could get people off 8.0 for example...)
    
    For the errorline code (and equivalently the interpreter result) there's a migration strategy: define the correct symbol when building. However, it generates a warning when building against 8.6 to remind the developer that the field will go away in the future.
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"