From owner-freebsd-current Wed Feb 5 10:43:28 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E291637B405; Wed, 5 Feb 2003 10:43:26 -0800 (PST) Received: from colnta.issci.ca (mail.acns.AB.ca [142.179.151.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id D304F43F93; Wed, 5 Feb 2003 10:43:25 -0800 (PST) (envelope-from davidc@colnta.issci.ca) Received: from colnta.issci.ca (localhost [127.0.0.1]) by colnta.issci.ca (8.12.6/8.12.6) with ESMTP id h15IhPAM045623; Wed, 5 Feb 2003 11:43:25 -0700 (MST) (envelope-from davidc@colnta.issci.ca) Received: (from davidc@localhost) by colnta.issci.ca (8.12.6/8.12.6/Submit) id h15IhP5o045622; Wed, 5 Feb 2003 11:43:25 -0700 (MST) Date: Wed, 5 Feb 2003 11:43:25 -0700 From: Chad David To: "David O'Brien" Cc: current@FreeBSD.ORG Subject: Re: minor yacc warnings Message-ID: <20030205184325.GC45403@colnta.acns.ab.ca> Mail-Followup-To: David O'Brien , current@FreeBSD.ORG References: <20030204042410.GA31903@colnta.acns.ab.ca> <20030205174656.GA21436@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030205174656.GA21436@dragon.nuxi.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Feb 05, 2003 at 09:46:56AM -0800, David O'Brien wrote: > On Mon, Feb 03, 2003 at 09:24:10PM -0700, Chad David wrote: > > We are having minor problems with a newer gcc generating warnings > > for yacc due to yyrcsid not being used. Does anyone object to the > > following patch to skeleton.c or have a better way of handling this? > > -Dlint causes other problems. > > What's the warning you are quieting? gcc33 -DFreeBSD -I/usr/home/davidc/dev/issci/inst/include -g -Werror -O -Wuninitialized -Wreturn-type -Wcast-qual -Wwrite-strings -Wshadow -Wcast-align -Wpointer-arith -Wall -Wno-format-y2k -Wstrict-prototypes -c parser.c parser.c:3: warning: `yyrcsid' defined but not used *** Error code 1 -- Chad David davidc@issci.ca www.FreeBSD.org davidc@freebsd.org ISSci Inc. Calgary, Alberta Canada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message