I ran into a new warning in op.c this morning. op.c: In function `Perl_newCONSTSUB': op.c:4605: warning: null argument where non-null required (arg 1)
This warning is caused by a call to Perl_newXS() where the first parameter is set by embed.fnc to be non-null. However, since the first couple of lines of code in Perl_newXS() involve what to do if the first parameter is null, this seems unnecessary. The patch below silences the warning. Since its a patch to embed.fnc, a regen will be necessary after applying the patch. Steve Peters [EMAIL PROTECTED] --- embed.fnc.old 2005-06-23 16:59:08.000000000 -0500 +++ embed.fnc 2005-06-24 09:32:40.617371712 -0500 @@ -513,7 +513,7 @@ Apa |OP* |newSLICEOP |I32 flags|OP* subscript|OP* listop Apa |OP* |newSTATEOP |I32 flags|char* label|OP* o Ap |CV* |newSUB |I32 floor|OP* o|OP* proto|OP* block -Apd |CV* |newXS |NN const char* name|XSUBADDR_t f|NN const char* filename +Apd |CV* |newXS |const char* name|XSUBADDR_t f|NN const char* filename Apda |AV* |newAV Apa |OP* |newAVREF |NN OP* o Apa |OP* |newBINOP |I32 type|I32 flags|OP* first|OP* last