Overview
| Artifact ID: | 88a791ff6681a9804bd90c04f4ac6a92199a5c44863f231243f6874781ee99fc |
|---|---|
| Ticket: | 18f2432b0db2bc0844a96f1cda544bea496323f1
Tcl_FSSplitPath compiler warning about macros |
| User & Date: | jan.nijtmans on 2023-11-08 22:46:26 |
Changes
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2460257.44891824"
- closer changed to: "jan.nijtmans"
- comment changed to:
Another entry in the "compatibility macros do not like NULL" chapter: In file included from /home/dgp/fossil/tcl/generic/tcl.h:2431:0, from /home/dgp/fossil/tcl/generic/tclPort.h:25, from /home/dgp/fossil/tcl/generic/tclInt.h:63, from /home/dgp/fossil/tcl/generic/tclCmdAH.c:14: /home/dgp/fossil/tcl/generic/tclCmdAH.c: In function ‘PathSplitCmd’: /home/dgp/fossil/tcl/generic/tclDecls.h:4257:50: warning: invalid application of ‘sizeof’ to a void type [-Wpointer-arith] # define Tcl_FSSplitPath(pathPtr, lenPtr) (sizeof(*(lenPtr)) == sizeof(int) ? \ ^ /home/dgp/fossil/tcl/generic/tclCmdAH.c:2077:11: note: in expansion of macro ‘Tcl_FSSplitPath’ res = Tcl_FSSplitPath(objv[1], NULL); - icomment:
Thanks for the report!. Fixed[ba07d0573a|here]. No further comment :-)
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"