# New Ticket Created by NotFound # Please include the string: [perl #56534] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=56534 >
The lexinfo and addregistry pmc uses hash an pmc hash functions without access to his prototypes, giving warnings in c build and error in c++ build. This patch fixes the problem. -- Salu2
Index: src/pmc/addrregistry.pmc =================================================================== --- src/pmc/addrregistry.pmc (revisión: 28958) +++ src/pmc/addrregistry.pmc (copia de trabajo) @@ -26,6 +26,8 @@ */ #include "parrot/parrot.h" +#include "parrot/hash.h" +#include "pmc_hash.h" pmclass AddrRegistry need_ext provides hash { ATTR Hash *hash; /* a PMC Hash */ Index: src/pmc/lexinfo.pmc =================================================================== --- src/pmc/lexinfo.pmc (revisión: 28958) +++ src/pmc/lexinfo.pmc (copia de trabajo) @@ -19,6 +19,7 @@ */ #include "parrot/parrot.h" +#include "pmc_hash.h" /* * LexInfo contains a constant Hash with constant string