gproc
gproc copied to clipboard
Compiling with OTP 20 yields warnings about crypto:rand_uniform/2
Using rebar3:
===> Compiling gproc
_build/default/lib/gproc/src/gproc_dist.erl:23: Warning: behaviour gen_leader undefined
_build/default/lib/gproc/src/gproc_pool.erl:379: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1
_build/default/lib/gproc/src/gproc_pool.erl:570: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1
_build/default/lib/gproc/src/gproc_pool.erl:1041: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1
_build/default/lib/gproc/src/gproc_pool.erl:1053: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1
_build/default/lib/gproc/src/gproc_pool.erl:1062: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1
Erlang version info:
$ erl
Erlang/OTP 20 [erts-9.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [kernel-poll:false]
latest master has a fix for it (also duplicate of #135 ?) . Would be cool if a new release can be sent to hex.pm with that fix :) cc @uwiger
Duplicate indeed. Can be safely closed. (@benoitc's secondary comment is useful, so not doing it myself).
@uwiger ping
@uwiger any chance you can publish a new release on hex to remove these warnings? It becomes important also with the arrival of R21.