Date: Sun, 20 Jul 2003 10:34:27 -0700 From: "David O'Brien" <obrien@FreeBSD.org> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: Bruce Evans <bde@zeta.org.au> Subject: Re: cvs commit: src/bin/ed Makefile re.c Message-ID: <20030720173427.GA83003@dragon.nuxi.com> In-Reply-To: <20030720120438.GD47250@sunbay.com> References: <200307201024.h6KAO9tk009943@repoman.freebsd.org> <20030720213903.J595@gamplex.bde.org> <20030720120438.GD47250@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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? > Typo. > > > 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@FreeBSD.org)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030720173427.GA83003>