# New Ticket Created by "Senaka Fernando" # Please include the string: [perl #52510] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=52510 >
Index: src/global.c =================================================================== --- src/global.c (revision 26800) +++ src/global.c (working copy) @@ -290,10 +290,10 @@ PARROT_WARN_UNUSED_RESULT PARROT_CAN_RETURN_NULL PMC * -Parrot_ns_get_name(PARROT_INTERP, ARGIN(PMC *namespace)) +Parrot_ns_get_name(PARROT_INTERP, ARGIN(PMC *_namespace)) { PMC *names; - Parrot_PCCINVOKE(interp, namespace, + Parrot_PCCINVOKE(interp, _namespace, CONST_STRING(interp, "get_name"), "->P", &names); return names; }
global.c fails C++ build due to the use of C++ keyword, 'namespace' as a variable name. Patch attached. Regards, Senaka