[svn:parrot] r36648 - trunk/config/auto

jkeenan at svn.parrot.org jkeenan at svn.parrot.org
Thu Feb 12 21:39:30 UTC 2009


Author: jkeenan
Date: Thu Feb 12 21:39:29 2009
New Revision: 36648
URL: https://trac.parrot.org/parrot/changeset/36648

Log:
Eliminate warning re "Use of uninitialized value $_ ... at
lib/Parrot/Configure/Compiler.pm line 187."  This occurred when
Parrot::Configure::Compiler::cc_clean() was called inside
auto::neg_0::runstep().  In this probe, we're not creating any new files,
simply printing to STDOUT.  So there's nothing to be cleaned up and no reason
to call cc_clean().
rurban++ for contributing step tests along with new config
step class.

Modified:
   trunk/config/auto/neg_0.pm

Modified: trunk/config/auto/neg_0.pm
==============================================================================
--- trunk/config/auto/neg_0.pm	Thu Feb 12 21:37:24 2009	(r36647)
+++ trunk/config/auto/neg_0.pm	Thu Feb 12 21:39:29 2009	(r36648)
@@ -39,9 +39,13 @@
     my $has_neg_0 = 0;
     if ( !$@ ) {
         my $test = $conf->cc_run();
-        $has_neg_0 = $self->_evaluate_cc_run($conf, $test, $has_neg_0, $verbose);
+        $has_neg_0 = $self->_evaluate_cc_run(
+            $conf,
+            $test,
+            $has_neg_0,
+            $verbose,
+        );
     }
-    $conf->cc_clean();
     $conf->data->set( has_negative_zero => $has_neg_0 );
 
     return 1;


More information about the parrot-commits mailing list