Overview
| Artifact ID: | 0bd917805a3f0cbb030cac76bd734cd9b2f68c59 |
|---|---|
| Ticket: | 3562640fffffffffffffffffffffffffffffffff
problem loading Thread in 8.5, when compiled for 8.6 |
| User & Date: | nijtmans on 2012-08-29 18:38:11 |
Changes
- icomment:
> it really needs to do the correct [package requires] as well. That's why it has a: if {[package vsatisfies [package provide Tcl] 8.5] && [::tcl::pkgconfig get threaded]} { because that's the miminum supported version, even if compiled against 8.6 headers. > 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 Agreed, but its better than doing nothing. > However, it generates a warning when building against 8.6 to > remind the developer that the field will go away in the future Well, if the developer used: #if (TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION < 6) #define ERRORLINE(interp) ((interp)->errorLine) #else #define ERRORLINE(interp) (Tcl_GetErrorLine(interp)) #endif Then why does it still need to being reminded? He already did what he should do. - login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"