Q: signed vs unsigned char, PPC vs x86 gcc 3.3.5 compiler differences

Hollis Blanchard hollis at penguinppc.org
Mon Oct 3 12:22:13 EST 2005

On Oct 2, 2005, at 9:11 PM, Bob Brose wrote:

> If I change the declaration of atest to a signed char on PPC I get the
> same result as x86.
> Does this mean the char in x86 is signed and in PPC it's unsigned?
> Has it always been thus?

Yes, and yes. If it matters to you, you should explicitly use "signed 
char" or "unsigned char"...


More information about the Linuxppc-dev mailing list