Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 97855360a60263e1c087780be607ef4d0fa9e953
Ticket: 510022ffffffffffffffffffffffffffffffffff
Win64 support
User & Date: davygrvy on 2002-01-29 03:54:22
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Provided is a starting place.  0% of it has been 
    tested.  I can't run Win64 here, but can run the test 
    compiler.  All type warnings have been elimitated.  
    The most common ones involved the following:
    
    char *a = start;
    char *b = end;
    int len = (b-a);
    
    just a simple cast was added. __int64 isn't int under 
    win64 and it's obvious from the context it won't over-
    run or truncate data.
    
    int len = (int) (b-a);
    
    In the Windows code, I did get a bit specific as the 
    types are in the SDK headers:
    
    int len = (int) (ULONG_PTR) (b-a);
    
    Just so no pointer math misunderstandings happen.  If 
    b and a where Tcl_UniChar, the answer would be byte 
    length and not char length.  I might have made some 
    errors regarding this.  Watch for it :)
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "davygrvy"
  9. subsystem changed to: "None"
  10. title changed to: "Win64 support"
  11. type changed to: "Patch"