> ----- Original Message ----- > From: "Meissner, Michael" <[EMAIL PROTECTED]> > Date: Wednesday, January 24, 2007 12:49 pm > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of > > [EMAIL PROTECTED] > > Sent: Wednesday, January 24, 2007 12:19 AM > > To: gcc@gcc.gnu.org > > Subject: char should be signed by default > > > > The GNU C compiler supports both dialects; you can specify the signed > > dialect with -fsigned-char and the unsigned dialect with > > -funsigned-char. However, this leaves open the question of which > > dialect to use by default. > > You use the ABI, which specifies whether chars and plain bitfields > signextend or not.
GCC ignores the ABI w.r.t. bit-fields: http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Non_002dbugs.html s/bit-fields/char/ ;-)