Skip to content

Commit

Permalink
For the release, turn off -warn-error
Browse files Browse the repository at this point in the history
Release builds should not have -warn-error so that they are resilient to addition of new warnings in newer versions of OCaml.
  • Loading branch information
xavierleroy committed Jun 30, 2016
1 parent db2445b commit 79abf4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.extr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 79abf4d

Please sign in to comment.