From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 8 17:01:04 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F2D416A4EB; Fri, 8 Oct 2004 17:01:04 +0000 (GMT) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2208743D70; Fri, 8 Oct 2004 17:00:54 +0000 (GMT) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id E21D05310; Fri, 8 Oct 2004 19:00:52 +0200 (CEST) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id DD4B0530A; Fri, 8 Oct 2004 19:00:45 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 2602) id A5E51B85E; Fri, 8 Oct 2004 19:00:45 +0200 (CEST) To: Sam References: <20041005054213.GA11770@lesanti.hq.sinectis.com.ar> <20041005202816.GA14973@titan.klemm.apsfilter.org> <20041005205040.GH31397@lesanti.hq.sinectis.com.ar> <20041006060437.GA23364@titan.klemm.apsfilter.org> <416579E1.8050308@nuclearelephant.com> <20041008173138.Y14215@beagle.kn.op.dlr.de> <20041008161442.GA9862@ack.Berkeley.EDU> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Fri, 08 Oct 2004 19:00:45 +0200 In-Reply-To: (sah@softcardsystems.com's message of "Fri, 8 Oct 2004 12:25:45 -0500 (EST)") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.64 cc: hackers@freebsd.org cc: Mike Hunter cc: Harti Brandt Subject: Re: please help with: warning: initialization makes integer from pointer X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2004 17:01:04 -0000 Sam writes: > If there are, I'd be interested to know of them. http://www.eskimo.com/~scs/C-faq/q5.17.html > Like zero'ing out bss, the definition of NULL as 0 is > left as implementation specific. no, zeroing out bss is (indirectly) required by the standard (ISO-IEC-9899:1999 =A76.9.2) http://www.eskimo.com/~scs/C-faq/q1.30.html DES --=20 Dag-Erling Sm=F8rgrav - des@des.no