Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
/thrift/src/lib/swift/Sources/TSocketServer.swift:83:60: error: type 'CFSocketError' (aka 'Int') has no member 'success' if CFSocketSetAddress(sock, cfaddr) != CFSocketError.success { //kCFSocketSuccess { ~~~~~~~~~~~~~ ^~~~~~~
And in the same file:
/thrift/src/lib/swift/Sources/LinuxHelper.swift:30:16: warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt' let cast = unsafeBitCast(rhs, to: UInt.self) ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ UInt(bitPattern: )