#647: [PATCH] src/call/pcc.c compile on hpux
----------------------+-----------------------------------------------------
Reporter: rrauenza | Owner: Infinoid
Type: patch | Status: new
Priority: normal | Milestone:
Component: none | Version:
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
----------------------+-----------------------------------------------------
Changes (by Infinoid):
* owner: => Infinoid
Comment:
Replying to [comment:2 rrauenza]:
> "src/call/pcc.c", line 2475: error #2041: expression must have
arithmetic or
> pointer type
> ASSERT_ARGS(set_context_sig_returns_varargs)
> ^
Thanks for the info. I would be rather curious to see what the
preprocessor output of that looks like (if your compiler has an equivalent
to gcc -E), but it isn't very important... I think I already know how to
get things building for you.
The ASSERT_ARGS stuff is a bit of a hack to keep us programmers honest,
and it is rather gcc-specific. We are explicitly disabling it for the
MSVC compiler with an #ifdef _MSC_VER, you can see this in
include/parrot/exceptions.h. Is there a compiler-specific define we can
use to skip it on the HPUX compiler, too?
Mark
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/647#comment:5>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets