Re: compile bug in HEAD?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: compile bug in HEAD?
Date: 2002-03-27 16:06:26
Message-ID: Pine.LNX.4.30.0203271104400.690-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-03-27 16:16:18 Re: Problem with reloading groups in pg_hba.conf
Previous Message Tom Lane 2002-03-27 15:30:06 Re: build of 7.2.1 on SCO Openserver and Unixware 7.1.1