Re: [swift-users] C-function not found by linker

2017-01-11 Thread Rien via swift-users
Sometimes you just have to post a stupid question to see what you did wrong :-( So please disregard…. PS: it was of course the “static” (I have no clue why I did put that in there… oh well) Regards, Rien Site: http://balancingrock.nl Blog: http://swiftrien.blogspot.com Github: http://github.c

[swift-users] C-function not found by linker

2017-01-11 Thread Rien via swift-users
My project uses openSSL and that works fine. I needed one specific function that cannot be accessed from Swift directly, so I created a C-file for that. (both .h and .c file) The function is found during compilation. But is then reported as “unused” and the linker reports “missing function”. A