Skip to content

Does not build with ocamlc >= 4.06 #29

Open
@sampollard

Description

@sampollard

If you compile with e.g. ocamlc 4.06 you get a bunch of warnings like this:

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims

Then an error:

ocamlc -c -I b_and_b -I INTERVAL more_num.mli
File "more_num.mli", line 13, characters 16-23:
13 | val numerator : Num.num -> Big_int.big_int
                     ^^^^^^^
Error: Unbound module Num
make: *** [Makefile:183: more_num.cmi] Error 2

I got around this by doing ocaml switch create 4.05.0, which then built successfully. You may want to update the README.md. This was on Ubuntu 20.04.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions