[swift-corelibs-dev] Query on init methods in Data.swift

2016-08-02 Thread Simon Evans via swift-corelibs-dev
Hi I was looking at Data.swift and noticed that 2 of the init methods were different in corelibs-foundation v swift stdlib https://github.com/apple/swift-corelibs-foundation/blob/master/Foundation/Data.swift has public init?(capacity: Int) public init?(count: Int)

Re: [swift-corelibs-dev] Query on init methods in Data.swift

2016-08-09 Thread Simon Evans via swift-corelibs-dev
ift-corelibs-foundation API to match the > overlay over the next few weeks. > > - Tony > >> On Aug 2, 2016, at 9:27 AM, Simon Evans via swift-corelibs-dev >> <swift-corelibs-dev@swift.org> wrote: >> >> Hi >> >> I was looking at Data.swift and

Re: [swift-corelibs-dev] TimeZone database

2017-07-06 Thread Simon Evans via swift-corelibs-dev
Looks like timezone files are in the ‘tzdata’ package. Maybe it got uninstalled or was never installed as part of the base. An ‘apt-get install tzdata’ might fix it. Simon > On 6 Jul 2017, at 20:20, Youming Lin via swift-corelibs-dev > wrote: > > That's odd.

Re: [swift-corelibs-dev] TimeZone database

2017-07-06 Thread Simon Evans via swift-corelibs-dev
Ian I also saw this error, I think its because the TZDIR is different in the headers shipped with Xcode 9. Maybe the location of the timezone directory was moved between Sierra and High Sierra. What version of macOS are you testing on? If it has indeed moved between 10.12 and 10.13 it may

Re: [swift-corelibs-dev] Got some fatalErrors when running TestFoundation target

2017-06-19 Thread Simon Evans via swift-corelibs-dev
The issue looks to be the TZDIR (Time zoneinfo directory) has changed between 10.12 and 10.13 On 10.12 (Sierra), /usr/include/tzfile.h defines: $ grep TZDIR /usr/include/tzfile.h #ifndef TZDIR #define TZDIR "/usr/share/zoneinfo" /* Time zone object file directory */ #endif /* !defined TZDIR

Re: [swift-corelibs-dev] Unable to build swift-corelibs-foundation in XCode 8.3.2

2017-06-02 Thread Simon Evans via swift-corelibs-dev
Yes I was also seeing this issue, the Xcode project needs the swift-version 3 set and some files were moved around during a URLSession change See if these 2 PRs fix it for you, they worked for me https://github.com/apple/swift-corelibs-foundation/pull/1017