From: | Neil Conway <neilc(at)samurai(dot)com> |
---|---|
To: | Victor Yegorov <viy(at)mits(dot)lv> |
Cc: | Postgres Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Warnings compiling preproc.y |
Date: | 2005-07-05 00:23:58 |
Message-ID: | 42C9D31E.2050008@samurai.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Victor Yegorov wrote:
> Compiling HEAD I see the following 2 warnings:
> bison -y -d preproc.y
> mv -f y.tab.c ./preproc.c
> mv -f y.tab.h ./preproc.h
> /usr/bin/flex -o'pgc.c' pgc.l
> gcc -O2 -ggdb -DBITMAP_DEBUG -Wall -Wmissing-prototypes -Wpointer-arith
> -Wendif-labels -fno-strict-aliasing -g -Wno-error -I./../include -I.
> -I../../../../src/include -D_GNU_SOURCE -DMAJOR_VERSION=4 -DMINOR_VERSION=1
> -DPATCHLEVEL=1 -c -o preproc.o preproc.c -MMD
> In file included from preproc.y:6416:
> pgc.c: In function `yylex':
> pgc.c:1503: warning: label `find_rule' defined but not used
> preproc.y: At top level:
> pgc.c:3559: warning: `yy_flex_realloc' defined but not used
>
> Should those variables be removed?
These warnings aren't new; the fault lies in the C code generated by
flex, so the problem is not simple to fix.
-Neil
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Treat | 2005-07-05 01:34:17 | Re: [HACKERS] Dbsize backend integration |
Previous Message | Neil Conway | 2005-07-05 00:20:17 | Re: [HACKERS] [PATCH] pgcrypto: pgp_encrypt v3 |