> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 25, 2007 1:54 PM
> To: Meissner, Michael
> Cc: gcc@gcc.gnu.org
> Subject: Re: RE: char should be signed by default
>
> > - Original Message -
> >
D]
> > 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
>
> -Original Message-
> From: Gabriel Paubert [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 25, 2007 5:43 AM
> To: Paolo Bonzini
> Cc: Meissner, Michael; [EMAIL PROTECTED]; gcc@gcc.gnu.org
> Subject: Re: [OT] char should be signed by default
>
> On Thu, Ja
On Thu, Jan 25, 2007 at 10:29:29AM +0100, Paolo Bonzini wrote:
>
> >>A given program is written in one or the other of these two dialects.
> >>The program stands a chance to work on most any machine if it is
> >>compiled with the proper dialect. It is unlikely to work at all if
> >>compiled with t
A given program is written in one or the other of these two dialects.
The program stands a chance to work on most any machine if it is
compiled with the proper dialect. It is unlikely to work at all if
compiled with the wrong dialect.
It depends on the program, and whether or not chars in the
> -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
>
> GCC should treat plain char in the same
I probably should add
;-)
and
http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Non_002dbugs.html
On Tue, 2007-01-23 at 23:19 -0600, [EMAIL PROTECTED] wrote:
> GCC should treat plain char in the same fashion on all types of machines
> (by default).
No, no, no. It is up to the ABI what char is.
> The ISO C standard leaves it up to the implementation whether a char
> declared plain char is sig
GCC should treat plain char in the same fashion on all types of machines
(by default).
The ISO C standard leaves it up to the implementation whether a char
declared plain char is signed or not. This in effect creates two
alternative dialects of C.
The GNU C compiler supports both dialects; you ca