From 79abf4d97b1c669338bae9f3aede440a1487c0bb Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Thu, 30 Jun 2016 11:24:00 +0200 Subject: For the release, turn off -warn-error Release builds should not have -warn-error so that they are resilient to addition of new warnings in newer versions of OCaml. --- Makefile.extr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.extr b/Makefile.extr index 51dbd767..fcae459d 100644 --- a/Makefile.extr +++ b/Makefile.extr @@ -36,7 +36,7 @@ INCLUDES=$(patsubst %,-I %, $(DIRS)) # Control of warnings: -WARNINGS=-w +a-4-9-27 -strict-sequence -safe-string -warn-error +a #Deprication returns with ocaml 4.03 +WARNINGS=-w +a-4-9-27 -strict-sequence -safe-string #Deprication returns with ocaml 4.03 extraction/%.cmx: WARNINGS +=-w -20-27-32..34-39-41-44..45 extraction/%.cmo: WARNINGS +=-w -20-27-32..34-39-41-44..45 cparser/pre_parser.cmx: WARNINGS += -w -41 -- cgit