postgresql/src
Tom Lane 65d508fd4d Suppress "unused variable" warnings with older versions of flex.
Versions of flex before 2.5.36 might generate code that results in an
"unused variable" warning, when using %option reentrant.  Historically
we've worked around that by specifying -Wno-error, but that's an
unsatisfying solution.  The official "fix" for this was just to insert a
dummy reference to the variable, so write a small perl script that edits
the generated C code similarly.

The MSVC side of this is untested, but the buildfarm should soon reveal
if I broke that.

Discussion: https://postgr.es/m/25456.1487437842@sss.pgh.pa.us
2017-02-19 13:04:30 -05:00
..
backend Suppress "unused variable" warnings with older versions of flex. 2017-02-19 13:04:30 -05:00
bin Suppress "unused variable" warnings with older versions of flex. 2017-02-19 13:04:30 -05:00
common Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
fe_utils Suppress "unused variable" warnings with older versions of flex. 2017-02-19 13:04:30 -05:00
include Add optimizer and executor support for parallel index-only scans. 2017-02-19 15:57:55 +05:30
interfaces libpq: Make target_session_attrs=read-write consume empty result. 2017-02-15 11:05:44 -05:00
makefiles Try to fix non-MSVC Windows builds in the wake of logical replication. 2017-01-20 12:51:31 -05:00
pl Fix typos in comments. 2017-02-06 11:33:58 +02:00
port Attempt to handle pending-delete files on Windows 2017-01-04 10:48:30 +01:00
template Remove "sco" and "unixware" ports. 2016-10-11 11:26:04 -04:00
test Make partitions automatically inherit OIDs. 2017-02-19 21:29:27 +05:30
timezone Update time zone data files to tzdata release 2016j. 2017-01-30 11:40:22 -05:00
tools Suppress "unused variable" warnings with older versions of flex. 2017-02-19 13:04:30 -05:00
tutorial Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Remove redundant coverage target 2017-02-17 08:56:57 -05:00
Makefile.global.in Suppress "unused variable" warnings with older versions of flex. 2017-02-19 13:04:30 -05:00
Makefile.shlib Fix typos in comments. 2017-02-06 11:33:58 +02:00
nls-global.mk nls-global.mk: search build dir for source files, too 2016-06-07 18:55:18 -04:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00