Add specific compile flag to avoid deprecation warning

Will see us through OTP 20 and 21.
This commit is contained in:
Martin Sumner 2018-05-04 17:14:12 +01:00
parent 931129d25f
commit 96cee2a64c
3 changed files with 20 additions and 0 deletions

View file

@ -1,4 +1,5 @@
{erl_opts, [warnings_as_errors,
{platform_define, "^2[0-1]{1}", fsm_deprecated},
{platform_define, "^1[7-8]{1}", old_rand},
{platform_define, "^R", old_rand},
{platform_define, "^R", no_sync}]}.