src/bin/ed/re.c: warning: declaration of `exp' shadows a global declaration

David O'Brien obrien at
Tue Jul 15 11:54:20 PDT 2003

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 at

More information about the freebsd-current mailing list