Overview
| Artifact ID: | 388f6ff15f755b5f598ec875d5695f027c8d02a55174ebecd2c95917295c0da4 |
|---|---|
| Ticket: | 91c5932024bdf80bfc86735587425639303fb33b
Magic around TclGetBytesFromObj issue with MS-VC 2015 64 bit |
| User & Date: | oehhar on 2022-03-17 12:49:41 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
In [fb0f56616f] (which should be similar to main), I get the following compile issue: <verbatim> C:\test\tcl9.0_tip607-encoding-failindex\win\..\generic\tclCmdAH.c(477): warning C4133: "Funktion": Inkompatible Typen - von "size_t *" zu "int *" </verbatim> The concerned line is: <verbatim> bytesPtr = (char *) TclGetBytesFromObj(interp, data, &length); </verbatim> length is of type size_t, but apparently, the function attends an int pointer. There is magic in the definition to change automatically. The environment is MS-VisualStudio 2015 with 64 bit native tools. Thank you, Harlad
- foundin changed to: "main"
- is_private changed to: "0"
- login: "oehhar"
- priority changed to: "5 Medium"
- private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "oehhar"
- subsystem changed to: "12. ByteArray Object"
- title changed to:
Magic around TclGetBytesFromObj issue with MS-VC 2015 64 bit
- type changed to: "Bug"