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

Integer literal exceeds the range of representable integers of type int #4

Open
logicshan opened this issue Feb 20, 2019 · 2 comments

Comments

@logicshan
Copy link

When I install ezgzip with ocaml 4.07.0 in a 32-bit machine

$ opam install ezgzip

I have this error message

File "src/ezgzip.ml", line 140, characters 50-63:

Error: Integer literal exceeds the range of representable integers of type int

<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build ezgzip 0.2.1
└─

@hcarty
Copy link
Owner

hcarty commented Feb 22, 2019

Ah, thanks for the report! I think I realized this at the time but didn't have a 32bit system to test on.

It should be relatively straightforward to replace that piece of code with Int64.* functions. Would you be able to submit a PR for that support?

@logicshan
Copy link
Author

It is embarrassing that my ocaml knowledge is very limited. I would install ezgzip because I just want to experience https://github.com/RedPRL/redtt. :-)

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

2 participants