Lists: | pgsql-hackers |
---|
From: | Jeff Davis <pgsql(at)j-davis(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | compiler warning |
Date: | 2009-08-02 19:19:15 |
Message-ID: | 1249240755.4765.6948.camel@jdavis |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
A little while ago, I saw a compiler warning creep in:
In file included from gram.y:11202:
scan.c: In function ‘yy_try_NUL_trans’:
scan.c:15765: warning: unused variable ‘yyg’
I know there were some changes to minimum versions, but I think I have
those versions (listed below). I don't know if others are seeing this
warning or not.
Regards,
Jeff Davis
$ gcc --version
gcc (Debian 4.3.3-14) 4.3.3
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
$ flex --version
flex 2.5.35
$ bison --version
bison (GNU Bison) 2.4.1
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Jeff Davis <pgsql(at)j-davis(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: compiler warning |
Date: | 2009-08-02 19:33:20 |
Message-ID: | 12548.1249241600@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Jeff Davis <pgsql(at)j-davis(dot)com> writes:
> A little while ago, I saw a compiler warning creep in:
> In file included from gram.y:11202:
> scan.c: In function yy_try_NUL_trans:
> scan.c:15765: warning: unused variable yyg
Yeah, this is a bogosity in the current release of "flex".
http://sourceforge.net/tracker/index.php?func=detail&aid=2820457&group_id=97492&atid=618177
regards, tom lane