From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix compile-time warnings on all perl code |
Date: | 2018-05-31 12:19:40 |
Message-ID: | E1fOMYO-0001Fi-IO@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix compile-time warnings on all perl code
This patch does two things. First, it silences a number of compile-time
warnings in the msvc tools files, mainly those due to the fact that in
some cases we have more than one package per file. Second it supplies a
dummy Perl library with just enough of the Windows API referred to in
our code to let it run these checks cleanly, even on Unix machines where
the code is never supposed to run. The dummy library should only be used
for that purpose, as its README notes.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/0039049fb1d76afef05d550823b27731ad7d7b3d
Modified Files
--------------
src/tools/msvc/MSBuildProject.pm | 12 ++++++++++++
src/tools/msvc/Project.pm | 1 +
src/tools/msvc/Solution.pm | 16 ++++++++++++++++
src/tools/msvc/VCBuildProject.pm | 6 ++++++
src/tools/msvc/VSObjectFactory.pm | 2 ++
src/tools/msvc/dummylib/README | 13 +++++++++++++
src/tools/msvc/dummylib/Win32.pm | 4 ++++
src/tools/msvc/dummylib/Win32/Registry.pm | 13 +++++++++++++
src/tools/msvc/dummylib/Win32API/File.pm | 14 ++++++++++++++
9 files changed, 81 insertions(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Noah Misch | 2018-05-31 23:14:31 | pgsql: Reconcile nodes/*funcs.c with PostgreSQL 11 work. |
Previous Message | Alvaro Herrera | 2018-05-30 18:13:11 | pgsql: Fix grammar |