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]
Other format: [Raw text]

Re: Detemining the size of int_fast8_t etc. in the frontend


On Mar 7, 2007, at 11:21 AM, Tobias Burnus wrote:
Using "#include <stdint.h>" with e.g. sizeof(int_fast8_t) does not work with cross compilations.

Sounds like a bug? When I try it on my compiler, it works just fine natively and with cross compilations. I'd file a bug report. If it is an OS bug, it can be fixed by fixincludes.


What is the proper way to obtain this information?

Autoconf with sizeof(int_fast16_t,) and sizeof(int_fast8_t) strikes me as one possibility.



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