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
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2458257.76823713"
- closer changed to: "jan.nijtmans"
- 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.
- login: "jan.nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Out of Date"
- severity changed to: "Minor"
- status changed to: "Closed"