Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: aedee947d6daff4555d058db12d3deb1704015fa
Ticket: 3562640fffffffffffffffffffffffffffffffff
problem loading Thread in 8.5, when compiled for 8.6
User & Date: nijtmans on 2012-08-29 17:34:14
Changes

  1. icomment:
    > And building against version 8.X and loading into 8.Y (where Y<X) has never
    > ever been a supported scenario.
    So, you are trying to say that Thread made a mistake, supporting to
    be compiled using 8.6 and runnung under 8.5? I don't think so!
    Tcl/Tk not supporting that is another story than Thread supporting
    that. There's code in Thread, related TIP #285 support
    (thread cancel). The only way to compile Thread with
    TIP #285 support is compiling it against 8.6 headers. If
    Thread is running on Tcl 8.5, a runtime-check makes
    sure that the TIP #285 support is disabled, so a
    single extension can handle both Tcl 8.5 and 8.6.
    
    I think that's well done, even though Tcl doesn't
    support that officially. Tk 8.6 should never be
    loadable in Tcl 8.5, I agree with that. But
    tcldde.dll and tclreg.dll work fine in Tcl 8.5,
    even when they are compiled against
    the 8.6 headers.
    
    So, we should provide something for Thread
    (and other extensions) one way or another.
    Your solution results in deprecation warnings
    when compiled against 8.6, which cannot be
    switched off. What I want is provide a way
    for extensions to upgrade their use of
    interp->errorLine, without being haunted
    with deprecation warnings and without
    causing crashes in difficult-to-debug
    situation. I gave two alternatives
    doing that.
    
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"