develooper Front page | perl.perl5.porters | Postings from January 2008

RE: compile warnings w/ PM_SETRE and ReREFCNT_inc

Thread Previous | Thread Next
Robin Barker
January 9, 2008 09:21
RE: compile warnings w/ PM_SETRE and ReREFCNT_inc
Message ID:

> > Nicholas's patch 32890 solved this problem another way.  

> > I don't think both patches should be applied.


> I didn't comment earlier because I wasn't sure if my patch fixed 

> it all.  I was waiting for black smoke, particularly from VMS.

If more changes are needed, I would prefer replacing:

	(REGEXP *) SvREFCNT_inc(zwapp);	




The current code casts the argument to (SV*), which is returned by 

SvREFCNT_inc and cast back to (REGEXP*)!  If we want the macro to

return the (REGEXP*) cast of its argument, lets do it explicitly.



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


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About