mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
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:
3
configure
vendored
3
configure
vendored
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user