Re: 7.4beta compile warning

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gaetano Mendola <mendola(at)bigfoot(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 7.4beta compile warning
Date: 2003-08-08 14:41:31
Message-ID: 23744.1060353691@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gaetano Mendola <mendola(at)bigfoot(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-08-08 15:00:52 Re: getting confused parsing ACLITEMS...
Previous Message Tom Lane 2003-08-08 14:29:00 Re: poorly written builtin functions