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

Build error in MacOS Sierra: expected member name or ';' after declaration specifiers #10

Open
fabvio opened this issue Oct 27, 2017 · 0 comments

Comments

@fabvio
Copy link

fabvio commented Oct 27, 2017

I tried to build the module on my Macbook Pro running MacOS Sierra 10.12.6. I got a build error returning these logs:

error: expected member name or ';' after declaration specifiers
error: no member named 'min_exponent' in 'numeric_limits<_Tp>'
error: no member named 'min_exponent' in 'numeric_limits<const type-parameter-0-0>'
error: no member named 'min_exponent' in 'numeric_limits<volatile type-parameter-0-0>'
error: no member named 'min_exponent' in 'numeric_limits<const volatile type-parameter-0-0>'

The bug is caused by #define epsilon 0.00001, defined in graph_utils.h, which conflicts with a macro in the llvm compiler infrastructure included in MacOS. I fixed the bug and opened a pull request.
However, the project may be discontinued do I don't know if my pull request will ever be merged. If needed, the code is in my forked repo. I'll also update the .rockspec file in order to download the code in my repo in the next commit (which should not be merged)

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

No branches or pull requests

1 participant