Re: NULL vs 0 vs 0L bikeshed time

From: Marcel Moolenaar <marcel_at_xcllnt.net>
Date: Mon, 1 Mar 2004 08:19:14 -0800
On Mon, Mar 01, 2004 at 03:21:45PM +0100, Erik Trulsson wrote:
> 
> On a related note, is there some particular reason for having the C++
> definition depend on __LP64__ or could one not just as well define NULL
> as (0L) all the time there?
> (I.e. is there any platform FreeBSD runs on that have 32-bit longs and
> 64-bit pointers, or does all of them have pointers and long being the
> same size?)

On i386, we can compile IP32L64.

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel_at_xcllnt.net
Received on Mon Mar 01 2004 - 07:19:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:45 UTC