From 304afd75acd9b83e8604f25060115aeb5c4efb23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chmielowski?= Date: Fri, 4 Mar 2016 11:32:23 +0100 Subject: [PATCH] Compile ejabberd_config early to stop undefined behaviour warnings --- rebar.config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rebar.config b/rebar.config index 131e3583d..865517c98 100644 --- a/rebar.config +++ b/rebar.config @@ -63,6 +63,8 @@ ezlib, iconv]}}. +{erl_first_files, ["src/ejabberd_config.erl"]}. + {erl_opts, [nowarn_deprecated_function, {if_var_false, debug, no_debug_info}, {if_var_true, roster_gateway_workaround, {d, 'ROSTER_GATWAY_WORKAROUND'}},