Rüdiger Plüm wrote:
On 10/04/2005 06:18 PM, [EMAIL PROTECTED] wrote:
Author: colm
Date: Tue Oct 4 09:18:24 2005
New Revision: 294809
+AC_CACHE_CHECK([for void pointer length], [ap_void_ptr_lt_long],
Sorry for being confused by this, but I read your variable name
ap_void_ptr_lt_long as "(size of) void ptr is less than (size of) long",
but the assignment of "yes" and "no" is exactly the opposite. What about
AC_CACHE_CHECK([for void pointer length], [ap_void_ptr_lt_long],
Actually I'm also confused, not by the fact that we resolve this test,
but exactly what it nets us.
Much more useful would be, as I mentioned before, a test with results
if sizeof int == sizeof void* then typedef ap_intptr_t int,
if sizeof long == sizeof void* then typedef ap_intptr_t long,
and we could have unsigned (ap_uintptr_t) of the same if anyone
supposes that's useful.