Steve Hay wrote:
> >Thanks, applied as change #25171 to bleadperl.
> >
> This change causes tons of warnings like
> 
>     not enough actual parameters for macro 'SVf_'
> 
> on Win32.
> 
> This is the bit of perl.h that causes them all:
> 
> #ifndef SVf_
> #  define SVf_(n) "-" #n "p"
> #endif
> 
> #ifndef SVf
> #  define SVf SVf_()
> #endif
> 
> Neither SVf_ nor SVf are initially defined, so you can see what the 
> problem is.
> 
> Can this be fixed?  If not then perhaps revert that part of the change.

You mean like this ? : look ok to me

Index: perl.h
===================================================================
--- perl.h      (révision 5460)
+++ perl.h      (copie de travail)
@@ -2635,7 +2635,7 @@
 #endif
 
 #ifndef SVf
-#  define SVf SVf_()
+#  define SVf "-p"
 #endif
 
 #ifndef SVf32

Reply via email to