From f0c30fc166a37cca8d6b208de0ceea0ef770c8ac Mon Sep 17 00:00:00 2001 From: Sam Blackshear Date: Mon, 27 Jul 2015 09:59:55 -0600 Subject: [PATCH] [infer][build] Treating OCaml compiler warnings as build-blocking errors Summary: Keep the codebase high-quality by preventing the introduction of warnings. --- infer/src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infer/src/Makefile b/infer/src/Makefile index 47d401d9e..72c1c5750 100644 --- a/infer/src/Makefile +++ b/infer/src/Makefile @@ -43,7 +43,7 @@ ifneq ($(wildcard $(BUILDDIR)/sanitize.sh),) endif GLOBAL_LFLAGS = -annot -GLOBAL_CFLAGS = -bin-annot +GLOBAL_CFLAGS = "-bin-annot -warn-error @5@8@10..12@20@26" GLOBAL_OPTIONS = -lflags $(GLOBAL_LFLAGS) -cflags $(GLOBAL_CFLAGS) $(addprefix -lib ,$(GLOBAL_LIBS)) #### Backend declarations ####