-
Notifications
You must be signed in to change notification settings - Fork 667
Build error on Android: call to signal
yields "error: function is unused"
#3180
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
Comments
I guess because signal is defined as:
and the return value is being treated as a function (which we can presumably ignore), then the solution might be simply:
|
No, never, it is related to the new strict concurrency checking, which was just enabled for this executable in the pull you linked, that just broke my Android CI too and is reproducible natively in Termux. Your linked fix works for me when I just tried it natively on Android. Why do you think this only hits on Android: is it that these are C macros in linux's |
#3167 introduced a failure in my hourly Android builds of swift-nio (see https://github.com/swift-everywhere/swift-package-builds/actions/runs/14312839641/job/40111885760), which is a stopgap until swiftlang/github-workflows#106 gets approved.
@finagolfin, have you ever seen anything like this?
The text was updated successfully, but these errors were encountered: