diff options
| author | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-08-07 12:59:51 +0200 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-08-07 12:59:51 +0200 |
| commit | 804a2209b4c8c540559c06f2c9d1544c609f1624 (patch) | |
| tree | 93e7fc068aa8bce9814c4ce51b2350a2a4228368 /Makefile | |
| parent | e2b7de27cc6c55e430882621a4545dcfdd901e95 (diff) | |
| download | rabbitmq-server-git-804a2209b4c8c540559c06f2c9d1544c609f1624.tar.gz | |
Warn about exported variables
Fix the reported warning in `credit_flow.erl` and `rabbit_table.erl`.
This is the default setting in erlang.mk, so fixing this directly in
RabbitMQ will ease future work on erlang.mk or Rebar.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,7 @@ USE_PROPER_QC:=$(shell erl -noshell -eval 'io:format({module, proper} =:= code:e endif #other args: +native +"{hipe,[o3,verbose]}" -Ddebug=true +debug_info +no_strict_record_tests -ERLC_OPTS=-I $(INCLUDE_DIR) -Wall -v +debug_info $(call boolean_macro,$(USE_SPECS),use_specs) $(call boolean_macro,$(USE_PROPER_QC),use_proper_qc) +ERLC_OPTS=-I $(INCLUDE_DIR) -Wall +warn_export_vars -v +debug_info $(call boolean_macro,$(USE_SPECS),use_specs) $(call boolean_macro,$(USE_PROPER_QC),use_proper_qc) ifdef INSTRUMENT_FOR_QC ERLC_OPTS += -DINSTR_MOD=gm_qc |
