Re: [PATCHES] New flex warnings

2008-05-09 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > With GCC 4.3, I get warnings from every flex scanner that 'input' is defined > but not used. This can be solved by adding %option noinput. I tested this > option with a current flex and with the old 2.5.4a; both accept it. See > attached patch.

[PATCHES] New flex warnings

2008-05-09 Thread Peter Eisentraut
With GCC 4.3, I get warnings from every flex scanner that 'input' is defined but not used. This can be solved by adding %option noinput. I tested this option with a current flex and with the old 2.5.4a; both accept it. See attached patch. Does anyone see problems with this? diff --git a/src/