<div dir="ltr"><div>Those are innocuous warnings at the moment. Maybe mochiweb is not being updated to support much older versions of Erlang.</div><div><br></div><div>Still, if this bothers you too much or you don't want to maintain your own fork of mochiweb I'd suggest switching to a more modern HTTP server library such as <a href="https://github.com/ninenines/cowboy">Cowboy</a>. You'll also gain support for websockets and eventually HTTP 2.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 2, 2017 at 8:43 AM, getonga <span dir="ltr"><<a href="mailto:getonga@qq.com" target="_blank">getonga@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>I compile mochiweb in erlang 20, and I find this error:</div><div>```</div><div><div>src/mochiweb_html.erl:8: Warning: export_all flag enabled - all functions will be exported</div><div>Compiled src/mochiweb_html.erl</div><div>src/mochiweb_multipart.erl:41: Warning: crypto:rand_bytes/1 is deprecated and will be removed in a future release; use crypto:strong_rand_bytes/1</div><div>Compiled src/mochiweb_multipart.erl</div></div><div>```</div><div><br></div><div>I made a pr to the mochiweb, but not accepted for a long time and not been discussed.</div><div>Which erlang version do you use with mochiweb?</div><div>Does the mochiweb still in maintenance?</div><br>______________________________<wbr>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>