Overview
| Artifact ID: | c6ca714c2a80d3c0b91615111f41c4a900d11caf232fd681c082d30c4c0b4d1f |
|---|---|
| Ticket: | 18f2432b0db2bc0844a96f1cda544bea496323f1
Tcl_FSSplitPath compiler warning about macros |
| User & Date: | dgp on 2023-11-08 21:48:22 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- 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); - foundin changed to: "trunk"
- is_private changed to: "0"
- login: "dgp"
- priority changed to: "5 Medium"
- private_contact changed to: "8e2300e85be5dd1445b9666eb9429055951e33be"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "None"
- title changed to: "Tcl_FSSplitPath compiler warning about macros"
- type changed to: "Bug"