gproc icon indicating copy to clipboard operation
gproc copied to clipboard

Compiling with OTP 20 yields warnings about crypto:rand_uniform/2

Open aronisstav opened this issue 7 years ago • 4 comments

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]

aronisstav avatar Jan 30 '18 13:01 aronisstav

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

benoitc avatar Apr 09 '18 02:04 benoitc

Duplicate indeed. Can be safely closed. (@benoitc's secondary comment is useful, so not doing it myself).

aronisstav avatar Apr 16 '18 13:04 aronisstav

@uwiger ping

benoitc avatar Apr 29 '18 19:04 benoitc

@uwiger any chance you can publish a new release on hex to remove these warnings? It becomes important also with the arrival of R21.

benoitc avatar May 27 '18 12:05 benoitc