[TUHS] v7 K&R C
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 963 bytes
Desc: not available
More information about the TUHS