Hi,

I get this warning on VMS:

#  define do_exec(cmd)                  do_exec3(cmd,0,0)
..................^
%CC-W-MACROREDEF, The redefinition of the macro "do_exec" conflicts with a 
current definition because the number of parameters is different.  The 
redefinition is now in effect.
at line number 5400 in file USER5:[abeltje.PERL-CURRENT]PERL.H;1


Does this make sense as a patch?

--- perl.h.orig Sat Nov  5 10:33:35 2005
+++ perl.h      Sat Nov  5 10:33:43 2005
@@ -5397,6 +5397,9 @@
 #define do_open(g, n, l, a, rm, rp, sf) \
        do_openn(g, n, l, a, rm, rp, sf, (SV **) NULL, 0)
 #ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION
+#  ifdef do_exec
+#    undef do_exec
+#  endif
 #  define do_exec(cmd)                 do_exec3(cmd,0,0)
 #endif
 #ifdef OS2

HTH +
Good luck,

Abe
-- 
Traditionally, we accept US or UK spelling everywhere. Life's too short
to ask British English speakers to learn American, or vice versa.
                                 -- Hugo van der Sanden on p5p @ 2002-05-27

Reply via email to