diff options
author | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2020-02-06 17:27:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 17:27:05 +0100 |
commit | d5435a34169d92a96f1436128f3e90df7f4f9e9a (patch) | |
tree | 51d678b64420e87bebe713b9a4c1aa043fb13685 /Makefile.extr | |
parent | 6950ac8fb096768cb3811ae7f89d0db080bf965a (diff) | |
download | compcert-kvx-d5435a34169d92a96f1436128f3e90df7f4f9e9a.tar.gz compcert-kvx-d5435a34169d92a96f1436128f3e90df7f4f9e9a.zip |
Compatibility with OCaml 4.10 (#214)
debug/DwarfPrinter.mli: unused functor parameter trigger warning 69,
replace by non-dependent functor type.
Makefile.extr: turn warning 69 (unused functor parameter) off
for extracted code
configure: accept OCaml versions above 4.09
configure: update messages for unsupported versions of OCaml and Coq
Diffstat (limited to 'Makefile.extr')
-rw-r--r-- | Makefile.extr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.extr b/Makefile.extr index 7b59ed24..5948bfc6 100644 --- a/Makefile.extr +++ b/Makefile.extr @@ -50,8 +50,8 @@ 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 -extraction/%.cmx: WARNINGS +=-w -20-27-32..34-39-41-44..45-60 -extraction/%.cmo: WARNINGS +=-w -20-27-32..34-39-41-44..45-60 +extraction/%.cmx: WARNINGS +=-w -20-27-32..34-39-41-44..45-60-67 +extraction/%.cmo: WARNINGS +=-w -20-27-32..34-39-41-44..45-60-67 cparser/pre_parser.cmx: WARNINGS += -w -41 cparser/pre_parser.cmo: WARNINGS += -w -41 |