Adriaan van Os wrote:
Frank Heckenbach wrote:
Sure. But I'm not sure if the ABI for one particular target, once determined, will change in the future.
Future new 64 targets might well have 64 bit `int' indeed. But AFAIK for the existing 64 targets (such as Intel, AMD, Sparc, Alpha) ABIs have been determined, and I think it's unlikely to see completely new 64 bit targets soon ...
The upcoming release of Mac OS X supports 64-bit binaries: long, long long and void* will be 64-bit, int will be 32-bit (see http://www.apple.com/macosx/tiger/64bit.html).
Yes, so I don't expect `int' to ever become 64 bit on Mac OS X (at least until the appearance of 128 bit binaries perhaps :-).
BTW, maybe that's all just because they'd have no 32 bit type otherwise. `short' remains 16 bit (I suppose), and adding a name between `short' and `int' was perhaps deemed less desirable than adding more `long's. But we can't influence this anyway ...
Frank