Re: [swift-users] Swift 4.0 LLDBFrontend Crash

2017-10-06 Thread Michael Gottesman via swift-users
It looks like this is failing during guaranteed optimization. Are you running an expression in the debugger and we are crashing there? Michael > On Oct 6, 2017, at 11:53 AM, Edward Connell via swift-users > wrote: > > While trying to debug a Netlib function, LLDB is

Re: [swift-users] Swift for Nuttx RTOS

2017-10-06 Thread Igor Mironenko via swift-users
Thanks Alex, This is similar to what I though. Appreciate you taking time to explain. > On Oct 6, 2017, at 1:38 AM, Alex Blewitt wrote: > >> On 5 Oct 2017, at 22:47, Igor Mironenko via swift-users >> wrote: >> >> This may be a strange question, but

[swift-users] Swift 4.0 LLDBFrontend Crash

2017-10-06 Thread Edward Connell via swift-users
While trying to debug a Netlib function, LLDB is crashing I'm not sure what this assert means. *LLDBFrontend: /home/buildnode/jenkins/workspace/oss-swift-4.0-package-linux-ubuntu-16_04/swift/lib/SILOptimizer/Mandatory/AccessEnforcementSelection.cpp:613: (anonymous namespace)::SourceAccess

Re: [swift-users] Communicating with dynamically loaded swift library

2017-10-06 Thread Geordie Jay via swift-users
I think SwiftPM is (incorrectly) compiling A.XYZ into each of the modules that depend on it, as well as into your intended libA.so file. Try to ensure the plugin provider module (libA) is (only) being compiled into its standalone shared library file. Try cleaning the swiftpm build for one (swift

Re: [swift-users] Communicating with dynamically loaded swift library

2017-10-06 Thread Ján Kosa via swift-users
It worked! Took me a while to iron out details, but it is working now. Huge thanks sir, I will name my firstborn after you. Thanks for the @_cdecl("initializePlugin") tip as well, I didn't know about it and it will be very useful. I am having slightly related problem now (it was there before, but

Re: [swift-users] Is URLSession actually working on Linux

2017-10-06 Thread Alex Blewitt via swift-users
> On 5 Oct 2017, at 19:18, Georgios Moschovitis > wrote: > > I am wondering, is there an ETA for 4.0.1 ? I'm not aware of there being an ETA, but according to https://swift.org/download/ last year Swift 3.0 was released on September 13, 2016 and then a

Re: [swift-users] Swift for Nuttx RTOS

2017-10-06 Thread Alex Blewitt via swift-users
> On 5 Oct 2017, at 22:47, Igor Mironenko via swift-users > wrote: > > This may be a strange question, but I would like to understand, since both > Mac OS and Nuttx RTOS are POSIX certified would it be possible in any way to > create a program using Swift language but

Re: [swift-users] [Quantlib-users] Unrelated to QuantLib, but your help is very highly appreciated

2017-10-06 Thread TUNG CK via swift-users
The correct approach is to use .mm for your file extension. > Amine Ifri 於 2017年10月6日 上午2:39 寫道: > > Hi community, > > As I have recently upgraded my OS and IDE on Mac to Xcode 9.0, I have > recompiled successfully QuantLib using c++11/ libc++. > > I am in the