hartbit
(David Hart)
1
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.
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
To: swift-corelibs-dev@swift.org
From: David Hart via swift-corelibs-dev
Sent by: swift-corelibs-dev-bounces@swift.org
Date: 05/20/2016 04:20AM
Subject: [swift-corelibs-dev] Compilation Error - Which Toolchain?
Hi David,
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-bounces@swift.org wrote: -----
hartbit
(David Hart)
3
Glad to know I’m not the only one. What do you mean by:
So, pulled everything again and re-compiling from scratch, not just corelibs-foundation.
Do you mean rebuilding a swift toolchain? Did you succeed? If yes, what branch?
David.
BHAKTAVATSAL R. MARAM
Java Classlibraries - Delivery Lead
···
To: Bhaktavatsal R Maram/India/IBM@IBMIN
From: David Hart david@hartbit.com
Date: 05/20/2016 12:23PM
Cc: swift-corelibs-dev@swift.org
Subject: Re: [swift-corelibs-dev] Compilation Error - Which Toolchain?
Glad to know I’m not the only one. What do you mean by:
So, pulled everything again and re-compiling from scratch, not just corelibs-foundation.
Do you mean rebuilding a swift toolchain? Did you succeed? If yes, what branch?
David.
Hi David,
I run below commands from 'swift' folder
./utils/update-checkout --clone
./utils/build-script -r -t
./utils/build-script --foundation --xctest -t
Thanks,
-----David Hart david@hartbit.com wrote: -----