On 31/01/12 6:29 PM, Fred Cisin wrote:
On 31 Jan 2012 at 14:17, schoedel at
kw.igs.net
wrote:
The smallest unit addressable in standard C, the
char, must be at
least 8 bits. It can be 9, or 36 for that matter.
EXACTLY!
In the early days of the Mac, I played briefly (long enough to walk away
from) a compiler that had 16 bits as sizeof(char)
MPW still hosts a 68K compiler with that property; at least until
PowerPC it was a common runtime model. It's not really a big deal to
write C code such that this would not be a problem, and certainly no
trickier than being 32/64 portable.
--Toby