>So, I guess the gcc-2.7.2.3 does automatic typecasting, the cross-egcs >does not ? And the native char seems to be signed, while the cross-char >unsigned ? I wonder what the ANSI C docs say about this. ISO C allows char to be either signed or unsigned by default. On the ARM it is unsigned because zero-extension is so much faster than sign extension. You can override this with the -fsigned-char option to gcc. I think RPM does this by default. In the case you quoted the code is at fault and the compiler is correct. p. unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
- 2.2.2-rmk2 crash on boot Timothy Baldwin
- Re: 2.2.2-rmk2 crash on boot Nicholas Clark
- Re: 2.2.2-rmk2 crash on boot Philip Blundell
- Is char signed or unsigned ? Zsolt Kiraly
- Re: Is char signed or unsi... Russell King
- Re: Is char signed or unsi... Philip Blundell
- Re: Is char signed or unsi... Dr. David Alan Gilbert
- Re: 2.2.2-rmk2 crash on boot Russell King - ARM Linux Admin
- Re: 2.2.2-rmk2 crash on boot Russell King - ARM Linux Admin
- Re: 2.2.2-rmk2 crash on bo... Timothy Baldwin
- __FD_SET Nicholas Clark
- Re: __FD_SET Philip Blundell
- Re: __FD_SET Nicholas Clark
- Re: __FD_SET Philip Blundell
- Re: 2.2.2-rmk2 crash ... Nicholas Clark
- Re: 2.2.2-rmk2 cr... Russell King - ARM Linux Admin
