Abe Timmerman wrote:
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
It is more than that.
The definition of do_exec() is supposed to be controlled by the
PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION macro.
This is referenced in miniperlmain.lis by embed.h before it's value is
defined and that is one of the causes of the previous definition of
do_exec()
This is apparently a side effect of patch 25947 which removed do_exec()
from being defined to be Perl_do_exec() which is the same as embed.h is
defining it to.
Previously on VMS, the existing definition was used, but I am not sure
where code implementing that function really ends up.
It would seem to me that a more correct patch would be to not redefine
do_exec() if the macro was already defined.
Since EMBED.H is now depending on something defined in Perl.h something
else needs to be fixed, like moving where
PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION macro is defined.
-John
[EMAIL PROTECTED]
Personal Opinion Only