Hi all, 
I had these during the compilation:

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../src/include   -c -o execScan.o execScan.c
execScan.c: In function `tlist_matches_tupdesc':
execScan.c:199: warning: unused variable `att_tup'


In file included from preproc.y:6278:
pgc.c: In function `yylex':
pgc.c:1386: warning: label `find_rule' defined but not used
/usr/include/ctype.h: At top level:
pgc.c:3367: warning: `yy_flex_realloc' defined but not used



Regards
Gaetano Mendola





Fri, 08 Aug 2003 02:03:41 +0200
Gaetano Mendola <mendola@bigfoot.com>
7.4beta compile warning
Gaetano Mendola <mendola@bigfoot.com> writes:
> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
> -I../../../src/include   -c -o execScan.o execScan.c
> execScan.c: In function `tlist_matches_tupdesc':
> execScan.c:199: warning: unused variable `att_tup'

Looks like you're the first person to build 7.4 without --enable-cassert
... or at least the first one who looked for warning messages.  Fixed.

> In file included from preproc.y:6278:
> pgc.c: In function `yylex':
> pgc.c:1386: warning: label `find_rule' defined but not used
> /usr/include/ctype.h: At top level:
> pgc.c:3367: warning: `yy_flex_realloc' defined but not used

These are flex's fault.  We could get around them but the work needed
is unreasonable.

			regards, tom lane

Fri, 08 Aug 2003 10:41:31 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: 7.4beta compile warning 