Skip to content

Commit 79abf4d

Browse files
committed
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.
1 parent db2445b commit 79abf4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.extr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ INCLUDES=$(patsubst %,-I %, $(DIRS))
3636

3737
# Control of warnings:
3838

39-
WARNINGS=-w +a-4-9-27 -strict-sequence -safe-string -warn-error +a #Deprication returns with ocaml 4.03
39+
WARNINGS=-w +a-4-9-27 -strict-sequence -safe-string #Deprication returns with ocaml 4.03
4040
extraction/%.cmx: WARNINGS +=-w -20-27-32..34-39-41-44..45
4141
extraction/%.cmo: WARNINGS +=-w -20-27-32..34-39-41-44..45
4242
cparser/pre_parser.cmx: WARNINGS += -w -41

0 commit comments

Comments
 (0)