Re: minor compiler warning on OpenBSD
От | Tom Lane |
---|---|
Тема | Re: minor compiler warning on OpenBSD |
Дата | |
Msg-id | 15163.1184601738@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: minor compiler warning on OpenBSD (Michael Meskes <meskes@postgresql.org>) |
Ответы |
Re: minor compiler warning on OpenBSD
Re: minor compiler warning on OpenBSD |
Список | pgsql-hackers |
Michael Meskes <meskes@postgresql.org> writes: > On Wed, Jul 11, 2007 at 07:18:17PM -0400, Tom Lane wrote: >> Now if we could only get rid of those flex-induced warnings in ecpg... > Don't you get the same in the backend's parser code? I surely do. No, ecpg is the only one producing warnings for me. What flex version do you use? > It seems these are only missing prototypes. How about adding an include > file with those prototypes? 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. regards, tom lane
В списке pgsql-hackers по дате отправления: