ocaml-camlp5/camlp5-6.11-kill-warn-error.patch

16 lines
399 B
Diff
Raw Normal View History

--- camlp5-6.11/configure.old 2014-08-24 09:49:01.887731189 +0100
+++ camlp5-6.11/configure 2014-08-24 09:50:19.043742759 +0100
@@ -246,11 +246,7 @@
OCAMLC_W_Y=""
fi
-if [ "$($ocamlc -warn-error A 2>&1)" = "" ]; then
- WARNERR="-warn-error A"
-else
- WARNERR=""
-fi
+WARNERR=""
if make -f config/Makefile.check --no-print-directory >/dev/null 2>&1; then
NO_PR_DIR=--no-print-directory