[TUHS] v7 K&R C
Peter Jeremy
peter at rulingia.com
Sat May 16 10:31:10 AEST 2020
On 2020-May-15 16:56:42 -0400, Steve Nickolas <usotsuki at buric.co> wrote:
>Isn't it nonstandard (although I am aware of some compilers that do it) to
>default the type of char to unsigned?
The standard allows "char" to be either signed or unsigned. The ARM ABI
defines char as unsigned.
I recall that Lattice C on the M68K allowed either signed or unsigned char
via a flag. Setting it to "unsigned" generally produced faster code on
my Amiga, though some code assumed signed chars and broke.
--
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20200516/bec7419f/attachment.sig>
More information about the TUHS
mailing list