#647: [PATCH] src/call/pcc.c compile on hpux
----------------------+-----------------------------------------------------
Reporter: rrauenza | Type: patch
Status: new | Priority: normal
Milestone: | Component: none
Version: | Severity: medium
Keywords: | Lang:
Patch: | Platform:
----------------------+-----------------------------------------------------
hpux 11.23, hp compiler, to be specific. I was trying to build rakudo on
HPUX.
without this patch, an argument assertion fails to compile because the
argument isn't evaluatable (did I make up that word?). It is the va_list
which isn't a scalar value. I saw in other functions that the va_list
wasn't asserted, so I removed it.
{{{
Index: src/call/pcc.c
===================================================================
--- src/call/pcc.c (revision 38492)
+++ src/call/pcc.c (working copy)
@@ -310,8 +310,7 @@
PARROT_ASSERT_ARG(interp) \
|| PARROT_ASSERT_ARG(ctx) \
|| PARROT_ASSERT_ARG(indexes) \
- || PARROT_ASSERT_ARG(ret_x) \
- || PARROT_ASSERT_ARG(returns)
+ || PARROT_ASSERT_ARG(ret_x)
#define ASSERT_ARGS_set_retval_util __attribute__unused__ int
_ASSERT_ARGS_CHECK = \
PARROT_ASSERT_ARG(interp) \
|| PARROT_ASSERT_ARG(sig) \
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/647>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets