Artifact [54439259d5]
Not logged in

Artifact 54439259d51f71485921f7939a8e27ffd973a43ece30599e30b439ee7f68809b:

Ticket change [54439259d5] - Ticket [d556d5472319117b|d556d54723] <i>Inconsistency in Tcl declaration of Tcl_EventuallyFree and Tcl_SetResult causes warnings when compiling.</i> status still Open with 5 other changes by sysadm@prs.de 2024-07-03 16:22:20.
D 2024-07-03T16:22:20.032
J comment tclDecls.h\scomes\swith\sa\snew\sredefinition\swhich\sis\sin\seffect\swhen\scompiling\sagainst\sTcl\sstubs\s(-DUSE_TCL_STUBS)\saround\sline\s3975:\r\n\r\n#ifndef\s__cplusplus\r\n#\s\s\sundef\sTcl_EventuallyFree\r\n#\s\s\sdefine\sTcl_EventuallyFree\s\\\r\n\s\s\s\s\s\s\s\s\s\s\s((void\s(*)(void\s*,void\s*))(void\s*)(tclStubsPtr->tcl_EventuallyFree))\s/*\s132\s*/\r\n#\s\s\sundef\sTcl_SetResult\r\n#\s\s\sdefine\sTcl_SetResult\s\\\r\n\s\s\s\s\s\s\s\s\s\s\s((void\s(*)(Tcl_Interp\s*,\schar\s*,\svoid\s*))(void\s*)(tclStubsPtr->tcl_SetResult))\s/*\s232\s*/\r\n#endif\r\n\r\nThis\sshould\sbe\sdisabled\ssince\sTcl_FreeProc\sdoes\snot\smatch\sthe\sdeclared\sprototype.\sI\sremoved\sthis\ssetting\sand\srebuild\sTcl\son\sLinux/Windows/macos\swithout\sproblems\sand\sI\swas\sable\sto\scompile\sextensions\sagainst\sthe\sstub\slibrary.\r\n\r\nI\spropose\sto\sremove\sthis\squestionable\sredefinition\sto\savoid\scompiler\swarnings\sabout\snon-matching\stypes\sfor\sTCL_STATIC,\sTCL_DYNAMIC\sand\sfriends.
J login sysadm@prs.de
J mimetype text/plain
J priority 3\sLow
J resolution Works\sFor\sMe
K d556d5472319117b076232810416ca2ac41b6b6f
U sysadm@prs.de
Z 2dccea9254e87b8303707b1940822a57