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 22:03:54
Johnny Billquist <bqt@update.uu.se> writes:
> Reading my C ref manual (Harbison & Steele 2:nd ed) you could very
> well have special handling of conversions between different pointer
> types.

That's my understanding from reading the C99 standard, too.

> sizeof should return storage units. That *could* mean words on a PDP-10.

Note that sizeof (char) is, by definition, 1.

> How does KCC do it?

sizeof (char) == 1, sizeof (int) == 4.

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