From owner-cvs-src@FreeBSD.ORG Sun Jul 20 17:23:54 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D5AF37B401; Sun, 20 Jul 2003 17:23:54 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 772EE43F75; Sun, 20 Jul 2003 17:23:53 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (smmsp@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.9/8.12.9) with ESMTP id h6L0Nqju084686; Sun, 20 Jul 2003 17:23:52 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.9/8.12.9/Submit) id h6KHZmvW083039; Sun, 20 Jul 2003 10:35:48 -0700 (PDT) Date: Sun, 20 Jul 2003 10:34:27 -0700 From: "David O'Brien" To: Ruslan Ermilov Message-ID: <20030720173427.GA83003@dragon.nuxi.com> References: <200307201024.h6KAO9tk009943@repoman.freebsd.org> <20030720213903.J595@gamplex.bde.org> <20030720120438.GD47250@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030720120438.GD47250@sunbay.com> 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: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: Bruce Evans Subject: Re: cvs commit: src/bin/ed Makefile re.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@FreeBSD.org List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2003 00:23:54 -0000 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)