Builtin types, <limits.h>, <stdint.h> etc.
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Sat Jul 8 14:57:00 GMT 2000
> As an example, on AIX/ppc the size of 'long' and pointers can be 32
> bits or 64 bits, controlled by a compiler switch, and the header files
> and libraries adjust themselves.
>
> The significance of this is that intptr_t needs to change depending on
> the setting of this flag.
I see. I assume that the adjustment of the headers is done with
preprocessor defines. Would it be better to adjust <stdint.h> by the
same preprocessor defines, or by compiler built-in typedefs?
Regards,
Martin
More information about the Gcc
mailing list