diff options
Diffstat (limited to 'cpan/Encode/Makefile.PL')
-rw-r--r-- | cpan/Encode/Makefile.PL | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpan/Encode/Makefile.PL b/cpan/Encode/Makefile.PL index f711d6dd4f..632d736794 100644 --- a/cpan/Encode/Makefile.PL +++ b/cpan/Encode/Makefile.PL @@ -1,5 +1,5 @@ # -# $Id: Makefile.PL,v 2.23 2020/12/02 01:28:17 dankogai Exp $ +# $Id: Makefile.PL,v 2.24 2021/10/13 08:29:13 dankogai Exp dankogai $ # use 5.007003; use strict; @@ -20,7 +20,7 @@ if (!$ENV{PERL_CORE}) { $gccver =~ s/\.//g; $gccver =~ s/ .*//; $gccver .= "0" while length $gccver < 3; $gccver = 0+$gccver; - $ccflags .= ' -Werror=declaration-after-statement' if $gccver > 412; + $ccflags .= ' -Werror=declaration-after-statement' if $gccver > 412 and $] < 5.035005; $ccflags .= ' -Wpointer-sign' if !$Config{d_cplusplus} and $gccver > 400; $ccflags .= ' -fpermissive' if $Config{d_cplusplus}; } |