sile / jsone

Erlang JSON library
MIT License
291 stars 71 forks source link

Cannot build on Erlang R21 #36

Closed ghost closed 6 years ago

ghost commented 6 years ago

===> Compiling _build/default/lib/jsone/src/jsone.erl failed _build/default/lib/jsone/src/jsone.erl:294: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace _build/default/lib/jsone/src/jsone.erl:343: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace

sile commented 6 years ago

Since version 1.4.6, jsone supports OTP-21. So your problem can probably be solved by updating jsone version.

ghost commented 6 years ago

my mistake not using the latest version, thanks!