Overview
| Artifact ID: | 39816d99290eddb545f33aca330ae68391152ccb |
|---|---|
| Ticket: | 1592791fffffffffffffffffffffffffffffffff
Fix 64bit pointer cast warnings |
| User & Date: | das on 2006-11-16 07:11:42 |
Changes
- assignee changed to: "dgp"
- 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 - login: "das"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "das"