cvs commit: src/bin/ed Makefile re.c
obrien at FreeBSD.org
Sun Jul 20 17:23:54 PDT 2003
On Sun, Jul 20, 2003 at 03:04:38PM +0300, Ruslan Ermilov wrote:
> > > ru 2003/07/20 03:24:09 PDT
> > > FreeBSD src repository
> > >
> > > Modified files:
> > > bin/ed Makefile re.c
> > > Log:
> > > Make this code WARNS=6 clean again (after GCC 3.1.1 import).
> > gcc-3.3?
> > The bug is in gcc-3.3, so it shouldn't be fixed here. `expr' may
> > be a better variable name than `exp' for a variable related to
> > expressions, but this is just a minor style issue.
> Why is this a bug in gcc? Compiling re.c,v 1.19 like this works:
> make WARNS=6 re.o DEBUG_FLAGS=-fno-builtin
Because exp as a built-in or from a lib, shouldn't be visable unless
math.h is included.
-- David (obrien at FreeBSD.org)
More information about the cvs-all