linuxppc
Alexandre Oliva
aoliva@redhat.com
Sun Nov 12 04:55:00 GMT 2000
On Nov 12, 2000, Magnus ÃÂ
gren <isc07046@comp.nus.edu.sg> wrote:
> So I have to use the -fsigned-char flag when compiling. This is not the
> case when compiling on linux intel, shouldn't it be the same???
Nope. Whether `char' is signed or unsigned by default belongs in the
ABI specification of each platform/OS. Each ABI is likely to
privilege faster operations on the affected hardware platform, so
that, when you don't care about signedness (which you shouldn't when
using plain char), you don't pay for it.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc-bugs
mailing list