Skip to content
Tcl Source Code Artifact [92ddfc2e93]
Login

Artifact [92ddfc2e93]

Artifact 92ddfc2e93bb534daff3a577f61531e28d66dd12:

Ticket change [92ddfc2e93] - Ticket [3562640fffffffff|3562640fff] <i>problem loading Thread in 8.5, when compiled for 8.6</i> status still Open with 4 other changes by dkf on 2012-08-29 19:34:19.
D 2012-08-29T19:34:19
J icomment If\sit's\sdoing\s(effectively)\s[package\srequire\sTcl\s8.5],\sit\sshouldn't\suse\sTcl_GetErrorLine\sas\sthat's\sintroduced\sin\s8.6.\sThat\smeans\sthat\sthere'll\sbe\sa\sdeprecation\snotice\swhen\sbuilding\sagainst\s8.6\s(there's\sno\sguarantee\sthat\swe'll\smaintain\sthe\sfield\s*after*\s8.6,\sand\scertainly\snot\sin\s9.0)\sbut\sthat's\snot\sa\sbig\sdisaster.\n\n>>\sHacking\sthe\sAPI\sfunction\sinto\s8.5's\sprivate\sspace\sisn't\sa\sgood\ssolution\n>>\sbecause\sit\sstill\swon't\sbe\sin\sthe\sexisting\sreleases\sof\s8.5\n>\sAgreed,\sbut\sits\sbetter\sthan\sdoing\snothing.\nIt's\sworse,\sbecause\syou'll\shave\speople\scomplaining\sthat\sit\sdoesn't\swork\sin\s8.5\s(8.5.12\sreally).\n\nLook\sthe\srule\sis\sever\sso\ssimple.\sIf\syou\suse\san\s8.6\sAPI,\sdepend\son\s8.6.\n\nTrying\sto\sbuild\scode\sthat\sworks\swithout\srecompilation\sand\sselects\sbetween\sAPI\sversions\sat\sruntime\sis\sso\sthoroughly\swrongheaded\sI'm\salmost\sspeechless.\sThe\sright\sway\sis\sto\sdo\sa\snew\sversion\sof\sThread\swhich\sdepends\son\s8.6\sand\swhich\suses\sthe\scorrect\sAPI\swithout\snasty\sconditional\scode.\sThat\scode\swill\snot\swork\sin\s8.5\sor\sbefore,\sbut\swill\sbe\sfine\sin\s8.6.\sOr\salternatively\sbuild\sit\sfor\sthe\stwo\s"Tcl\splatforms"\sand\sselect\swhich\simplementation\sto\sload\sin\sthe\spkgIndex.tcl\s(assuming\sthat\sthe\stwo\simplement\sthe\ssame\sversion\sof\sThread's\sown\sAPI).\n
J login dkf
J mimetype text/plain
J username dkf
K 3562640fffffffffffffffffffffffffffffffff
U dkf
Z 0534c184da1498b6e8822348f9fe93a3