Re: compile bug in HEAD? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: compile bug in HEAD?
Date
Msg-id Pine.LNX.4.30.0203271104400.690-100000@peter.localdomain
Whole thread Raw
In response to Re: compile bug in HEAD?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: compile bug in HEAD?  (Neil Conway <nconway@klamath.dyndns.org>)
List pgsql-hackers
Bruce Momjian writes:

> Christopher Kings-Lynne wrote:
> > I don't think this is me...
> >
> > gcc -pipe -O -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-error -I
> > ./../include -I. -I../../../../src/include  -DMAJOR_VERSION=2 -DMINOR_VERSIO
> > N=10 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"/home/chriskl/local/include\"   -c -o
> > pgc.o pgc.c
> > pgc.c: In function `yylex':
> > pgc.c:1250: warning: label `find_rule' defined but not used
> > pgc.l: At top level:
> > pgc.c:3079: warning: `yy_flex_realloc' defined but not used
>
> Yes, I have gotten the same warning for several releases but haven't
> researched the cause.  Patch?

If someone is really bored out of their mind, at least one of these
warnings can be gotten rid of by not using the -l option to flex.  That
might be desirable for other reasons, too, one of which is improved speed.

No, just removing -l from the makefile is not the right fix.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: build of 7.2.1 on SCO Openserver and Unixware 7.1.1
Next
From: Bruce Momjian
Date:
Subject: Re: Problem with reloading groups in pg_hba.conf