ezgzip icon indicating copy to clipboard operation
ezgzip copied to clipboard

Integer literal exceeds the range of representable integers of type int

Open logicshan opened this issue 6 years ago • 2 comments

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 └─

logicshan avatar Feb 20 '19 05:02 logicshan

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?

hcarty avatar Feb 22 '19 16:02 hcarty

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. :-)

logicshan avatar Feb 22 '19 16:02 logicshan