Thread (3 messages) 3 messages, 3 authors, 2003-12-17

Re: gcc version 2.95.3 20010315 (release/MontaVista) cross compiler

From: Bret Indrelee <hidden>
Date: 2003-12-17 23:27:04

On Wed, 17 Dec 2003, David C. Chiu wrote:
We're experiencing some unexpected behavior with binary generated with
the said version of gcc; namely that variables declared to char appear
to be defaulting to unsigned char.
[ snip ]
Can someone shed some light on this? (As in, is this "normal" and we do
not know only because we've been living under a rock ;-)
It is allowable by the specification. C89 allowed char to be either
signed or unsigned, it was up to the implementation to decide which.

-Bret

--
Bret Indrelee                 QLogic Corporation
Bret.Indrelee@qlogic.com      6321 Bury Drive, St 13, Eden Prairie, MN 55346


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help