aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src/Makefile
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2012-03-26 23:39:20 +0200
committerKostis Sagonas <[email protected]>2012-03-26 23:39:20 +0200
commita19f85f6d83b349f46da14e005a6435763c007ee (patch)
tree812aa3797d5a3cd5432e47b90bd6cc3ef9d0c347 /lib/dialyzer/src/Makefile
parent3e922e3a1995f7a63d7bf457a6a45a3d8010756f (diff)
downloadotp-a19f85f6d83b349f46da14e005a6435763c007ee.tar.gz
otp-a19f85f6d83b349f46da14e005a6435763c007ee.tar.bz2
otp-a19f85f6d83b349f46da14e005a6435763c007ee.zip
Add warnings_as_errors option
Diffstat (limited to 'lib/dialyzer/src/Makefile')
-rw-r--r--lib/dialyzer/src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dialyzer/src/Makefile b/lib/dialyzer/src/Makefile
index 810f86dc21..97c5469d39 100644
--- a/lib/dialyzer/src/Makefile
+++ b/lib/dialyzer/src/Makefile
@@ -86,7 +86,7 @@ APPUP_TARGET= $(EBIN)/$(APPUP_FILE)
ifeq ($(NATIVE_LIBS_ENABLED),yes)
ERL_COMPILE_FLAGS += +native
endif
-ERL_COMPILE_FLAGS += +warn_exported_vars +warn_unused_import +warn_untyped_record +warn_missing_spec
+ERL_COMPILE_FLAGS += +warn_exported_vars +warn_unused_import +warn_untyped_record +warn_missing_spec +warnings_as_errors
# ----------------------------------------------------
# Targets