Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83 (MC830713); site edai.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!ukc!edcaad!edee!edai!ok
From: ok@edai.UUCP (Richard O'Keefe)
Newsgroups: net.lang.c
Subject: integer sizes again
Message-ID: <4305@edai.UUCP>
Date: Sat, 9-Jun-84 22:47:07 EDT
Article-I.D.: edai.4305
Posted: Sat Jun  9 22:47:07 1984
Date-Received: Wed, 13-Jun-84 06:56:02 EDT
Organization: Art.Intelligence,Edin.Univ.
Lines: 13

[This is positively my last message about this.]
I've got a program that was written on a VAX, where int=long=4 bytes.
To make sure that it would run on systems where long=4=char* but
int=2, I carefully went through it changing int to long everywhere
it had to be the same as a pointer size.  (There is no way the
program will run on a 16-bit machine.)

We just got Sargasso C for our Dec-10.  I'm looking forward to
using it.  BUT it defines "long" to be SEVENTY bit integers.
(Stored in 2 36-bit words.)  And a pointer is 18 bits.

My program now starts with typedefs for a variety of integer types.
OUCH.  Viva Pascal!  (Well, parts of Pascal.)