Overview
| Artifact ID: | b6fbd627af09a389519881adb8c7b58b89e75afe |
|---|---|
| Ticket: | 3588687fffffffffffffffffffffffffffffffff
Tcl_InitStubs() Broken As Designed |
| User & Date: | dgp on 2012-11-28 09:49:05 |
Changes
- icomment:
The branch/patch is off the trunk, not off novem, This is a fix proposed to go into libtclstub8.6.a. When I merge it forward to the novem branch, I would do just what you suggest, and omit the Tcl_InitStubs() call completely. An extension compiled against 8.* headers will simply refuse to link to a Tcl 9 stubs library. Ok, so the patch would be improved if we just force that linking error to show up at the 8.5->8.6 transition and start using the runtime error detection right away. I shied away from that because you've observed many times that we version the libstubs.a file for no apparent reason, and now we would at last have one.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"