File tree 9 files changed +81
-0
lines changed
9 files changed +81
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ use strict;
11
11
use warnings;
12
12
use base qw( Project) ;
13
13
14
+ no warnings qw( redefine) ; # # no critic
15
+
14
16
sub _new
15
17
{
16
18
my $classname = shift ;
@@ -399,6 +401,8 @@ use strict;
399
401
use warnings;
400
402
use base qw( MSBuildProject) ;
401
403
404
+ no warnings qw( redefine) ; # # no critic
405
+
402
406
sub new
403
407
{
404
408
my $classname = shift ;
@@ -420,6 +424,8 @@ use strict;
420
424
use warnings;
421
425
use base qw( MSBuildProject) ;
422
426
427
+ no warnings qw( redefine) ; # # no critic
428
+
423
429
sub new
424
430
{
425
431
my $classname = shift ;
@@ -464,6 +470,8 @@ use strict;
464
470
use warnings;
465
471
use base qw( VC2012Project) ;
466
472
473
+ no warnings qw( redefine) ; # # no critic
474
+
467
475
sub new
468
476
{
469
477
my $classname = shift ;
@@ -487,6 +495,8 @@ use strict;
487
495
use warnings;
488
496
use base qw( VC2012Project) ;
489
497
498
+ no warnings qw( redefine) ; # # no critic
499
+
490
500
sub new
491
501
{
492
502
my $classname = shift ;
@@ -510,6 +520,8 @@ use strict;
510
520
use warnings;
511
521
use base qw( VC2012Project) ;
512
522
523
+ no warnings qw( redefine) ; # # no critic
524
+
513
525
sub new
514
526
{
515
527
my $classname = shift ;
Original file line number Diff line number Diff line change @@ -229,6 +229,7 @@ sub AddDir
229
229
230
230
if ($filter eq " LIBOBJS" )
231
231
{
232
+ no warnings qw( once) ;
232
233
if (grep (/ $p / , @main::pgportfiles , @main::pgcommonfiles )
233
234
== 1)
234
235
{
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ use strict;
10
10
use warnings;
11
11
use VSObjectFactory;
12
12
13
+ no warnings qw( redefine) ; # # no critic
14
+
13
15
sub _new
14
16
{
15
17
my $classname = shift ;
@@ -768,6 +770,8 @@ use strict;
768
770
use warnings;
769
771
use base qw( Solution) ;
770
772
773
+ no warnings qw( redefine) ; # # no critic
774
+
771
775
sub new
772
776
{
773
777
my $classname = shift ;
@@ -791,6 +795,8 @@ use strict;
791
795
use warnings;
792
796
use base qw( Solution) ;
793
797
798
+ no warnings qw( redefine) ; # # no critic
799
+
794
800
sub new
795
801
{
796
802
my $classname = shift ;
@@ -815,6 +821,8 @@ use strict;
815
821
use warnings;
816
822
use base qw( Solution) ;
817
823
824
+ no warnings qw( redefine) ; # # no critic
825
+
818
826
sub new
819
827
{
820
828
my $classname = shift ;
@@ -839,6 +847,8 @@ use strict;
839
847
use warnings;
840
848
use base qw( Solution) ;
841
849
850
+ no warnings qw( redefine) ; # # no critic
851
+
842
852
sub new
843
853
{
844
854
my $classname = shift ;
@@ -863,6 +873,8 @@ use strict;
863
873
use warnings;
864
874
use base qw( Solution) ;
865
875
876
+ no warnings qw( redefine) ; # # no critic
877
+
866
878
sub new
867
879
{
868
880
my $classname = shift ;
@@ -889,6 +901,8 @@ use strict;
889
901
use warnings;
890
902
use base qw( Solution) ;
891
903
904
+ no warnings qw( redefine) ; # # no critic
905
+
892
906
sub new
893
907
{
894
908
my $classname = shift ;
@@ -915,6 +929,8 @@ use strict;
915
929
use warnings;
916
930
use base qw( Solution) ;
917
931
932
+ no warnings qw( redefine) ; # # no critic
933
+
918
934
sub new
919
935
{
920
936
my $classname = shift ;
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ use strict;
11
11
use warnings;
12
12
use base qw( Project) ;
13
13
14
+ no warnings qw( redefine) ; # # no critic
15
+
14
16
sub _new
15
17
{
16
18
my $classname = shift ;
@@ -268,6 +270,8 @@ use strict;
268
270
use warnings;
269
271
use base qw( VCBuildProject) ;
270
272
273
+ no warnings qw( redefine) ; # # no critic
274
+
271
275
sub new
272
276
{
273
277
my $classname = shift ;
@@ -289,6 +293,8 @@ use strict;
289
293
use warnings;
290
294
use base qw( VCBuildProject) ;
291
295
296
+ no warnings qw( redefine) ; # # no critic
297
+
292
298
sub new
293
299
{
294
300
my $classname = shift ;
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ our (@ISA, @EXPORT);
20
20
@ISA = qw( Exporter) ;
21
21
@EXPORT = qw( CreateSolution CreateProject DetermineVisualStudioVersion) ;
22
22
23
+ no warnings qw( redefine) ; # # no critic
24
+
23
25
sub CreateSolution
24
26
{
25
27
my $visualStudioVersion = shift ;
Original file line number Diff line number Diff line change
1
+
2
+ src/tools/msvc/dummylib
3
+
4
+ This directory contains just enough of a dummy library to allow checking of
5
+ the programs in src/tools/msvc and src/tools/win32tzlist.pl with
6
+ perl -cw, even on machines that lack the Win32 perl infrastructure.
7
+
8
+ invoke via:
9
+
10
+ PERL5LIB=src/tools/msvc/dummylib perl -cw $file
11
+
12
+ This is the only use that should be made of this directory. Attempting actually
13
+ running of any programs using this library will result in a lot of grief.
Original file line number Diff line number Diff line change
1
+ package Win32 ;
2
+ use strict;
3
+ use warnings;
4
+ 1;
Original file line number Diff line number Diff line change
1
+ package Win32::Registry ;
2
+
3
+ use strict;
4
+ use warnings;
5
+
6
+ use vars qw( $HKEY_LOCAL_MACHINE) ;
7
+
8
+ use Exporter ();
9
+ our (@EXPORT ,@ISA );
10
+ @ISA = qw( Exporter) ;
11
+ @EXPORT = qw( $HKEY_LOCAL_MACHINE) ;
12
+
13
+ 1;
Original file line number Diff line number Diff line change
1
+ package Win32API::File ;
2
+
3
+ use strict;
4
+ use warnings;
5
+
6
+ use constant { SEM_FAILCRITICALERRORS => 1, SEM_NOGPFAULTERRORBOX => 2 };
7
+ sub SetErrormode {};
8
+ use Exporter;
9
+ our (@ISA ,@EXPORT_OK ,%EXPORT_TAGS );
10
+ @ISA = qw( Exporter) ;
11
+ @EXPORT_OK = qw( SetErrorMode SEM_FAILCRITICALERRORS SEM_NOGPFAULTERRORBOX) ;
12
+ %EXPORT_TAGS = (SEM_ => [qw( SEM_FAILCRITICALERRORS SEM_NOGPFAULTERRORBOX) ]);
13
+
14
+ 1;
You can’t perform that action at this time.
0 commit comments