<i>problem loading Thread in 8.5, when compiled for 8.6</i> status still Open with 4 other changes
by
.
D 2012-09-03T03:53:37
J icomment >\sdo\syou\sagree\sthat\sas\sa\sgeneral\n>\sanswer\sfor\smost\sextensions,\sthe\sconventional\sapproach\n>\srepresented\sby\sthe\spatch\son\sthe\sbug-3562640\sbranch\n>\sis\swhat\swe\sshould\sadvise\sextension\sauthors\sto\sdo?\n\nThe\spart\sI\sdon't\sagree\swith\sin\sthe\sbug-3562640\sbranch\nis\sthe\susage\sof\s@TCL_VERSION@\sin\spkgIndex.tcl\sin\nand\sthe\susage\sof\sTcl_InitStubs(interp,\sTCL_VERSION,\s0).\nIf\san\sextension\shas\sa\sminumum\srequired\sAPI,\sno\nmatter\sif\sit's\s"8.1",\s"8.5"\sor\s"8.6".\sThe\spkgIndex.tcl\sfile\nand\sthe\sTcl_InitStubs()\scall\sshould\ssay\sso.\sThat\sshould\nNOT\sdepend\son\sthe\sTcl\sversion\sthe\sextension\sis\ncompiled\sagainst.\n\nNormally,\swhen\san\sAPI\sis\sadded\sin\sTcl\s8.x,\sthat\smeans\nthe\sextension\shas\stwo\spossibilities.\sEither\suse\sit\sor\nnot.\sIf\sthe\snew\sAPI\sis\sused,\sIt\smeans\sthe\sextension\nmust\sincrease\sits\sminimum\srequired\sAPI,\sand\sso\nit\scannot\sbe\scompiled\sagainst\slower\sTcl\sversions\nany\smore.\n\nTIP\s#336\sis\sspecial\sin\sthis\srespect:\sIt\sdoes\snot\sadd\nan\sAPI\sfor\snew\sfunctionality,\sit\sprovides\sa\sdifferent\nAPI\sfor\sfunctionality\sthat\salready\sexisted,\sbut\nneeded\sto\sbe\saccessed\sin\sanother\sway.\sIt\nused\sto\sbe\sa\sfield\sin\sTcl_Interp,\snow\sit\sis\sa\nnew\sfunction.\sSo\snow\swe\sare\sfacing\sextensions\nwhich\salready\sused\sthe\sfunctionality,\sbut\snow\nare\sforced\sto\suse\sthe\snew\sAPI,\sotherwise\nthey\sare\spunished\swith\sa\sdeprecation\swarning.\n\nThere\swere\smore\sexamples\sof\ssuch\schanges\sin\nthe\spast,\se.g.\sTIP's\s#98,\s#330,\s#73\sand\s#139\s(The\nlatter\stwo\smoved\sAPI's\sfrom\sprivate\sto\spublic\nstub\stables,\sso\stheoretically\sextensions\swere\nnot\sallowed\sto\sused\sit,\sbut\sstill\sit\screated\sthe\nsame\sproblem\sfor\sextensions).\sNone\sof\nthose\sgenerated\sa\sdeprecation\swarning\nwhen\sthe\sold\sAPI\swas\sused\swhile\ncompiling\sagainst\sa\snewer\sTcl.\nTIP\s#336\sis\sthe\sfirst\sTIP\sdoing\sthat,\nand\sthat's\sthe\spoint\shere:\sThere\sis\nno\sway\sfor\san\sextension\sto\seliminate\nthe\sdeprecation\swarning\sand\sstill\ncompile\sand\srun\swith\smultiple\nTcl\sversions.\n\nSo,\sThread\s2.7\shas\stwo\schoices:\sLive\nwith\sthe\sdeprecation\swarning,\sand\nfunction\sas\sit\sdoes\snow,\sor\smake\nthe\sconversion\sand\sthereby\nlose\ssupport\sfor\sTcl\s8.5.\sThe\nlatter\swould\smean\sthat\steapot\nmust\ssupply\stwo\sdifferent\sthread\nversions,\s2.6\sand\s2.7,\sas\slong\nas\sTcl\s8.5\sis\salive.\n\nAs\sI\ssaid,\sthere\sis\sno\sperfect\ssolution.\n
J login nijtmans
J mimetype text/plain
J username nijtmans
K 3562640fffffffffffffffffffffffffffffffff
U nijtmans
Z 66cba51cff5fcf620a9f470ed621fb70