-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
warning with Erlang/OTP 20 #135
Comments
Refactoring into a helper function seems like a good first step. |
Why not the compile macro that checks the version of OTP? |
Sorry, I now realize I was a little bit hasty before: my suggestion obviously doesn't address the deprecation warnings. @tsloughter, specifically which compile macro did you have in mind? A possibility would be to require OTP 18 or newer, and simply use |
You can define a macro that does a regex on the otp version:
Though just requiring 18+ makes sense too now that 20 is out. |
The I'm fine with supporting only 18+ and later versions. |
with latest version of Erlang OTP you get the following warnings:
I can fix them but not sure what is the appropriate way:
Let me know.
The text was updated successfully, but these errors were encountered: