Skip site navigation (1) Skip section navigation (2)

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 (view raw, whole thread or download thread mbox)
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


pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group