You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 889-890 in Makefile.PL are now:
889: print "WARNING: Your GNU C compiler is very old. Please upgrade.\n"
890: if ($Config{gccversion} and $Config{gccversion} =~ m/^(1|2.[1-5])/);
Now regexp in 890 throws the "WARNING:..." with "gcc=10." and "gcc=20."
If 890 is changed to
890: if ($Config{gccversion} and $Config{gccversion} =~ m/^(\b[1].\d|\b[2].\b[0-5].)/);
no "WARNING:..." will be thrown for any gcc version > 2.5
I tested it with the following code snippet: for m in {1..20} ; do \ for s in {0..20} ; do \ for u in {0..20} ; do \ echo "Version: "$m.$s.$u $(/usr/bin/perl -e "my \$version='"$m.$s.$u"';print 'WARNING: Your GNU C compiler is very old. Please upgrade.' if (\$version =~ m/^(\b[1]\.\d|\b[2]\.\b[0-5]\.)/);") && echo ; \ done ; \ done ; \ done | grep -i warning
The text was updated successfully, but these errors were encountered:
Line 889-890 in Makefile.PL are now:
889: print "WARNING: Your GNU C compiler is very old. Please upgrade.\n"
890: if ($Config{gccversion} and $Config{gccversion} =~ m/^(1|2.[1-5])/);
Now regexp in 890 throws the "WARNING:..." with "gcc=10." and "gcc=20."
If 890 is changed to
890: if ($Config{gccversion} and $Config{gccversion} =~ m/^(\b[1].\d|\b[2].\b[0-5].)/);
no "WARNING:..." will be thrown for any gcc version > 2.5
I tested it with the following code snippet:
for m in {1..20} ; do \ for s in {0..20} ; do \ for u in {0..20} ; do \ echo "Version: "$m.$s.$u $(/usr/bin/perl -e "my \$version='"$m.$s.$u"';print 'WARNING: Your GNU C compiler is very old. Please upgrade.' if (\$version =~ m/^(\b[1]\.\d|\b[2]\.\b[0-5]\.)/);") && echo ; \ done ; \ done ; \ done | grep -i warning
The text was updated successfully, but these errors were encountered: