Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation issues with OTP 18.3 #58

Closed
wants to merge 1 commit into from

Conversation

whitfin
Copy link

@whitfin whitfin commented Apr 25, 2016

There are a few issues when compiling against OTP 18.3. I have provided this PR to demonstrate fixes for those that need them (and will add more as needed).

I'm not familiar enough with C preprocessor voodoo to figure out how to make the switch from erl_exit to erts_exit backwards compatible, so if anyone has any tips that would be great (having said that, OTP itself wasn't backwards compatible).

I actually think this project should just use it's own exit functions instead of relying on those in OTP because they're not actually meant to be public: https://github.com/erlang/otp/blob/maint/erts/emulator/drivers/common/inet_drv.c#L1576. It was changed without PR and broken in a minor version.

This will correct #51 and #53.

@lemenkov
Copy link
Contributor

Nice.

@lemenkov
Copy link
Contributor

lemenkov commented Jul 7, 2016

The issue with erlang:now/0 was addressed already with PR #55 (which was merged). So I believe someone should rework this PR.

The remaining issue was fixed in mine PR #57 but I'm not sure if it works with older Erlang versions.

@lemenkov
Copy link
Contributor

@zackehh could you please rebase this PR on top of develop (which now contains a fix for erlang:now/0 but still does't have fix for erl_exit) ?

@whitfin
Copy link
Author

whitfin commented Oct 12, 2016

@lemenkov sure thing, I'll close this & open up a new one shortly.

@whitfin
Copy link
Author

whitfin commented Oct 12, 2016

@lemenkov here you go: #64 - I realised I could've updated this one after I'd already filed it separately, got confused with my rebase 😜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants