on newer versions of erlang the function erlang:now/0 is considered as deprecated and this leads to the warning message about deprecation; however, in your Makefile you explicitly specified warnings_as_errors.
As a result, it is impossible to compile using provided Makefile:
@svartalfr:pts/6(0)prj/erl/erlang-zloca% gmake compile
gmake: dpkg-parsechangelog: Команда не знайдена
mkdir -p ebin
sed "s/{{VERSION}}//" src/zloca.app.in > ebin/zloca.app
echo '["src/*"].' > Emakefile
erl -noinput -eval "up_to_date=make:all([{outdir, ebin}, {i, \"include\"}, warn_unused_function, warn_bif_clash, warn_deprecated_function, warn_obsolete_guard, verbose, warn_shadow_vars, warn_export_vars, warn_unused_records, warn_unused_import, warn_export_all, warnings_as_errors]),halt()"
Recompile: src/zloca_updator
Recompile: src/zloca_srv
Recompile: src/zloca_lib
{compile: warnings being treated as errors
src/zloca_lib.erl:30: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.
"init terminating in do_boot",{{badmatch,error},[{erl_eval,expr,3,[]}]}}
Crash dump is being written to: erl_crash.dump...done
init terminating in do_boot ()
Makefile:23: спроба виконання рецепта для мети «compile» зазнала невдачі
gmake: *** [compile] Помилка 1
on newer versions of erlang the function erlang:now/0 is considered as deprecated and this leads to the warning message about deprecation; however, in your Makefile you explicitly specified warnings_as_errors.
As a result, it is impossible to compile using provided Makefile:
version info: