develooper Front page | perl.perl5.porters | Postings from September 2010

[perl #78044] PATCH: get blead to compile again

Thread Previous
karl williamson
September 25, 2010 08:55
[perl #78044] PATCH: get blead to compile again
Message ID:
# New Ticket Created by  karl williamson 
# Please include the string:  [perl #78044]
# in the subject line of all future correspondence about this issue. 
# <URL: >

My recent patches to handy.h were munged somewhat before being committed 
to move the new table out of perl.h and into another, new .h. 
Unfortunately, this bypasses code in perl.h that avoids duplicate 
definitions, and so code that includes handy.h but not perl.h doesn't 
compile with this munged patch.

I don't have time to look into the correct solution right now; others 
may have that expertise at their fingertips.  But this patch, fixes 
things up so that blead will compile, and all tests in the suite pass. 
It is essentially the original patch, but an extra #include of the new 
header file so it gets the table from there instead of perl.h.  Code 
that doesn't include perl.h doesn't get table lookup, which was the 
solution the original patch had.

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