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

Can't link libdispatch in C language #835

Open
RainyLave opened this issue Jul 9, 2024 · 0 comments
Open

Can't link libdispatch in C language #835

RainyLave opened this issue Jul 9, 2024 · 0 comments

Comments

@RainyLave
Copy link

when i use cmake to link libdispatch with my project written in C, I got API_AVAILABLE(macos(10.7), ios(5.0))
DISPATCH_EXPORT DISPATCH_PURE DISPATCH_NONNULL1 DISPATCH_NOTHROW
is not defined.
and there's still a lot of errors in data.h queue.h dipatch.h .etc
if I wants to use libdispatch, should I change these .h files to compate with C project? Is there any better solution to reduce the work when linking the lib with C project?

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