Skip to content
Tcl Source Code Artifact [88a791ff66]
Login

Artifact [88a791ff66]

Artifact 88a791ff6681a9804bd90c04f4ac6a92199a5c44863f231243f6874781ee99fc:

Ticket change [88a791ff66] - Closed ticket [18f2432b0db2bc08|18f2432b0d]: <i>Tcl_FSSplitPath compiler warning about macros</i> plus 8 other changes by jan.nijtmans on 2023-11-08 22:46:26.
D 2023-11-08T22:46:26.536
J assignee jan.nijtmans
J closedate 2460257.44891824
J closer jan.nijtmans
J comment Another\sentry\sin\sthe\s"compatibility\smacros\sdo\snot\slike\sNULL"\schapter:\r\n\r\n\r\n\r\nIn\sfile\sincluded\sfrom\s/home/dgp/fossil/tcl/generic/tcl.h:2431:0,\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sfrom\s/home/dgp/fossil/tcl/generic/tclPort.h:25,\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sfrom\s/home/dgp/fossil/tcl/generic/tclInt.h:63,\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sfrom\s/home/dgp/fossil/tcl/generic/tclCmdAH.c:14:\r\n/home/dgp/fossil/tcl/generic/tclCmdAH.c:\sIn\sfunction\s‘PathSplitCmd’:\r\n/home/dgp/fossil/tcl/generic/tclDecls.h:4257:50:\swarning:\sinvalid\sapplication\sof\s‘sizeof’\sto\sa\svoid\stype\s[-Wpointer-arith]\r\n\s#\sdefine\sTcl_FSSplitPath(pathPtr,\slenPtr)\s(sizeof(*(lenPtr))\s==\ssizeof(int)\s?\s\\\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s^\r\n/home/dgp/fossil/tcl/generic/tclCmdAH.c:2077:11:\snote:\sin\sexpansion\sof\smacro\s‘Tcl_FSSplitPath’\r\n\s\s\s\s\sres\s=\sTcl_FSSplitPath(objv[1],\sNULL);
J icomment Thanks\sfor\sthe\sreport!.\sFixed[ba07d0573a|here].\sNo\sfurther\scomment\s:-)
J login jan.nijtmans
J mimetype text/x-fossil-wiki
J resolution Fixed
J status Closed
K 18f2432b0db2bc0844a96f1cda544bea496323f1
U jan.nijtmans
Z 9a085ab043d9bd309e0afc7f6af1f46a