Bernd Schmidt a écrit : > Denys Vlasenko wrote: >> On Monday 12 January 2009 14:07, Bernd Schmidt wrote: >>>>> Rules.mak: add -funsigned-char, to forestall future PITA >>> Yeah, that's just wrong for all the reasons given in the old thread. >>> Please revert if you haven't already. >> Old thread said generated code for -fsigned-char is bigger >> on ARM. It also said there are no benefits to having char signed. >> >> But unsigned char, on the opposite, does have benefits! > > Doesn't matter. You're changing the ABI. Code outside uClibc isn't > compiled with -funsigned-char, so if it wants to call uClibc, that > shouldn't be using the flag either. > But the external ABI shouldn't depend of signedness of char : this will make impossible to do portable application.
Do you got some example where char is used in the ABI and sign is needed ? Matthieu _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
