aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.extr
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2016-06-21 15:49:07 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2016-06-21 15:49:07 +0200
commit7237ccb621d58b2c86ef250f1c3e3ffd29260955 (patch)
treee770b9a015468751e0b006496fa7518402c88c96 /Makefile.extr
parent8f444dec7112e5b125bf3ead8481ae0f698bbb96 (diff)
downloadcompcert-kvx-7237ccb621d58b2c86ef250f1c3e3ffd29260955.tar.gz
compcert-kvx-7237ccb621d58b2c86ef250f1c3e3ffd29260955.zip
Remove code that will is deprecated in ocaml 4.03
Most of the code can be String.uppercase usages can either be replaced by a more specialized version of coqstring_of_camlstring (which is also slightly more effecient) or by specialized checks that reject wrong code earlier. Bug 19187
Diffstat (limited to 'Makefile.extr')
-rw-r--r--Makefile.extr4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile.extr b/Makefile.extr
index faec34a6..51dbd767 100644
--- a/Makefile.extr
+++ b/Makefile.extr
@@ -35,10 +35,8 @@ DIRS=extraction \
INCLUDES=$(patsubst %,-I %, $(DIRS))
# Control of warnings:
-# warning 3 = deprecated feature. Turned off for OCaml 4.02 (bytes vs strings)
-# warning 20 = unused function argument. There are some in extracted code
-WARNINGS=-w +a-3-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 -warn-error +a #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