Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 39816d99290eddb545f33aca330ae68391152ccb
Ticket: 1592791fffffffffffffffffffffffffffffffff
Fix 64bit pointer cast warnings
User & Date: das on 2006-11-16 07:11:42
Changes

  1. assignee changed to: "dgp"
  2. icomment:
    Logged In: YES 
    user_id=90580
    Originator: YES
    
    Don,
    for compilers without intptr_t, the check below in configure.in is supposed to find an integer type as wide as a pointer and define intptr_t to that, can you investigate why this doesn't work for you, or send me the part of config.log showing what fails in that test ?
    
        AC_CACHE_CHECK([for pointer-size signed integer type], tcl_cv_intptr_t, [
        for tcl_cv_intptr_t in "int" "long" "long long" none; do
    if test "$tcl_cv_intptr_t" != none; then
        AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([AC_INCLUDES_DEFAULT],
        [[sizeof (void *) <= sizeof ($tcl_cv_intptr_t)]])], 
    [tcl_ok=yes], [tcl_ok=no])
        test "$tcl_ok" = yes && break; fi
        done])
        if test "$tcl_cv_intptr_t" != none; then
    AC_DEFINE_UNQUOTED([intptr_t], [$tcl_cv_intptr_t], [Signed integer
       type wide enough to hold a pointer.])
        fi
    
    
    
  3. login: "das"
  4. mimetype: "text/plain"
  5. status changed to: "Open"
  6. username: "das"