From owner-freebsd-current@FreeBSD.ORG Mon Mar 1 22:31:49 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 63F1216A4CE for ; Mon, 1 Mar 2004 22:31:49 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC4FF43D1F for ; Mon, 1 Mar 2004 22:31:48 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.10/8.12.9) with ESMTP id i226Uwkj052094; Mon, 1 Mar 2004 23:30:59 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Mon, 01 Mar 2004 23:31:01 -0700 (MST) Message-Id: <20040301.233101.81684205.imp@bsdimp.com> To: rivers@dignus.com From: "M. Warner Losh" In-Reply-To: <200403011315.i21DFvC95798@lakes.dignus.com> References: <200402291546.i1TFkZ0w070591@grimreaper.grondar.org> <200403011315.i21DFvC95798@lakes.dignus.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: current@freebsd.org cc: mark@grondar.org 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: Tue, 02 Mar 2004 06:31:49 -0000 In message: <200403011315.i21DFvC95798@lakes.dignus.com> Thomas David Rivers writes: : But - I believe (and I need to check on this) that the C++ : standard requires the NULL constant to be a pointer type (so : various conversions work.) C++ needs it to be a 0, not a pointer. Warner