I get same error. Looks like stdlib needs to be rebuilt again. So, pulled everything again and re-compiling from scratch, not just corelibs-foundation.
Thanks,
mbvreddy
-----swift-corelibs-dev-boun...@swift.org wrote: -----
To: swift-corelibs-dev@swift.org
From: David Hart via swift-corelibs-dev
Sent by: swift-corelibs-dev-boun...@swift.org
Date: 05/20/2016 04:20AM
Subject: [swift-corelibs-dev] Compilation Error - Which Toolchain?
From: David Hart via swift-corelibs-dev
Sent by: swift-corelibs-dev-boun...@swift.org
Date: 05/20/2016 04:20AM
Subject: [swift-corelibs-dev] Compilation Error - Which Toolchain?
Hi people,
Found some time to continue contributing to corelibs, but I’m getting a compilation error with master:
NSGeometry.swift (line 39):
35 private var hash: Int {
36 #if arch(i386) || arch(arm)
37 return Int(Float(self.native).bitPattern)
38 #else
39 return Int(self.native.bitPattern) // Value of type 'NativeType' (aka 'Double') has no member 'bitPattern’
40 #endif
41 }
I’m using the latest development toolchain. Is that correct? What’s the rule on which toolchain to use? I tried building a fresh master toolchain instead but got a failing test.
Any ideas?
David.
_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev
Found some time to continue contributing to corelibs, but I’m getting a compilation error with master:
NSGeometry.swift (line 39):
35 private var hash: Int {
36 #if arch(i386) || arch(arm)
37 return Int(Float(self.native).bitPattern)
38 #else
39 return Int(self.native.bitPattern) // Value of type 'NativeType' (aka 'Double') has no member 'bitPattern’
40 #endif
41 }
I’m using the latest development toolchain. Is that correct? What’s the rule on which toolchain to use? I tried building a fresh master toolchain instead but got a failing test.
Any ideas?
David.
_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev
_______________________________________________ swift-corelibs-dev mailing list swift-corelibs-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-corelibs-dev