Re: [swift-corelibs-dev] NSURLSession & libcurl

2016-03-30 Thread Daniel Eggert via swift-corelibs-dev
Changes since last week:

NSURLSessionDataTask (i.e. GET requests) now work with callbacks and with 
completion handler.

Debug output is enabled by environment variables.

Handling a few common error scenarios to return the corresponding NSError.

/Daniel

___
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev


Re: [swift-corelibs-dev] [swift-users] build libdispatch failed in ubuntu 14.04

2016-03-30 Thread qibo_cn--- via swift-corelibs-dev


You are right.

thank you.






发件人: David P Grove

已发送: 3 月 30 日 星期三 上午 2:02

主题: Re: [swift-corelibs-dev] [swift-users] build libdispatch failed inubuntu 
14.04

收件人: qibo

抄送: swift-corelibs-dev, swift-us...@swift.org



swift-corelibs-dev-boun...@swift.org wrote on 03/29/2016 11:58:13 AM:

> 

> Hi, everyone

> I follow the command written in INSTALL in 

> https://github.com/apple/swift-corelibs-libdispatch/blob/master/INSTALL

> 

> sh autogen.sh

> 

> ./configure

> 

> make

> 

> but "make" failed, report is "No rule to make target `all'.  "

> Is there some optional command I missed?

> 



One way that could happen is if you skipped the step to initialize the libpwq 
git submodule.  The configure script is supposed to detect that you failed to 
do this, but it appears to not be doing so robustly (I just tried it and it did 
fail with "No rule to make target `all`" from the libpwq subdir). 


From the INSTALL file right about the BUILD commands: 



Initialize git submodules:

We are using git submodules to incorporate a specific revision of the

upstream pthread_workqueue library into the build.

git submodule init

git submodule update


--dave


___
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev


Re: [swift-corelibs-dev] NSOperationQueue and friends

2016-03-30 Thread Daniel Eggert via swift-corelibs-dev
> On 28 Mar 2016, at 23:59, Philippe Hausler  wrote:
> 
> the swift-corelibs-foundation compiled for Darwin does not define that yet 
> either. Are you seeing issues with it when defined?


When I add

OTHER_SWIFT_FLAGS = -DDEPLOYMENT_ENABLE_LIBDISPATCH

it works. So I guess that's what I should do?

/Daniel

___
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev