New flex warnings

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-patches(at)postgresql(dot)org
Subject: New flex warnings
Date: 2008-05-09 13:59:44
Message-ID: 200805091559.44807.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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?

Attachment Content-Type Size
flex-noinput.patch text/x-diff 2.2 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2008-05-09 14:23:12 Re: [0/4] Proposal of SE-PostgreSQL patches
Previous Message Alvaro Herrera 2008-05-09 12:38:01 Re: [NOVICE] encoding problems