pgsql: Fix compile-time warnings on all perl code

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема pgsql: Fix compile-time warnings on all perl code
Дата
Msg-id E1fOMYO-0001Fi-IO@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Fix grammar
Следующее
От: Noah Misch
Дата:
Сообщение: pgsql: Reconcile nodes/*funcs.c with PostgreSQL 11 work.