Re: compile bug in HEAD?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: compile bug in HEAD?
Дата
Msg-id Pine.LNX.4.30.0203271104400.690-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: compile bug in HEAD?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: compile bug in HEAD?  (Neil Conway <nconway@klamath.dyndns.org>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: build of 7.2.1 on SCO Openserver and Unixware 7.1.1
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Problem with reloading groups in pg_hba.conf