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

Code won't compile #24

Closed
xavierpantet opened this issue Mar 28, 2019 · 3 comments
Closed

Code won't compile #24

xavierpantet opened this issue Mar 28, 2019 · 3 comments

Comments

@xavierpantet
Copy link

Hello,
I just updated to Swift5 and I am not able to compile my project anymore. Indeed, I have a lot of type errors especially due to pointers. For example:

error: cannot convert value of type 'UnsafeMutablePointer<bson_t>' (aka 'UnsafeMutablePointer<_bson_t>') to expected argument type 'OpaquePointer?'

or

error: '&' used with non-inout argument of type 'OpaquePointer?'

Do you have any suggestion?
Thank you!

@kjessup
Copy link
Member

kjessup commented Mar 28, 2019

A fix/update is in progress. I'll report back here when it's complete.

@kjessup
Copy link
Member

kjessup commented Mar 28, 2019

I just committed and tagged version 3.1.2. It should be good with Swift 4.1, 4.2, and 5.

@kjessup kjessup closed this as completed Mar 28, 2019
@xavierpantet
Copy link
Author

Yep, it works! Thank you!

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

2 participants