Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Failed on swift 4.2 #71

Closed
manuduarte opened this issue Jan 9, 2019 · 2 comments
Closed

Build Failed on swift 4.2 #71

manuduarte opened this issue Jan 9, 2019 · 2 comments

Comments

@manuduarte
Copy link

manuduarte commented Jan 9, 2019

Hi,

I installed swift on an odroid C2 SBC and I'm only able to install swift 4.2.
Building HAP failed on building BlueSignals

.build/checkouts/BlueSignals.git-8826455067652766894/Sources/Signals/Signals.swift:111:36:

error: converting non-escaping value to 'T' may allow it to escape
sigAction.__sigaction_handler = unsafeBitCast(action, to: sigaction.__Unnamed_union___sigaction_handler.self)

The bug seems to be fixed since BlueSIgnals 1.02 but Kitura-net still use 1.0.0.

After updated BlueSignals to the last release building HAP on my odroid C2 SBC succes

@Bouke
Copy link
Owner

Bouke commented Jan 9, 2019

The next version will drop Kitura and BlueSocket in favor of Nio. You can try #68 if you want to give it a go. I’m running that PR myself on a Raspberry Pi and it has been very stable for me.

@manuduarte
Copy link
Author

manuduarte commented Jan 9, 2019 via email

@Bouke Bouke closed this as completed Jan 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants