Re: minor compiler warning on OpenBSD - Mailing list pgsql-hackers

From Tom Lane
Subject Re: minor compiler warning on OpenBSD
Date
Msg-id 15453.1184602676@sss.pgh.pa.us
Whole thread Raw
In response to Re: minor compiler warning on OpenBSD  (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>)
List pgsql-hackers
Stefan Kaltenbrunner <stefan@kaltenbrunner.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


pgsql-hackers by date:

Previous
From: Martin Pihlak
Date:
Subject: Re: stored procedure stats in collector
Next
From: "Strong, David"
Date:
Subject: Re: Straightforward changes for increased SMP scalability