Ticket #647 (closed patch: fixed)
[PATCH] src/call/pcc.c compile on hpux
Reported by: | rrauenza | Owned by: | Infinoid |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | none | Version: | |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | applied | Platform: |
Description
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) \
Change History
Note: See
TracTickets for help on using
tickets.