You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since upgrading to Swift 5, I get the following errors:
valuePointer.deinitialize() //'deinitialize()' is unavailable: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
valuePointer.deallocate(capacity: 1) //'deallocate(capacity:)' is unavailable: Swift currently only supports freeing entire heap blocks, use deallocate() instead
let message = data.withUnsafeBytes { bytes -> [UInt8] in
return Array(UnsafeBufferPointer(start: bytes, count: data.count))
} //'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
When can we expect a fix on this? I see it is out of date and needs some maintenance ASAP.
The text was updated successfully, but these errors were encountered:
Since upgrading to Swift 5, I get the following errors:
valuePointer.deinitialize() //'deinitialize()' is unavailable: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
valuePointer.deallocate(capacity: 1) //'deallocate(capacity:)' is unavailable: Swift currently only supports freeing entire heap blocks, use deallocate() instead
When can we expect a fix on this? I see it is out of date and needs some maintenance ASAP.
The text was updated successfully, but these errors were encountered: