Skip to content

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

Open
@rsharvey

Description

@rsharvey

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]}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions