<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 4 May 2018 at 12:07, Karolis Petrauskas <span dir="ltr"><<a href="mailto:k.petrauskas@gmail.com" target="_blank">k.petrauskas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>I agree with Heinz. The deprecation of gen_fsm forced me to stuck on OTP 19 and I dont see any reasonable path to upgrade.<br></div></div></div></blockquote><div><br></div><div>We upgraded successfully to OTP 20 (and compiled against OTP 21) by simply adding the following to the top of our gen_fsm modules:</div><div><br></div><div>-compile([nowarn_deprecated_function]).  % gen_fsm is deprecated; use gen_statem</div><div><br></div><div>It'll be a problem when gen_fsm is *removed*, but until then, we'll stick with this.</div></div></div></div>