#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: |
----------------------+-----------------------------------------------------
Comment(by Infinoid):
Replying to [comment:6 rrauenza]:
> The only compilation problem I've seen is with the asserting of the
va_list. And only in that one function. There are lots of other parrot
functions that take a va_list that isn't asserted in that file.
Thanks. So it sounds like ASSERT_ARGS works fine with the HPUX compiler
anyway... it's just that our code assumes va_list is some sort of pointer
type, which on your platform, it isn't. (For the record, we have a
similar issue on the netbsd/alpha platform, and we should find a more
general fix for that issue.)
> Only other thing to mention is that by default we are not C99 compliant,
but there are compiler options to turn that on. Not really relevant for
this error though.
Ok. We're targeting C89 for this project, in any case, so that shouldn't
be an issue. (If it is, that means we have a bug.)
r38610 changes the ASSERT_ARGS-blacklisted-on-MSVC logic to whitelisted-
on-gcc logic, so the latest svn should build correctly for you. It won't
fix the non-pointer va_list issue, but it works around it by disabling the
seatbelt. (But gcc on HPUX would still fail.)
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/647#comment:7>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets