# New Ticket Created by  Andy Dougherty 
# Please include the string:  [perl #23822]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=23822 >


The following patch eliminates the following (correct!) warnings during
the Configure process:

value for 'ccwarn' in config/gen/makefiles/root.in is undef
value for 'ccwarn' in config/gen/makefiles/classes.in is undef
value for 'ccwarn' in config/gen/makefiles/imcc.in is undef

Perl5's Configure doesn't set a $Config{ccwarn} variable.  This patch
allows for the future possibility of such a variable, but I know of no
plans to actually introduce one.

diff -r -u parrot-orig/config/init/data.pl parrot-andy/config/init/data.pl
--- parrot-orig/config/init/data.pl     Fri Sep 12 17:30:44 2003
+++ parrot-andy/config/init/data.pl     Tue Sep 16 12:42:53 2003
@@ -25,7 +25,7 @@
     # (Usually cc or cl, or something like that.)
     cc            => $Config{cc},
     ccflags       => $Config{ccflags},
-    ccwarn        => $Config{ccwarn},
+    ccwarn        => exists($Config{ccwarn}) ? $Config{ccwarn} : '',

     # Linker, used to link object files (plus libraries) into
     # an executable.  It is usually $cc on Unix-ish systems.

-- 
    Andy Dougherty              [EMAIL PROTECTED]


Reply via email to