Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2003 11:54:06 -0700
From:      "David O'Brien" <obrien@freebsd.org>
To:        Harti Brandt <brandt@fokus.fraunhofer.de>
Cc:        Current <freebsd-current@freebsd.org>
Subject:   Re: src/bin/ed/re.c: warning: declaration of `exp' shadows a global declaration
Message-ID:  <20030715185406.GA12119@dragon.nuxi.com>
In-Reply-To: <20030715075429.M34004@beagle.fokus.fraunhofer.de>
References:  <7madbg60b1.wl@black.imgsrc.co.jp> <20030715075429.M34004@beagle.fokus.fraunhofer.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030715185406.GA12119>