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

hsc2hs #const U_NO_NUMERIC does not work with --cross-compile #7

Open
singpolyma opened this issue Oct 2, 2014 · 1 comment
Open

Comments

@singpolyma
Copy link

This seems to be because the way --cross-compile checks if something is valid is by using it as an array size, but this constant is a double, so that's not allowed.

In general #const says it is for longs, but this constant could be a long, it's just cast to double for some reason.

I'm working around it for now by doing the hsc2hs call without --cross-compile (since the constants are the same on my host system) and building against the result.

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