Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Mac OS X: -Werror=strict-prototypes causes compilation of dyncall_thunk* to fail #38
The switch -Werror=strict-prototypes causes compilation of dyncall to fail. Here's the end of the compile log (a larger extract can be found at http://pastebin.com/NBnaQ24s):
In file included from dyncall_thunk.c:27:
I'm compiling with the tools that come with Xcode 4.3.2 (4E2002):
The flag itself is imported from parrot (or at least I could find it nowhere in the nqp source, but it does exist in the parrot source). To test I tried compiling the latest version of the dyncall library (0.7) on the same machine I I get the same behaviour. If I add the flag (which doesn't exist in their Makefile) then the compile fails with exactly the same error, otherwise it compiles with no problems.
I thought I fixed that problem with 99f34ab - it seems gcc 4.2 doesn't think that
Could you check if this helps:
I've just tried again, but now I'm getting a parrot 4.3.0 / 4.4.0 related error:
I'm guessing this is unrelated though, should I give it a shot from a slightly older revision of nqp?