aboutsummaryrefslogtreecommitdiffstats
path: root/erlang.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-11-25 18:38:25 +0200
committerLoïc Hoguin <[email protected]>2014-11-25 18:38:25 +0200
commit26a0b20b422322ccc7e1051a212949338155f7ad (patch)
tree93a8ccc218c835d6c5e3f53c4c82dd70a7ee8be1 /erlang.mk
parent7a408bc52f99f80df921b87891f7a98294fdd90b (diff)
downloaderlang.mk-26a0b20b422322ccc7e1051a212949338155f7ad.tar.gz
erlang.mk-26a0b20b422322ccc7e1051a212949338155f7ad.tar.bz2
erlang.mk-26a0b20b422322ccc7e1051a212949338155f7ad.zip
Remove +warn_export_all from the enabled warnings by default
People who don't want export_all simply don't use it. The warning is annoying for those edge cases where it's actually useful, as it can't be disabled on a per-file basis.
Diffstat (limited to 'erlang.mk')
-rw-r--r--erlang.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/erlang.mk b/erlang.mk
index 161e9d0..454fb34 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -206,8 +206,8 @@ help::
# Configuration.
-ERLC_OPTS ?= -Werror +debug_info +warn_export_all +warn_export_vars \
- +warn_shadow_vars +warn_obsolete_guard # +bin_opt_info +warn_missing_spec
+ERLC_OPTS ?= -Werror +debug_info +warn_export_vars +warn_shadow_vars \
+ +warn_obsolete_guard # +bin_opt_info +warn_export_all +warn_missing_spec
COMPILE_FIRST ?=
COMPILE_FIRST_PATHS = $(addprefix src/,$(addsuffix .erl,$(COMPILE_FIRST)))
ERLC_EXCLUDE ?=