Subject: Re: C Language Standard(s)
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: David Gilbert <dgilbert@pci.on.ca>
List: current-users
Date: 12/20/1995 10:46:50
>>>>> "Jason" == Jason Thorpe <thorpej@nas.nasa.gov> writes:

Jason> On Tue, 19 Dec 1995 06:53:29 -0600 Peter Seebach
Jason> <seebs@solon.com> wrote:

Jason> "A lot."  In order for 32-bit and 64-bit code to live together
Jason> in the Grand Scheme Of Things, NetBSD currently assumes that a
Jason> pointer and long are the same size (i.e. pointers are often
Jason> cast to longs).

Jason> I can only imagine what would happen if we made that change and
Jason> then started having to conditionally #ifdef code to cast
Jason> pointers to longs on the alpha and ints everywhere else.

	IMHO, long != pointer and int != pointer... and neither should
be coersed to the other, ever.  It's just BAD.

Dave.

-- 
----------------------------------------------------------------------------
|David Gilbert, PCI, Richmond Hill, Ontario.  | Two things can only be     |
|Mail:      dgilbert@pci.on.ca                |  equal if and only if they |
|http://www.pci.on.ca/~dgilbert               |   are precisely opposite.  |
---------------------------------------------------------GLO----------------