lkml.org 
[lkml]   [2005]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Kill signed chars !!! => PPC uses unsigned chars
Date
The signedness of 'char' is never certain between compilers.  There are x86
C compilers that implemented 'char' as unsigned, others as signed, and
others that offered a compile switch to do either way if the default didn't
work with the code being compiled.

When it matters, just be explicit :)

----- Original Message -----
From: "Willy Tarreau" <willy@w.ods.org>
To: "J.A. Magallon" <jamagallon@able.es>
Cc: <linux-kernel@vger.kernel.org>; "Andrew Morton" <akpm@osdl.org>
Sent: Tuesday, June 21, 2005 08:54
Subject: Re: Kill signed chars !!! => PPC uses unsigned chars
>
> Well, to my surprize, linux-ppc uses UNSIGNED chars by default. It has
amazed
> me but it's a fact. Let's compile this little program on tux-ppc :

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-21 15:38    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site