Date: Wed, 5 Feb 2003 11:43:25 -0700 From: Chad David <davidc@issci.ca> To: "David O'Brien" <obrien@FreeBSD.ORG> Cc: current@FreeBSD.ORG Subject: Re: minor yacc warnings Message-ID: <20030205184325.GC45403@colnta.acns.ab.ca> In-Reply-To: <20030205174656.GA21436@dragon.nuxi.com> References: <20030204042410.GA31903@colnta.acns.ab.ca> <20030205174656.GA21436@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030205184325.GC45403>