Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Has gen_leader been deprecated ? #176

Open
gilbertwong96 opened this issue Sep 16, 2019 · 1 comment
Open

Has gen_leader been deprecated ? #176

gilbertwong96 opened this issue Sep 16, 2019 · 1 comment

Comments

@gilbertwong96
Copy link

gilbertwong96 commented Sep 16, 2019

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?

@robertzhouxh
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants