From 77e3b3c43aebe9ad18ac99b34cf6dfac1ecc93fd Mon Sep 17 00:00:00 2001 From: Emilio Jesus Gallego Arias Date: Wed, 11 Jul 2018 18:32:37 +0200 Subject: [warnings] Disable warning 59 [assignment to a non-mutable value] to make flambda happy. See issue #8043. Using `[@@@ocaml.warning "-59"]` to disable this fails, it seems like an OCaml bug. --- configure.ml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ml b/configure.ml index 194f47c49..0b6b47e9a 100644 --- a/configure.ml +++ b/configure.ml @@ -647,8 +647,9 @@ let camltag = match caml_version_list with 48: implicit elimination of optional arguments: too common 50: unexpected documentation comment: too common and annoying to avoid 56: unreachable match case: the [_ -> .] syntax doesn't exist in 4.02.3 + 59: "potential assignment to a non-mutable value": See Coq's issue #8043 *) -let coq_warnings = "-w +a-4-9-27-41-42-44-45-48-50" +let coq_warnings = "-w +a-4-9-27-41-42-44-45-48-50-59" let coq_warn_error = if !prefs.warn_error then "-warn-error +a" -- cgit v1.2.3