Artifacts Associated With Ticket 22547f9053
Ticket change [2fc9a3c983] (rid 198323) by dgp on 2022-02-18 16:40:09:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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", ^
- foundin initialized to: "8.7"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "35. TclOO Package"
- title initialized to: "TIP 519 compiler warning"
- type initialized to: "Bug"
Ticket change [5be90df77b] (rid 198324) by dgp on 2022-02-18 16:40:23:
- assignee changed to: "dkf"
- login: "dgp"
- mimetype: "text/plain"
Ticket change [186f076996] (rid 198328) by jan.nijtmans on 2022-02-18 17:01:50:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2459629.20961117"
- closer changed to: "jan.nijtmans"
- 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!
- login: "jan.nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"