gproc icon indicating copy to clipboard operation
gproc copied to clipboard

Has gen_leader been deprecated ?

Open gilbertwong96 opened this issue 6 years ago • 1 comments

When I clone this repo directly on my local machine and execute rebar3 compile, the shell prompts:

src/gproc_dist.erl:25: Warning: behaviour gen_leader undefined
src/gproc_dist.erl:553: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace.

I suppose this behavior has been deprecated, but when I dig into the code, I found that this behavior is still used. I'm confused. Could you please tell me why you place the gen_leader module into patch dir rather src dir?

gilbertwong96 avatar Sep 16 '19 06:09 gilbertwong96

lib/gproc-0.8.0/src/gproc_dist.erl:25: Warning: behaviour gen_leader undefined
lib/gproc-0.8.0/src/gproc_dist.erl:553: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace

robertzhouxh avatar Jan 20 '20 03:01 robertzhouxh