Skip to content

failed to compile with error "This argument cannot be applied with label ~cmp" #1

@zhuizhuhaomeng

Description

@zhuizhuhaomeng

Install failed with “opam switch create dwarf-synthesis ocaml-base-compiler.4.05.0 ”
so I change to opam switch create dwarf-synthesis ocaml-base-compiler.4.07.0
after install with “opam install bap”, bap version is 2.1.0.

File "DwarfSynth/Simplest.ml", line 932, characters 2-211:
Warning 50: unattached documentation comment (ignored)
File "DwarfSynth/Simplest.ml", line 952, characters 2-48:
Warning 50: unattached documentation comment (ignored)
File "DwarfSynth/Simplest.ml", line 965, characters 2-72:
Warning 50: unattached documentation comment (ignored)
File "DwarfSynth/Simplest.ml", line 663, characters 54-394:
Error: The function applied to this argument has type
         compare:('a -> 'a -> int) -> 'a option
This argument cannot be applied with label ~cmp
Command exited with code 2.
Compilation unsuccessful after building 9 targets (8 cached) in 00:00:01.
make: *** [Makefile:24: dwarfsynth.plugin] Error 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions