From 1dea82101a63718e53cc60bcb31614bc42ddebd7 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Thu, 29 Mar 2001 14:42:58 +0000 Subject: [PATCH] use warnings instead of -w. p4raw-id: //depot/perl@9440 --- utils/h2xs.PL | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/h2xs.PL b/utils/h2xs.PL index 425704b..932e015 100644 --- a/utils/h2xs.PL +++ b/utils/h2xs.PL @@ -26,7 +26,7 @@ print "Extracting $file (with variable substitutions)\n"; # You can use $Config{...} to use Configure variables. print OUT <<"!GROK!THIS!"; -$Config{startperl} -w +$Config{startperl} eval 'exec $Config{perlpath} -S \$0 \${1+"\$@"}' if \$running_under_some_shell; !GROK!THIS! @@ -35,6 +35,8 @@ $Config{startperl} -w print OUT <<'!NO!SUBS!'; +use warnings; + =head1 NAME h2xs - convert .h C header files to Perl extensions -- 2.7.4