char is not signed char

David Edelsohn dje at watson.ibm.com
Sat Aug 12 04:26:41 EST 2000


>>>>> "David L Thompson" writes:

David> Has anybody else noticed that char is not signed char but unsigend
David> char? If I write the following:

	Yes, this is up to the implementation to decide.  For PowerPC,
unsigned char is more efficient and may even be defined by the ABI.  You
can invoke GCC with -fsigned-char if you require the other behavior.

David


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list