From f907a4e71e430da0293e9057f617917686c4d40c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 1 Apr 2021 20:33:07 +0200 Subject: Fix compiling with ocaml-4.12 "compare" becames "List.compare" due to https://github.com/ocaml/ocaml/pull/9668 Thus we need to use Stdlib.compare Thx Pascal Rigaux --- src/common.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/common.ml b/src/common.ml index 04225f9..ce57937 100644 --- a/src/common.ml +++ b/src/common.ml @@ -976,7 +976,7 @@ let is_greater2compare is_greater a b = module OrderedString = struct type t = string - let compare = compare + let compare = Stdlib.compare end;; module StringSet = Set.Make(OrderedString);; -- cgit v1.2.1