Skip to content
Tcl Source Code Artifact [92940d9e5f]
Login

Artifact [92940d9e5f]

Artifact 92940d9e5f4dddef1748ab595effdb0aac13e0c225d4de9669d26ce32eab713f:

Ticket change [92940d9e5f] - Ticket [8ab8a138c9156e5a|8ab8a138c9] <i>Functions passed to Tcl_EventuallyFree() must be declared/defined as Tcl_FreeProc</i> status still Pending with 3 other changes by chrstphrchvz on 2023-10-11 12:20:45.
D 2023-10-11T12:20:45.079
J icomment How\sare\sthe\schanges\sto\stclDecls.h\sbeneficial?\sThey\sensure\sthe\ssuppression\sof\scompiler\swarnings\s(or\serrors\sas\sof\sLLVM\sClang\s16,\sby\sdefault)\sregarding\spassing\sof\sincompatible\sfunction\spointers.\sCurrently,\sI\sbelieve\sit\swould\sbe\sbetter\sto\snot\ssuppress\sthose\scompile-time\scomplaints,\sparticularly\ssince\sthey\shelp\sidentify\sand\sfix\swould-be\s<tt>-fsanitize=function</tt>\serrors,\sat\sleast\sfor\sthe\siterative\sworkflow\sI\sused\s(remove\sany\sexisting\scasts\sto\s<tt>(Tcl_FreeProc\s*)</tt>\sby\s<tt>Tcl_EventuallyFree()</tt>\susers,\sthen\sfix\sdeclarations\sin\sresponse\sto\scompiler\scomplaints\sof\spassing\sincompatible\sfunction\spointers,\sthen\sfix\sdefinitions\sin\sresponse\sto\scompiler\scomplaints\sof\sdeclaration/definition\smismatch).
J login chrstphrchvz
J mimetype text/x-fossil-wiki
K 8ab8a138c9156e5a5a4a386310c6fd11608b8805
U chrstphrchvz
Z aa1f4ff1bc67cb63d8900654dc200bcd