Strange issue with High Sierra

Since High Sierra upgrade having a seperate line for platform_define 17 caused issues.

OTP 19 seemingly matched against it.  OTP 18 had a redefine issue as it appeared to match against it as well.

Using this regex instead seems to work.  Why? Why was htis not an issue before High Sierra?
This commit is contained in:
Martin Sumner 2017-11-13 18:58:50 +00:00
parent a4186424ea
commit 3f6cb28365

View file

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