From owner-freebsd-current@FreeBSD.ORG Mon Mar 1 08:19:42 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DB1716A4CF for ; Mon, 1 Mar 2004 08:19:42 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id B15CD43D2D for ; Mon, 1 Mar 2004 08:19:41 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.10/8.12.10) with ESMTP id i21GJOOE088571; Mon, 1 Mar 2004 08:19:24 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) i21GJOVV059418; Mon, 1 Mar 2004 08:19:24 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.11/8.12.11/Submit) id i21GJEbw059417; Mon, 1 Mar 2004 08:19:14 -0800 (PST) (envelope-from marcel) Date: Mon, 1 Mar 2004 08:19:14 -0800 From: Marcel Moolenaar To: Thomas David Rivers , current@freebsd.org, mark@grondar.org Message-ID: <20040301161914.GA59382@dhcp01.pn.xcllnt.net> References: <200402291546.i1TFkZ0w070591@grimreaper.grondar.org> <200403011315.i21DFvC95798@lakes.dignus.com> <20040301142145.GA59401@falcon.midgard.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040301142145.GA59401@falcon.midgard.homeip.net> User-Agent: Mutt/1.4.2.1i Subject: Re: NULL vs 0 vs 0L bikeshed time X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 16:19:42 -0000 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@xcllnt.net