aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/Makefile
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-02-09 10:31:04 +0100
committerBjörn Gustavsson <[email protected]>2011-02-09 10:31:04 +0100
commit7b7409702272dd26ce248d5642c6840d07752183 (patch)
tree5291b0d88e876e1b2f3c47e1d01c7e949df5c6c5 /lib/compiler/src/Makefile
parente3d12b73ffcbc85d276414128482d7946bd0b861 (diff)
parent9e2aa4739c22ae5af6e1d8c4fed19a979beadf8c (diff)
downloadotp-7b7409702272dd26ce248d5642c6840d07752183.tar.gz
otp-7b7409702272dd26ce248d5642c6840d07752183.tar.bz2
otp-7b7409702272dd26ce248d5642c6840d07752183.zip
Merge branch 'bjorn/compiler/eliminate-warnings' into dev
* bjorn/compiler/eliminate-warnings: compiler Makefile: Turn warnings into errors v3_kernel_pp: Add support for pretty-printing #k_literal{} records v3_kernel_pp: Eliminate warning
Diffstat (limited to 'lib/compiler/src/Makefile')
-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