aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-02-02 10:21:37 +0100
committerBjörn Gustavsson <[email protected]>2011-02-02 10:21:37 +0100
commit9e2aa4739c22ae5af6e1d8c4fed19a979beadf8c (patch)
tree29e870c9c3e76405932c48265fa982481936b151
parent99f7b4e9acba5525f5390526bbb4baf17625c43b (diff)
downloadotp-9e2aa4739c22ae5af6e1d8c4fed19a979beadf8c.tar.gz
otp-9e2aa4739c22ae5af6e1d8c4fed19a979beadf8c.tar.bz2
otp-9e2aa4739c22ae5af6e1d8c4fed19a979beadf8c.zip
compiler Makefile: Turn warnings into errors
We want to ensure that the compiler applications is kept free of warnings.
-rw-r--r--lib/compiler/src/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/compiler/src/Makefile b/lib/compiler/src/Makefile
index 0f6d2f6193..9da9253f5b 100644
--- a/lib/compiler/src/Makefile
+++ b/lib/compiler/src/Makefile
@@ -118,7 +118,9 @@ APPUP_TARGET= $(EBIN)/$(APPUP_FILE)
ifeq ($(NATIVE_LIBS_ENABLED),yes)
ERL_COMPILE_FLAGS += +native
endif
-ERL_COMPILE_FLAGS += +inline +warn_unused_import -I../../stdlib/include -I$(EGEN) -W
+ERL_COMPILE_FLAGS += +inline +warn_unused_import \
+ +warnings_as_errors \
+ -I../../stdlib/include -I$(EGEN) -W
# ----------------------------------------------------
# Targets