64 bit architectures and C/C++

Phil Howard KA9WGN phil at ux1.cso.uiuc.edu
Wed May 1 11:12:48 AEST 1991


mvm at jedi.harris-atd.com (Matt Mahoney) writes:

>When I need to specify bits, I'm usually forced to make the 
>following assumptions:

>	char	8 bits
>	short	16 bits
>	long	32 bits

>since this is true on most machines.  Anything else would probably break
>a lot of code.

What would break if you did:

	char	8 bits
	short	16 bits
	int	32 bits
	long	64 bits

where any pointer or pointer difference would fit in 32 bits?
-- 
 /***************************************************************************\
/ Phil Howard -- KA9WGN -- phil at ux1.cso.uiuc.edu   |  Guns don't aim guns at  \
\ Lietuva laisva -- Brivu Latviju -- Eesti vabaks  |  people; CRIMINALS do!!  /
 \***************************************************************************/



More information about the Comp.lang.c mailing list