Closed ten0s closed 7 years ago
git clone https://github.com/rjmh/q cd q/ erl
> nifty:compile("q.c", q). generating... ==> q (compile) src/q_remote.erl:59: function new/1 already defined src/q_remote.erl:3: Warning: function new/1 already exported Compiling src/q_remote.erl failed: ERROR: compile failed while processing /home/ten0s/tmp/test2/q/q: rebar_abort {error,compile}
The problem is there's already a function named `new' in q.c
Thanks for reporting this issue. You are of course right that functions with such names should not be created. This is now fixed.
The problem is there's already a function named `new' in q.c