From: Paweł Chmielowski Date: Fri, 4 Mar 2016 10:32:23 +0000 (+0100) Subject: Compile ejabberd_config early to stop undefined behaviour warnings X-Git-Tag: 16.03~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=304afd75acd9b83e8604f25060115aeb5c4efb23;p=ejabberd Compile ejabberd_config early to stop undefined behaviour warnings --- 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'}},