Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b79d557c8a703bf6094564a57ab561d41c5df08b
Ticket: 1592791fffffffffffffffffffffffffffffffff
Fix 64bit pointer cast warnings
User & Date: das on 2006-11-14 05:14:49
Changes

  1. assignee changed to: "dgp"
  2. icomment:
    Logged In: YES 
    user_id=90580
    
    Don,
    that is peculiar. I now get a warning-free 64-bit build on
    the platforms I have access to...
    
    tclCompExpr.c:1249 is
        Tcl_SetHashValue(hPtr, (ClientData) INT2PTR(i));
    i.e. it uses the new macro to cast the int i to (intpt_t)
    before casting to (void*), which should prevent the warning.
    Can you investigate why it still occurs on your platform?
    maybe the configure script does not detect intptr_t
    correctly? what are the values of the defines HAVE_INTPTR_T
    and intptr_t ?
    
    
  3. login: "das"
  4. mimetype: "text/plain"
  5. status changed to: "Open"
  6. username: "das"