aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-01-23 13:25:13 +0100
committerBjörn Gustavsson <[email protected]>2013-01-23 13:37:42 +0100
commit13dc75d665058fea45d8bf33dff785049903cfd9 (patch)
tree2a794ecb9d3954d234a58ac996434fbc53ac1733 /lib/mnesia/src
parente7958cb3b3332a5ef4c067fe4f080587689b65d7 (diff)
downloadotp-13dc75d665058fea45d8bf33dff785049903cfd9.tar.gz
otp-13dc75d665058fea45d8bf33dff785049903cfd9.tar.bz2
otp-13dc75d665058fea45d8bf33dff785049903cfd9.zip
Turn warnings to errors on selected applications
Diffstat (limited to 'lib/mnesia/src')
-rw-r--r--lib/mnesia/src/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/mnesia/src/Makefile b/lib/mnesia/src/Makefile
index 53d327c11b..3a146c009a 100644
--- a/lib/mnesia/src/Makefile
+++ b/lib/mnesia/src/Makefile
@@ -93,10 +93,9 @@ APPUP_TARGET= $(EBIN)/$(APPUP_FILE)
# FLAGS
# ----------------------------------------------------
ERL_COMPILE_FLAGS += \
- +warn_unused_vars \
+ -Werror \
+'{parse_transform,sys_pre_attributes}' \
- +'{attribute,insert,vsn,"mnesia_$(MNESIA_VSN)"}' \
- -W
+ +'{attribute,insert,vsn,"mnesia_$(MNESIA_VSN)"}'
# ----------------------------------------------------
# Targets