aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/src/Makefile
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-01-24 11:53:52 +0100
committerBjörn Gustavsson <[email protected]>2013-01-24 11:53:52 +0100
commit21c1b8261c5cc39515de8ff65e4fa9a9405e1399 (patch)
tree5d21008e429f910f51f8684a02e5a748925dd5dc /lib/mnesia/src/Makefile
parente5de0874b9f924b2007233bbfd2df9c361141eea (diff)
parent13dc75d665058fea45d8bf33dff785049903cfd9 (diff)
downloadotp-21c1b8261c5cc39515de8ff65e4fa9a9405e1399.tar.gz
otp-21c1b8261c5cc39515de8ff65e4fa9a9405e1399.tar.bz2
otp-21c1b8261c5cc39515de8ff65e4fa9a9405e1399.zip
Merge branch 'bjorn/warnings-zero-tolerance'
* bjorn/warnings-zero-tolerance: Turn warnings to errors on selected applications runtime_tools_sup: Eliminate warning inet_parse: Eliminate a compiler warning
Diffstat (limited to 'lib/mnesia/src/Makefile')
-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