Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

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

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. 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
    
  5. foundin changed to: "main"
  6. is_private changed to: "0"
  7. login: "oehhar"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "oehhar"
  14. subsystem changed to: "12. ByteArray Object"
  15. title changed to:
    Magic around TclGetBytesFromObj issue with MS-VC 2015 64 bit
    
  16. type changed to: "Bug"