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

Eliminate warning raised by Elixir v1.11 compiler #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wrachwal
Copy link

@wrachwal wrachwal commented Sep 4, 2020

With the upcoming v1.11 we get the following warning. I think 3rd option is the best choice in case of :acn1ct.

% mix compile  
Compiling 1 file (.ex)
warning: :asn1ct.compile/2 defined in application :asn1 is used by the current application but the current application does not directly depend on :asn1. To fix this, you must do one of:

  1. If :asn1 is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :asn1 is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :asn1, you may optionally skip this warning by adding [xref: [exclude: :asn1ct] to your "def project" in mix.exs

  lib/mix/tasks/compile.asn1.ex:55: Mix.Tasks.Compile.Asn1.run/1

Generated asn1ex app

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

Successfully merging this pull request may close these issues.

1 participant