Control: tags -1 + patch

Le 26/12/2021 à 21:04, Stéphane Glondu a écrit :
> Your package FTBFS with OCaml 4.13.1 with the following error:
>> File "mList.ml", line 203, characters 14-23:
>> 203 |   let slist = List.sort compare list in
>>                     ^^^^^^^^^
>> Error (warning 6 [labels-omitted]): label cmp was omitted in the application 
>> of this function.
>> File "mList.ml", line 211, characters 14-23:
>> 211 |   let slist = List.sort compare list in
>>                     ^^^^^^^^^
>> Error (warning 6 [labels-omitted]): label cmp was omitted in the application 
>> of this function.

Patch attached.


Cheers,

-- 
Stéphane
From fd51784c6ecd09a06812fa50a6c8add72bb63ce3 Mon Sep 17 00:00:00 2001
From: Stephane Glondu <st...@glondu.net>
Date: Sat, 22 Jan 2022 09:24:17 +0100
Subject: [PATCH] Do not error on warning 6 [labels-omitted]

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 491190e..45514b7 100644
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,7 @@ SKSVS=$(shell grep 'version_suffix = "+"' common.ml)
 ifeq ($(strip $(SKSVS)),)
 WARNERR=
 else
-WARNERR=-warn-error A
+WARNERR=-warn-error A-6
 endif
 
 CAMLINCLUDE= -package cryptokit,unix,str,bigarray,num -I bdb
-- 
2.34.1

Reply via email to