Skip to content
Tcl Source Code Artifact [fdee532212]
Login

Artifact [fdee532212]

Artifact fdee532212d316a4cee84178650c3d66acbf509cfbfffa2e12ef1f928fdb028e:

Ticket change [fdee532212] - Pending ticket [26870862f0e8884e|26870862f0]: <i>Wrong sentinel in Tcl_SetErrorCode usage</i> plus 5 other changes by jan.nijtmans on 2023-10-19 18:19:28.
D 2023-10-19T18:19:28.940
J icomment Addition:\sFor\sC++-compilers,\sthe\sproblem\sis\sthat\ssome\sC++-compilers\s(e.g.\sclang-8.0.1)\sdefine\s"NULL"\sas\sidentical\sto\s"0",\swhich\sis\sallowed\sin\sC++-land.\sSee:\s[https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95700]\r\n\r\nThe\sonly\sway\swhich\sshould\swork\swith\sall\sC++-compilers\sis\susing\s(void\s*)NULL.\r\n\r\nIn\sC,\sthis\sis\sno\sproblem.\sWe\sdon't\swant\sto\sforce\sextension-writers\sto\sdo\sthe\ssame:\sMany\sextensions\sdon't\scare\sabout\sC++.\r\n\r\nC++-case\shandled\s[234ff497c44f843c|here]\r\n\r\nStill\skeeping\sopen,\sit\swould\sbe\snice\sto\shave\sthe\scompiler\scheck\sfor\sthis\sby\sdefault.
J login jan.nijtmans
J mimetype text/x-fossil-wiki
J resolution Fixed
J severity Severe
J status Pending
K 26870862f0e8884eaec02c5a3bbc4caf2431a310
U jan.nijtmans
Z f268bcc5b1ec5373d3cb301fb0ad112c