Subject: Re: so what's happening...
To: Johnny Billquist <bqt@update.uu.se>
From: Lars Brinkhoff <lars.spam@nocrew.org>
List: port-pdp10
Date: 07/05/2002 23:17:18
Johnny Billquist <bqt@update.uu.se> writes:
> Yes, but if you return the number of words required, sizeof(char) == 1,
> sizeof(int) == 1 and sizeof(whatever *) == 1

I'm quite sure that's not allowed by the standard (unless char is 36
bits, or some other trick).

> Right, I remember now that they always use 9-bit characters...
> That's one easy way of handling things. Note though, that the value
> range of a char is -256 .. 255 (I believe it's a signed value).

GCC has been like that from day one, except char is unsigned.  I think
KCC is that way, too.

-- 
Lars Brinkhoff          http://lars.nocrew.org/     Linux, GCC, PDP-10,
Brinkhoff Consulting    http://www.brinkhoff.se/    HTTP programming