From a49d3b267754eae6036e0c03e48bff7e1c028a58 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Fri, 24 Oct 2014 18:09:12 +0200 Subject: Tune behavior wrt warnings: - cchecklink was compiled with -warn-error, which is bad for production code - silence warning 3 (deprecated functions) - silence warning 20 (unused function argument) for Coq-extracted files. --- Makefile | 1 - _tags | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6ad272a8..2b668724 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,6 @@ OCB_OPTIONS=\ OCB_OPTIONS_CHECKLINK=\ $(OCB_OPTIONS) \ -I checklink \ - -cflags "-w -3" \ -use-ocamlfind OCB_OPTIONS_CLIGHTGEN=\ $(OCB_OPTIONS) \ diff --git a/_tags b/_tags index 8f6d58ac..0d83f2fa 100644 --- a/_tags +++ b/_tags @@ -3,5 +3,7 @@ true: use_menhir <**/*.native>: debug : use_unix,use_str : use_unix,use_str -: pkg_bitstring,warn_error_A +: pkg_bitstring : pkg_unix,pkg_str,pkg_bitstring +: warn(-20) +<**/*.ml>: warn(-3) -- cgit