Re: minor compiler warning on OpenBSD

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
Cc: Michael Meskes <meskes(at)postgresql(dot)org>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: minor compiler warning on OpenBSD
Date: 2007-07-16 16:17:56
Message-ID: 15453.1184602676@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc> writes:
> Tom Lane wrote:
>> What I get with flex 2.5.4 is
>>
>> pgc.c: In function `base_yylex':
>> pgc.c:1564: warning: label `find_rule' defined but not used
>> preproc.y: At top level:
>> pgc.c:3818: warning: `yy_flex_realloc' defined but not used
>>
>> neither of which seem fixable that way.

> I think Michael is refering to:

> In file included from bootparse.y:380:
> bootscanner.c:1855: warning: no previous prototype for=20
> =E2=80=98boot_yyget_lineno=E2=80=99
> bootscanner.c:1864: warning: no previous prototype for =E2=80=98boot_yyge=
> t_in=E2=80=99
> bootscanner.c:1872: warning: no previous prototype for =E2=80=98boot_yyge=
> t_out=E2=80=99
> bootscanner.c:1880: warning: no previous prototype for =E2=80=98boot_yyge=
> t_leng=E2=80=99
> bootscanner.c:1889: warning: no previous prototype for =E2=80=98boot_yyge=
> t_text=E2=80=99

[ shrug... ] Those are flex bugs.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Strong, David 2007-07-16 16:32:53 Re: Straightforward changes for increased SMP scalability
Previous Message Martin Pihlak 2007-07-16 16:10:40 Re: stored procedure stats in collector