Skip to content
Tcl Source Code Artifact [29555bf1f6]
Login

Artifact [29555bf1f6]

Artifact 29555bf1f681cd9b35e2b57808f50fe20e2aa484:

Ticket change [29555bf1f6] - Ticket [3562640fffffffff|3562640fff] <i>problem loading Thread in 8.5, when compiled for 8.6</i> status still Open with 4 other changes by dgp on 2012-09-07 02:18:15.
D 2012-09-07T02:18:15
J icomment \nThe\sbenefit\sof\sputting\sTCL_VERSION\sin\sthe\nTcl_InitStubs()\scall\sis\sthat\syou\senlist\sthe\scompiler's\nhelp\sin\sdetermining\sthat\syou\struly\sare\slimiting\syourself\nto\sthe\sAPI\sversion\syou\sclaim\sto\sneed.\n\nThe\s(debatable)\sdisadvantage\sis\sthat\syou\smust\skeep\saround\nthe\sheader\sfor\sthe\searliest\sversion\sof\sTcl\syou\sintend\syour\nbinary\sto\s[load]\sinto.\s\sThis\sis\sa\ssomewhat\smore\sserious\sissue\nwhen\sthe\sbuilder\sand\sthe\sauthor\sof\sthe\sextension\sare\snot\sthe\nsame\sperson.\s\sTraining\san\saudience\sof\sbuild-bots\sthat\sit\smatters\nwhat\sTcl\sheader\sis\scompiled\sagainst\sis\ssomething\sof\san\suphill\nclimb.\n\nThe\sspeed\sof\sdeprecation\shere\sis\spart\sof\sthe\sissue.\s\sWe\smay\swell\nbe\sover-learning\sthe\slesson\sof\sinterp->result.\s\sIt\swould\snot\sbother\nme\spersonally\sto\sdrop\sthe\suse\sof\sTCL_DEPRECATED_API.\s\s\nTIP\s336\sdid\snot\scall\sfor\sthat;\sit\swas\sadded\slater.\n\n"There\sis\sno\sway\sfor\san\sextension\sto\seliminate\nthe\sdeprecation\swarning\sand\sstill\scompile\sand\srun\nwith\smultiple\sTcl\sversions."\s\sI\sthink\syou'll\sfind\sthat\nbug-3562640\sachieves\sthat.\n\n"...\steapot\smust\ssupply\stwo\sdifferent\sthread\sversions,\n2.6\sand\s2.7,\sas\slong\sas\sTcl\s8.5\sis\salive."\s\sThat's\sprecisely\nthe\sscenario\sthat\sTcl's\s[package]\sexcels\sat\ssupporting,\sso\nthat\sseems\sfine\sto\sme.\s\n
J login dgp
J mimetype text/plain
J username dgp
K 3562640fffffffffffffffffffffffffffffffff
U dgp
Z 78340845f77cb03c098122947362945a