Re: [swift-users] Linux: module for needs -fblocks to compile

2015-12-21 Thread Tom Sheffler via swift-users
> On Dec 20, 2015, at 3:51 PM, Daniel Dunbar wrote: > >> >> On Dec 17, 2015, at 1:40 PM, Tom Sheffler via swift-users >> mailto:swift-users@swift.org>> wrote: >> >> I’m learning about Swift on Linux and using modules to wrap C libraries. >> One of the things I wanted to do was use libdispat

Re: [swift-users] Linux: module for needs -fblocks to compile

2015-12-20 Thread Daniel Dunbar via swift-users
> On Dec 17, 2015, at 1:40 PM, Tom Sheffler via swift-users > wrote: > > I’m learning about Swift on Linux and using modules to wrap C libraries. One > of the things I wanted to do was use libdispatch with blocks from Swift. I > thought it would be easy to use a module to wrap . > > I made

[swift-users] Linux: module for needs -fblocks to compile

2015-12-17 Thread Tom Sheffler via swift-users
I’m learning about Swift on Linux and using modules to wrap C libraries. One of the things I wanted to do was use libdispatch with blocks from Swift. I thought it would be easy to use a module to wrap . I made a module called “CDispatch” with a module.modulemap like this === module CDispa