: <i>Better error-message than "interpreter uses an incompatible stubs mechanism"</i> plus 4 other changes
by
.
D 2025-05-06T09:05:33.794
J closer nobody
J icomment The\scurrent\sfix\swill\sproduce\sthe\s"this\sextension\sis\scompiled\sfor\sTcl\s8.x"\serror\smessage\sfor\sany\slibrary\swith\san\sincompatible\sstubs\smechanism.\sWhile\sthat\sdescribes\sthe\sonly\sreason\sthat\scan\shappen\sat\spresent,\sit\sfails\sto\stake\sinto\saccount\sthat\sthere\smay\sbe\sincompatible\schanges\sto\sthe\sstubs\smechanism\sin\sthe\sfuture.\sI\scan\simagine\sthat\sat\ssome\spoint\sin\sthe\sfuture\sthere\smay\sbe\sa\sTcl\s10\swith\syet\sanother\schange\sto\sthe\sstubs\smechanism.\sLoading\san\sextension\scompiled\sfor\sTcl\s10\sinto\sTcl\s9\swould\sthen\salso\sgive\sthe\s(misleading)\sindication\sthat\sthe\sextension\swas\scompiled\sfor\sTcl\s8.x.\r\n\r\nI\ssuppose\sthe\seasiest\sfix\sis\sto\schange\sthe\smessage\sto\s"this\sextension\sis\scompiled\sfor\sa\sdifferent\sTcl\smajor\sversion",\sassuming\sincompatible\schanges\sto\sthe\sstubs\smechanism\sonly\shappen\sin\sa\smajor\sversion.\sAlternative,\sin\scase\s"major\sversion"\sis\sconsidered\sjargon\sthat\smay\snot\sbe\sclear\sto\sthe\saverage\suser,\s"this\sextension\sis\snot\scompiled\sfor\sTcl\s9.x"
J login sbron
J mimetype text/x-fossil-wiki
J status Open
K fc35093cef269e906512ad028d7590f883edb0fe
U sbron
Z 40aeb0d6475f529df9397192a4d3dfd7