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

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

Thread Previous
From:
karl williamson
Date:
September 25, 2010 08:55
Subject:
[perl #78044] PATCH: get blead to compile again
Message ID:
rt-3.6.HEAD-5116-1285430124-393.78044-75-0@perl.org
# New Ticket Created by  karl williamson 
# Please include the string:  [perl #78044]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=78044 >


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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About