From owner-freebsd-current@FreeBSD.ORG Tue Jul 15 11:54:20 2003 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 5407A37B405 for ; Tue, 15 Jul 2003 11:54:20 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79D1E43FB1 for ; Tue, 15 Jul 2003 11:54:16 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.9/8.12.9) with ESMTP id h6FIs8ju024453; Tue, 15 Jul 2003 11:54:08 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.9/8.12.9/Submit) id h6FIs68o024415; Tue, 15 Jul 2003 11:54:06 -0700 (PDT) Date: Tue, 15 Jul 2003 11:54:06 -0700 From: "David O'Brien" To: Harti Brandt Message-ID: <20030715185406.GA12119@dragon.nuxi.com> References: <7madbg60b1.wl@black.imgsrc.co.jp> <20030715075429.M34004@beagle.fokus.fraunhofer.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030715075429.M34004@beagle.fokus.fraunhofer.de> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.1-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: Jun Kuriyama cc: Current Subject: Re: src/bin/ed/re.c: warning: declaration of `exp' shadows a global declaration X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 18:54:20 -0000 On Tue, Jul 15, 2003 at 07:59:43AM +0200, Harti Brandt wrote: > I would call this a compiler bug. It shouldn't declare exp(3) when you > don't include math.h. As I understand the standard the names in math.h are > only reserved when you include math.h. I remember that an earlier version > of gcc had this bug, that was fixed then. Probably they unfixed it again. > > What's the chance of getting this fixed? Much, much better if you can point to the specific GCC source code file where this is handled. -- -- David (obrien@FreeBSD.org)