On 11/28/11 15:39, Bruno Haible wrote: > Do you know of any platforms where sizeof (ptrdiff_t) < sizeof (void *) ?
The standard operating mode for ILE C/C++ (for IBM i) has 16-byte pointers; I expect that sizeof (ptrdiff_t) is 8 and sizeof (void *) is 16 on such platforms, though I don't have a short citation supporting this. See, for example, Table 4 (page 112) of the ILE C/C++ Compiler Reference 7.1 (SC09-4816-05) dated 2009-11-21. <http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/topic/rzarf/sc094816.pdf>