pgsql: Fix compile-time warnings on all perl code - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Fix compile-time warnings on all perl code
Date
Msg-id E1fOMYO-0001Fi-IO@gemulon.postgresql.org
Whole thread Raw
List 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(+)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Fix grammar
Next
From: Noah Misch
Date:
Subject: pgsql: Reconcile nodes/*funcs.c with PostgreSQL 11 work.