Skip to content
Tcl Source Code History Of Ticket 18f2432b0db2bc08
Login

History Of Ticket 18f2432b0db2bc08

Artifacts Associated With Ticket 18f2432b0db2bc08

  1. Ticket change [c6ca714c2a] (rid 220058) by dgp on 2023-11-08 21:48:22:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. comment initialized 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);
      
    5. foundin initialized to: "trunk"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "8e2300e85be5dd1445b9666eb9429055951e33be"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "dgp"
    14. subsystem initialized to: "None"
    15. title initialized to: "Tcl_FSSplitPath compiler warning about macros"
    16. type initialized to: "Bug"
  2. Ticket change [88a791ff66] (rid 220069) by jan.nijtmans on 2023-11-08 22:46:26:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2460257.44891824"
    3. closer changed to: "jan.nijtmans"
    4. 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);
      
    5. icomment:
      Thanks for the report!. Fixed[ba07d0573a|here]. No further comment :-)
      
    6. login: "jan.nijtmans"
    7. mimetype: "text/x-fossil-wiki"
    8. resolution changed to: "Fixed"
    9. status changed to: "Closed"