From: Steve Hay Date: Mon, 17 Oct 2005 15:48:24 +0000 (+0000) Subject: Silence gcc complaints about comments in config.h X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=68a72f3df7578a1622fef91a71fc6379b7dabb97;p=p5sagit%2Fp5-mst-13.2.git Silence gcc complaints about comments in config.h This suppresses dozens of lines of warnings seen, e.g. here: http://www.nntp.perl.org/group/perl.daily-build.reports/32231 p4raw-id: //depot/perl@25784 --- diff --git a/ext/Compress/Zlib/Makefile.PL b/ext/Compress/Zlib/Makefile.PL index 3c45fb0..d804fa1 100755 --- a/ext/Compress/Zlib/Makefile.PL +++ b/ext/Compress/Zlib/Makefile.PL @@ -26,7 +26,7 @@ my $WALL = '' ; my $GZIP_OS_CODE = -1 ; #$WALL = ' -pedantic ' if $Config{'cc'} =~ /gcc/ ; -$WALL = ' -Wall ' if $Config{'cc'} =~ /gcc/ ; +$WALL = ' -Wall -Wno-comment ' if $Config{'cc'} =~ /gcc/ ; my $PERL_CORE = grep { $_ eq 'PERL_CORE=1' } @ARGV; # don't ask if MM_USE_DEFAULT is set -- enables perl core building on cygwin diff --git a/ext/Compress/Zlib/Zlib.pm b/ext/Compress/Zlib/Zlib.pm index 8ba529e..5e54996 100644 --- a/ext/Compress/Zlib/Zlib.pm +++ b/ext/Compress/Zlib/Zlib.pm @@ -16,7 +16,7 @@ use warnings ; use bytes ; our ($VERSION, $XS_VERSION, @ISA, @EXPORT, $AUTOLOAD); -$VERSION = '2.000_05'; +$VERSION = '2.000_06'; $XS_VERSION = $VERSION; $VERSION = eval $VERSION;