aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2013-03-10 16:11:07 +0100
committerKostis Sagonas <[email protected]>2013-03-10 16:11:07 +0100
commit358e2a625cd9a8a61b383f69432c7e8b5d17f167 (patch)
tree1762f61d48cf7bed82c781cb4e58c2f7338661c9 /lib
parent1fd6ce865507d3645f1db998a125ffb7883bf5fd (diff)
downloadotp-358e2a625cd9a8a61b383f69432c7e8b5d17f167.tar.gz
otp-358e2a625cd9a8a61b383f69432c7e8b5d17f167.tar.bz2
otp-358e2a625cd9a8a61b383f69432c7e8b5d17f167.zip
Enable more warnings
Diffstat (limited to 'lib')
-rw-r--r--lib/hipe/icode/Makefile2
-rw-r--r--lib/hipe/rtl/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/hipe/icode/Makefile b/lib/hipe/icode/Makefile
index 0f2d6db39b..238f70cf59 100644
--- a/lib/hipe/icode/Makefile
+++ b/lib/hipe/icode/Makefile
@@ -83,7 +83,7 @@ DOC_FILES= $(DOC_MODULES:%=$(DOCS)/%.html)
include ../native.mk
-ERL_COMPILE_FLAGS += +warn_unused_import +warn_missing_spec # +warn_untyped_record
+ERL_COMPILE_FLAGS += +warn_unused_import +warn_exported_vars +warn_missing_spec # +warn_untyped_record
# ----------------------------------------------------
# Targets
diff --git a/lib/hipe/rtl/Makefile b/lib/hipe/rtl/Makefile
index 7852a2172b..0312e67822 100644
--- a/lib/hipe/rtl/Makefile
+++ b/lib/hipe/rtl/Makefile
@@ -74,7 +74,7 @@ TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR))
include ../native.mk
-ERL_COMPILE_FLAGS += +inline
+ERL_COMPILE_FLAGS += +inline +warn_unused_import +warn_exported_vars
# ----------------------------------------------------
# Targets