Re: [swift-corelibs-dev] Compilation Error - Which Toolchain
Great! Thanks :) > On 20 May 2016, at 18:09, Philippe Hausler wrote: > > Just pushed the revert, I will revisit it when we have the next drop of the > toolchains for all platforms that include the required change for this > correction. > >> On May 20, 2016, at 9:05 AM, Philippe Hausler via swift-corelibs-dev >> wrote: >> >> This was a change in the standard library. I presumed that change had been >> in for a full build cycle. However since that looks like it is not the case >> I am going to revert the offending commit for now and revisit it when the >> binaries are rev'd >> >>> On May 19, 2016, at 3:48 PM, David Hart via swift-corelibs-dev >>> wrote: >>> >>> 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? I tried >>> building a 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 > ___ swift-corelibs-dev mailing list swift-corelibs-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-corelibs-dev
Re: [swift-corelibs-dev] Compilation Error - Which Toolchain
Just pushed the revert, I will revisit it when we have the next drop of the toolchains for all platforms that include the required change for this correction. > On May 20, 2016, at 9:05 AM, Philippe Hausler via swift-corelibs-dev > wrote: > > This was a change in the standard library. I presumed that change had been in > for a full build cycle. However since that looks like it is not the case I am > going to revert the offending commit for now and revisit it when the binaries > are rev'd > >> On May 19, 2016, at 3:48 PM, David Hart via swift-corelibs-dev >> wrote: >> >> 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? I tried >> building a 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 ___ swift-corelibs-dev mailing list swift-corelibs-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-corelibs-dev
Re: [swift-corelibs-dev] Compilation Error - Which Toolchain
This was a change in the standard library. I presumed that change had been in for a full build cycle. However since that looks like it is not the case I am going to revert the offending commit for now and revisit it when the binaries are rev'd > On May 19, 2016, at 3:48 PM, David Hart via swift-corelibs-dev > wrote: > > 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? I tried building > a 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
[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? I tried building a 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
Re: [swift-corelibs-dev] Compilation Error - Which Toolchain?
Hi David,I run below commands from 'swift' folder./utils/update-checkout --clone./utils/build-script -r -t./utils/build-script --foundation --xctest -tThanks,BHAKTAVATSAL R. MARAM Java Classlibraries - Delivery Lead-David Hartwrote: -To: Bhaktavatsal R Maram/India/IBM@IBMINFrom: David Hart Date: 05/20/2016 12:23PMCc: swift-corelibs-dev@swift.orgSubject: 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. ___ swift-corelibs-dev mailing list swift-corelibs-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-corelibs-dev