aboutsummaryrefslogtreecommitdiffstats
path: root/core
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 /core
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 'core')
-rw-r--r--core/erlc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/erlc.mk b/core/erlc.mk
index 1737bc4..8d720aa 100644
--- a/core/erlc.mk
+++ b/core/erlc.mk
@@ -5,8 +5,8 @@
# 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 ?=