diff options
author | Björn Gustavsson <[email protected]> | 2013-01-23 13:25:13 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-01-23 13:37:42 +0100 |
commit | 13dc75d665058fea45d8bf33dff785049903cfd9 (patch) | |
tree | 2a794ecb9d3954d234a58ac996434fbc53ac1733 /lib/mnesia/src/Makefile | |
parent | e7958cb3b3332a5ef4c067fe4f080587689b65d7 (diff) | |
download | otp-13dc75d665058fea45d8bf33dff785049903cfd9.tar.gz otp-13dc75d665058fea45d8bf33dff785049903cfd9.tar.bz2 otp-13dc75d665058fea45d8bf33dff785049903cfd9.zip |
Turn warnings to errors on selected applications
Diffstat (limited to 'lib/mnesia/src/Makefile')
-rw-r--r-- | lib/mnesia/src/Makefile | 5 |
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 |