Ada type in binding for C99 bool

Joseph S. Myers joseph@codesourcery.com
Tue Sep 22 19:03:00 GMT 2009


On Tue, 22 Sep 2009, Joel Sherrill wrote:

> It appears to be unsigned char or at least sizeof(bool)=1
> on the architectures I tried this test program on.

The size is determined by BOOL_TYPE_SIZE (and is not 1 byte for 
powerpc-darwin).

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc mailing list