unsigned char vs. signed char

Eric Sandeen sandeen at redhat.com
Tue Jul 15 18:00:01 UTC 2014


On 7/15/14, 11:40 AM, Orion Poplawski wrote:
> Did you know that "char" defaults to "signed char" on x86 but "unsigned char" on ppc and arm?  I didn't.
> 
> Just a heads up.
> 

I did, because due to XFS's history, it maked an assumption that's not true on x86.

We had -funsigned-char in the Makefile up until around 2010, when we finally decided that the code was clean without it.  :)

-Eric


More information about the devel mailing list