]> granicus.if.org Git - postgresql/commit
Fix compile-time warnings on all perl code
authorAndrew Dunstan <andrew@dunslane.net>
Thu, 31 May 2018 12:13:02 +0000 (08:13 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 31 May 2018 12:13:02 +0000 (08:13 -0400)
commit0039049fb1d76afef05d550823b27731ad7d7b3d
treee1885702d5dcde46e0108dbb1cbc257d334eb90e
parentd3b10f0d64e90e9c78b8adc24ab3e38b30ef60bd
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.
src/tools/msvc/MSBuildProject.pm
src/tools/msvc/Project.pm
src/tools/msvc/Solution.pm
src/tools/msvc/VCBuildProject.pm
src/tools/msvc/VSObjectFactory.pm
src/tools/msvc/dummylib/README [new file with mode: 0644]
src/tools/msvc/dummylib/Win32.pm [new file with mode: 0644]
src/tools/msvc/dummylib/Win32/Registry.pm [new file with mode: 0644]
src/tools/msvc/dummylib/Win32API/File.pm [new file with mode: 0644]