Closed srenatus closed 7 years ago
Thanks! We tend to wait until the official Erlang/OTP release comes out before making any necessary changes, but this is helpful and is good information.
@vinoski
Hey! OTP 20 is out and I'm trying to add it to homebrew formulas. Just wanted to know if there's a plan to fix this other than removing the warnings_as_errors
flag. :)
To keep this thread self-contained, here's the relevant information included in the readme document for OTP 20:
Application(s): compiler
In a future release, erlang:get_stacktrace/0 will
probably only work when called from within a 'try'
expression (otherwise it will return [].
To help prepare for that change, the compiler will now
by default warn if 'get_stacktrace/0' is used in a way
that will not work in the future. Note that the warning
will not be issued if 'get_stacktrace/0' is used in a
function that uses neither 'catch' nor 'try' (because
that could be a legal use if the function is called
from within a 'try'.
The fix for the erlang:get_stacktrace/0
issue is trivial, but beyond that there are some deflate-related test failures under Erlang/OTP 20 that I'm still investigating.
I thought that get_stacktrace
was the only problem with OTP 20. Thanks for the update!
We figured out the deflate problem a few days ago but we have some SSL-related problems we're still looking into.
See the erlang-otp-20 branch. Assuming Travis is happy with it, we'll merge it.
@vinoski, I pushed a fix for R16B0{1,2,3}. Now, all Travis builds succeeded. I'll merge it in master
Just a heads-up -- trying to build yaws under OTP20-rc2 breaks:
This is
I'll switch back to 19.3 there, just wanted to share this. 😃