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

deinitialize() and deallocate() causing Compiler Error in SHA256.swift #42

Open
SerialForBreakfast opened this issue May 4, 2019 · 6 comments

Comments

@SerialForBreakfast
Copy link

Installed via cocoapods and got these errors when building:

'deinitialize()' is unavailable: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
'deallocate(capacity:)' is unavailable: Swift currently only supports freeing entire heap blocks, use deallocate() instead

'deinitialize()' was obsoleted in Swift 5.0
'deallocate(capacity:)' was obsoleted in Swift 5.0

@SerialForBreakfast
Copy link
Author

Works fine when using Swift 4.2 in the Build Settings.

@hfossli
Copy link
Contributor

hfossli commented May 4, 2019

Yes, that's right. Fixed in master. If you point directly to commit or branch it works in swift 5

@hfossli
Copy link
Contributor

hfossli commented May 4, 2019

Thanks for taking the time to report this. Keeping it open since I forgot to publish new release

@barrcodes
Copy link

Still no release, it's been a month

@hfossli
Copy link
Contributor

hfossli commented Jun 11, 2019

I am so sorry. The past months have been crazy hectic both on a personal level and professional level. I am triaging every day in order to keep most important things floating. If someone wants push access to fix what's needed I'll be happy to give. Otherwise I will come back to this issue asap (hopefully this week). Thanks for being patient. 🙌

@fmessina
Copy link

fmessina commented Dec 3, 2019

Hey @hfossli, first of all thanks for this library!
Any hope to have the Swift5 fix released? 🙏🏼

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

4 participants