Skip to content
Tcl Source Code History Of Ticket 22547f9053402a46
Login

History Of Ticket 22547f9053402a46

Artifacts Associated With Ticket 22547f9053402a46

  1. Ticket change [2fc9a3c983] (rid 198323) by dgp on 2022-02-18 16:40:09:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      /home/dgp/fossil/tcl8.7/generic/tclOODefineCmds.c: In function ‘TclOODefineMethodObjCmd’:
      /home/dgp/fossil/tcl8.7/generic/tclOODefineCmds.c:2004:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
        if (Tcl_GetIndexFromObj(interp, objv[2], exportModes, "export flag",
        ^
      
    5. foundin initialized to: "8.7"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "dgp"
    13. subsystem initialized to: "35. TclOO Package"
    14. title initialized to: "TIP 519 compiler warning"
    15. type initialized to: "Bug"
  2. Ticket change [5be90df77b] (rid 198324) by dgp on 2022-02-18 16:40:23:

    1. assignee changed to: "dkf"
    2. login: "dgp"
    3. mimetype: "text/plain"
  3. Ticket change [186f076996] (rid 198328) by jan.nijtmans on 2022-02-18 17:01:50:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2459629.20961117"
    3. closer changed to: "jan.nijtmans"
    4. icomment:
      Fixed [b719e05421270833|here]. The type-cast originally used was illegal anyway (since there is no guarantee that sizeof(enum) == sizeof(int)). Starting with TIP #613, it is now legal to use an enum with Tcl_GetIndexFromObj(), but then the (illegal) type-cast doesn't help anymore to hide the real problem.
      
      Thanks, Don, for noticing this!
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"