Warn everywhere, not just Unix

use warnings; is the portable way of doing #!/usr/bin/perl -w
Also use strict; in init-repository.

Signed-off-by: axis <qt-info@nokia.com>
This commit is contained in:
Lincoln Ramsay
2011-04-28 14:19:42 +10:00
committed by axis
parent ea437d3767
commit 984400a586
2 changed files with 6 additions and 2 deletions

3
configure vendored
View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl -w #!/usr/bin/perl
#################################################################################################### ####################################################################################################
# #
# Mother script for Qt Modularization # Mother script for Qt Modularization
@@ -8,6 +8,7 @@
# #
#################################################################################################### ####################################################################################################
use strict; use strict;
use warnings;
use File::Basename; use File::Basename;
use File::Path; use File::Path;

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl -w #!/usr/bin/perl
############################################################################# #############################################################################
## ##
## Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ## Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
@@ -40,6 +40,9 @@
## ##
############################################################################# #############################################################################
use strict;
use warnings;
my $force = 0; my $force = 0;
my $quiet = 0; my $quiet = 0;
my $nokia_developer = 0; my $nokia_developer = 0;