aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/main/Makefile
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2016-05-27 15:51:01 +0200
committerSverker Eriksson <[email protected]>2016-05-31 12:19:59 +0200
commit4ae10746a3d2dd2904d0da5b54700b9a152806ed (patch)
treedc5f84c83efe49f559efbc8ecd216f68b3bdea9c /lib/hipe/main/Makefile
parentcbb325bd193fd407c4495e95419512312febcc1c (diff)
downloadotp-4ae10746a3d2dd2904d0da5b54700b9a152806ed.tar.gz
otp-4ae10746a3d2dd2904d0da5b54700b9a152806ed.tar.bz2
otp-4ae10746a3d2dd2904d0da5b54700b9a152806ed.zip
Cleanups in hipe/main and hipe/rtl
* Rewrite matching statements in ?when_option macro to form that silences dialyzer's unmatched_return warnings * Treat compiler warnings as errors when compiling files in main
Diffstat (limited to 'lib/hipe/main/Makefile')
-rw-r--r--lib/hipe/main/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/main/Makefile b/lib/hipe/main/Makefile
index 6b6cad3ed3..8ef31dbb46 100644
--- a/lib/hipe/main/Makefile
+++ b/lib/hipe/main/Makefile
@@ -70,7 +70,7 @@ APPUP_TARGET= $(EBIN)/$(APPUP_FILE)
include ../native.mk
-ERL_COMPILE_FLAGS += +nowarn_shadow_vars +warn_missing_spec +warn_untyped_record
+ERL_COMPILE_FLAGS += -Werror +nowarn_shadow_vars +warn_export_vars +warn_missing_spec +warn_untyped_record
# ----------------------------------------------------
# Targets