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

Meck is about to use a deprecated package.... #4

Open
rsharvey opened this issue Mar 27, 2015 · 0 comments
Open

Meck is about to use a deprecated package.... #4

rsharvey opened this issue Mar 27, 2015 · 0 comments

Comments

@rsharvey
Copy link

ERL: OTP 17.4
Exodm: Master

Feel free to ignore, this is an artifact of OTP 17.4.

Meck did not compile because there was a warning about a deprecated library and the "warnings_as_errors" flag was set inside that package:

==> meck (compile)
/home/rob/git/feuerlabs/exodm/deps/meck/src/meck.erl:71: type dict/0 is deprecated and will be removed in OTP 18.0; use use dict:dict/0 or preferably dict:dict/2
ERROR: compile failed while processing /home/rob/git/feuerlabs/exodm/deps/meck: rebar_abort
make: *** [compile] Error 1

Can be fixed by changing the erl_opts argument and adding the "nowarn_deprecated_type"?

In exodm/deps/meck/rebar.config

{erl_opts, [warnings_as_errors, debug_info, nowarn_deprecated_type]}.
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

1 participant