This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Builtin types, <limits.h>, <stdint.h> etc.


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]