Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Patches > Re: New flex wa...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 3700 of 4084
Post > Topic >>

Re: New flex warnings

by tgl@[EMAIL PROTECTED] (Tom Lane) May 9, 2008 at 11:12 AM

Peter Eisentraut <peter_e@[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.  Does anyone see problems with this?

Hm, I wonder why we didn't see those before ... [ looks at code... ]
Oh: yyinput() recurses internally, so even though it's not called
from anywhere else, older gcc's don't realize it's really unreferenced.

I confirm 2.5.4 has the noinput option.  Patch seems ok from here,

			regards, tom lane

-- 
Sent via pgsql-patches mailing list (pgsql-patches@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches
 




 2 Posts in Topic:
New flex warnings
peter_e@[EMAIL PROTECTED]  2008-05-09 15:59:44 
Re: New flex warnings
tgl@[EMAIL PROTECTED] (T  2008-05-09 11:12:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 6:01:44 CDT 2008.