[svn:parrot] r44624 - branches/rm_cflags/config/auto

coke at svn.parrot.org coke at svn.parrot.org
Thu Mar 4 13:54:22 UTC 2010


Author: coke
Date: Thu Mar  4 13:54:21 2010
New Revision: 44624
URL: https://trac.parrot.org/parrot/changeset/44624

Log:
Fix FAIL with mingw (gcc 3.4.5) - check on an invalid option is a little naive:
make it only slightly less so.

fperrad++ for the report.

Modified:
   branches/rm_cflags/config/auto/warnings.pm

Modified: branches/rm_cflags/config/auto/warnings.pm
==============================================================================
--- branches/rm_cflags/config/auto/warnings.pm	Thu Mar  4 09:58:12 2010	(r44623)
+++ branches/rm_cflags/config/auto/warnings.pm	Thu Mar  4 13:54:21 2010	(r44624)
@@ -343,7 +343,7 @@
 
     $verbose and print "  output: $output\n";
 
-    if ( $output !~ /error|warning|not supported/i ) {
+    if ( $output !~ /error|warning|not supported|unrecognized/i ) {
         push @{$self->{'validated'}}, $warning;
         $verbose and print "    valid warning: '$warning'\n";
         return 1;


More information about the parrot-commits mailing list