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

Windows build failing on swiftasynccall #11

Open
1Conan opened this issue May 4, 2023 · 0 comments
Open

Windows build failing on swiftasynccall #11

1Conan opened this issue May 4, 2023 · 0 comments

Comments

@1Conan
Copy link
Collaborator

1Conan commented May 4, 2023

node_modules\node-swift\Sources\CNodeAPI\task_reflection.cpp:61:16: error: 'swiftasynccall' calling convention is not supported for this target
__attribute__((swiftasynccall)) static void node_swift_resume_trampoline(__attribute__((swift_async_context)) void *ctx) {
               ^
node_modules\node-swift\Sources\CNodeAPI\task_reflection.cpp:70:24: error: incompatible function poi
nter types assigning to 'TaskContinuationFunction *' (aka 'void (*)(__attribute__((swift_async_context)) void *)') from 'void (*)(__attribute__((swift_async_context)) void *) __attribute__((swiftasynccall))'
    task->ResumeTask = &node_swift_resume_trampoline;
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
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

1 participant