From: Tom Lane Date: Mon, 25 Aug 2008 23:12:45 +0000 (+0000) Subject: Add %option noinput to contrib's flex scanners, to suppress gcc 4.3 X-Git-Tag: recoveryinfrav9~696 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=088dbffde924c33d4a5607f7a24d1ae794cfe961;p=users%2Fsimon%2Fpostgres.git Add %option noinput to contrib's flex scanners, to suppress gcc 4.3 warnings. Peter did this for core awhile ago but evidently missed contrib. --- diff --git a/contrib/cube/cubescan.l b/contrib/cube/cubescan.l index 2453aba848..b73553e548 100644 --- a/contrib/cube/cubescan.l +++ b/contrib/cube/cubescan.l @@ -29,6 +29,7 @@ void cube_scanner_finish(void); %option 8bit %option never-interactive %option nodefault +%option noinput %option nounput %option noyywrap %option prefix="cube_yy" diff --git a/contrib/seg/segscan.l b/contrib/seg/segscan.l index 817300993d..36da5fa395 100644 --- a/contrib/seg/segscan.l +++ b/contrib/seg/segscan.l @@ -27,6 +27,7 @@ void seg_scanner_finish(void); %option 8bit %option never-interactive %option nodefault +%option noinput %option nounput %option noyywrap %option prefix="seg_yy"