Detemining the size of int_fast8_t etc. in the frontend

Mike Stump mrs@apple.com
Wed Mar 7 20:04:00 GMT 2007


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.



More information about the Gcc mailing list