basho / erlang_js

A linked-in driver for Erlang to Mozilla's Spidermonkey Javascript runtime.
Apache License 2.0
238 stars 88 forks source link

Unable to compile Erlang_js against the latest version of Erlang #53

Open lulu-2021 opened 8 years ago

lulu-2021 commented 8 years ago

I am getting this error when I attempt to compile erlang_js - I need it's support in an Elixir library called "coffee_rotor"... I have added the issue I raised on that project below..

Here is the compile error I am getting - it relates to time issues not working when compiling erlang_js against the latest version of Erlang. Any chance this can be fixed in Erlang 18..? THANKS :)

Compiled src/erlang_js.erl Compiled src/js.erl src/js_benchmark.erl:41: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information. src/js_benchmark.erl:43: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information. ERROR: compile failed while processing /Users/steveforkin/Work/elixir-workbench/erlang_js: rebar_abort make: *\ [compile] Error 1

https://github.com/HashNuke/coffee_rotor/issues/2

cmeiklejohn commented 8 years ago

See #52.

pichi commented 8 years ago

See #49. It's far less invasive.