-----Original Message----- From: Steve Hay To: Rafael Garcia-Suarez Cc: Robin Barker; ''The Perl5 Porters Mailing List ''; John Peacock Sent: 18/07/05 17:26 Subject: Re: [PATCH] RE: blead: no longer supports %vd format
Rafael Garcia-Suarez wrote: >On 7/14/05, Robin Barker <[EMAIL PROTECTED]> wrote: > > >>Attached patch reinstates VDf in blead perl to implement the >>%vd format, which is still used in XS code and will reappear >>in blead for ... > >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. ----- Steve I guess the problem is the lack of parameters to SVf_, gcc does not mind, and successfully defines SVf as "-p" The simple patch is (written by hand - can't do anything clever from home): Index: perl.h #endif #ifndef SVf -# define SVf SVf_() +# define SVf "-p" #endif #ifndef SVf32 End of patch Robin ------------------------------------------------------------------- This e-mail and any attachments may contain confidential and/or privileged material; it is for the intended addressee(s) only. If you are not a named addressee, you must not use, retain or disclose such information. NPL Management Ltd cannot guarantee that the e-mail or any attachments are free from viruses. NPL Management Ltd. Registered in England and Wales. No: 2937881 Registered Office: Serco House, 16 Bartley Wood Business Park, Hook, Hampshire, United Kingdom RG27 9UY -------------------------------------------------------------------