Skip to content
Tcl Source Code Artifact [f2b22eb907]
Login

Artifact [f2b22eb907]

Artifact f2b22eb907880a406faa55688dfbe8f50eafd8a2:

Ticket change [f2b22eb907] - Pending ticket [dfc08326e3ffc570|dfc08326e3]: <i>Symbols not exported correctly</i> plus 4 other changes by jan.nijtmans on 2013-09-30 08:51:47.
D 2013-09-30T08:51:47.830
J closer nobody
J icomment I\sam\sfailing\sto\ssee\sthe\simprovement\sof\sthis\schange.\sI\stested\sit,\sand\sit\sdoesn't\scause\sany\simmediate\sproblems\seither.\sAs\sstwo\scommented,\sproblably\sthe\sonly\sthing\smissing\sin\shis\ssetup\swas\sthe\sTcl_OOInitStubs()\scall.\r\n\r\nThe\sonly\sdisadvantage\sof\sthis\scommit\sis\sthat\sit\swould\sprevent\screating\sa\sstub-enabled\sTclOO\sextension\s(e.g.\sItcl)\scompiled\sagainst\s8.5\sheaders,\r\nwhich\sstatically\slinks\sto\stclOO\s(with\sa\sruntime-check\sfor\sTcl8.6).\sIf\sthe\r\nTclOO\ssymbols\sare\sexported\sthat\swould\scause\sduplicate\ssymbols,\swith\sstock\r\nTcl\s8.6.0\sor\s8.6.1\sthat\swouldn't\sbe\sproblem.\sSince\scompiling\sItcl\r\nwith\sTclOO\sgives\swarnings\s(TclOONewProcInstanceMethodEx\r\nand\sTclOONewProcMethodEx\shave\sa\sdifferent\ssignature)\sand\sItcl\s4.0\swith\r\n8.5\sappears\snot\sto\sbe\ssupported\sanyway,\sit\sreally\sis\sno\sproblem.\r\n\r\nSince\sTcl\s9.0\suses\sthe\sTCL<PACKAGENAME>API\sconvention\severywhere,\sI\swould\r\nbe\svery\sinterested\sto\sknow\swhat's\sthe\sproblem\swith\sthat\sapproach.\sSo\sfar\r\nI\sam\snot\saware\sof\sany\sproblem,\sthat's\swhy\sI\sbackported\sthat\sfrom\sTcl\s9\r\nto\s8.6\sfor\sTclOO\sonly.\sReverting\sthat\schange\swould\sbe\sa\spity.\r\n\r\n>This\sis\snot\sa\ssupported\sconfiguration\swith\sthe\sexternal\spackage\sform\r\n>of\sTclOO,\sbut\sshould\sbe\ssupported\swith\sTcl\s8.6\sonwards;\sI\sintend\r\n>to\schange\sthis\sASAP.\s\r\nI\sdon't\ssee\sany\sadded\svalue\sin\ssupporting\sthis:\swhether\sTcl\sand/or\sTclOO\r\nare\scompiled\sas\sstatic\sor\sdynamic\slibrary\sis\sorthogonal\sto\swhether\sit's\r\nsymbols\sare\sexported\sthrough\sthe\sStub\stable\sor\sas\ssymbols\sor\sboth\r\nfrom\sit's\sdynamic\slibrary.\sCalling\sTcl_OOInitStubs()\sis\sthe\ssolution\r\nto\sany\sproblem,\sas\sfar\sas\sI\sknow.\r\n\r\nI\swould\srecommend\sto\srevert\sthis\schange,\sunless\ssomeone\scan\spoint\r\nout\sa\sproblem\swith\sthe\soriginal\sappoach.\sSince\stkImg\sand\sTcl\s9.0\r\nuse\sthe\sTCL<PACKAGENAME>API\sapproach\sas\swell,\sI'm\svery\sinterested\sin\r\nany\spossible\sproblems\sthat\smight\scause.
J login jan.nijtmans
J mimetype text/plain
J status Pending
K dfc08326e3ffc570f5d0af51372f6c6043ad03a9
U jan.nijtmans
Z a5aad1d22639151b773bfeb318d49608