# New Ticket Created by NotFound # Please include the string: [perl #55960] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=55960 >
C++ building is broken because of differences in struct Hash declarations and usage. This patch fixes the problem, but I'm not very sure that is the best way. -- Salu2
Index: src/string.c =================================================================== --- src/string.c (revisión: 28490) +++ src/string.c (copia de trabajo) @@ -265,7 +265,7 @@ /* Set up the cstring cache, then load the basic encodings and charsets */ if (!interp->parent_interpreter) { parrot_new_cstring_hash(interp, &const_cstring_hash); - interp->const_cstring_hash = (struct Hash *)const_cstring_hash; + interp->const_cstring_hash = (Hash *)const_cstring_hash; Parrot_charsets_encodings_init(interp); } /* initialize the constant string table */ Index: include/parrot/interpreter.h =================================================================== --- include/parrot/interpreter.h (revisión: 28490) +++ include/parrot/interpreter.h (copia de trabajo) @@ -388,7 +388,7 @@ struct _Caches * caches; /* see caches.h */ STRING **const_cstring_table; /* CONST_STRING(x) items */ - struct Hash *const_cstring_hash; /* cache of const_string items */ + struct _hash *const_cstring_hash; /* cache of const_string items */ struct QUEUE* task_queue; /* per interpreter queue */ struct _handler_node_t *exit_handler_list;/* exit.c */