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

Deprecated warning in emysql.hrl #140

Open
ghost opened this issue May 23, 2014 · 4 comments
Open

Deprecated warning in emysql.hrl #140

ghost opened this issue May 23, 2014 · 4 comments

Comments

@ghost
Copy link

ghost commented May 23, 2014

I'm getting the following error when including the emysql.hrl file. However it compiles and works fine.

../libs/Emysql/include/emysql.hrl:37: Warning: type queue/0 is deprecated and will be removed in OTP 18.0; use use queue:queue/0 or preferably queue:queue/1
../libs/Emysql/include/emysql.hrl:38: Warning: type gb_tree/0 is deprecated and will be removed in OTP 18.0; use use gb_trees:tree/0 or preferably gb_trees:tree/2
../libs/Emysql/include/emysql.hrl:39: Warning: type queue/0 is deprecated and will be removed in OTP 18.0; use use queue:queue/0 or preferably queue:queue/1
@jlouis
Copy link
Collaborator

jlouis commented May 23, 2014

Indeed, but this is only present in Erlang 17.0+ and it will break on R16B03 and earlier if we fix it.

The warning is benign until we hit 18.0, so right now I am for waiting a bit. See also this if you want to patch it:

http://erlang.org/pipermail/erlang-questions/2014-March/078081.html

which is a result of a discussion I started because of the troubles these changes will create.

@joekinley
Copy link

Aaaaand I ran into it with Erlang 18. Any plans to fix this?

@jlouis
Copy link
Collaborator

jlouis commented Jul 17, 2015

Yes and no. If you provide a PR, someone may help you pull it in. I decided to leave maintenance of this project about 9 months ago, and there is not much activity on it directly. Perhaps development has moved to another place. If you find such a place, get back to me so I can start sending people in the right direction.

@derek121
Copy link

derek121 commented Mar 8, 2016

Try Inaka's fork: https://github.com/inaka/Emysql Worked for me.

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

3 participants