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

Use official C++ 20 coroutine feature test macro #176

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

jb-gcx
Copy link
Contributor

@jb-gcx jb-gcx commented Jul 8, 2024

The djinni::Future coroutine support stops working at clang 17, see the reason here: https://stackoverflow.com/a/78027460/1480324

In this PR I use the updated the feature test macro as well as the outdated one.

@paulocoutinhox
Copy link
Contributor

I think that you can remove comment "// __cpp_coroutines is outdated, __cpp_impl_coroutine is the standard feature test macro", no?

__cpp_coroutines is no longer defined by clang starting at clang 17
@jb-gcx jb-gcx force-pushed the gcx/coroutine-feature-test branch from 99298a2 to 36c027e Compare July 8, 2024 16:38
@jb-gcx
Copy link
Contributor Author

jb-gcx commented Jul 8, 2024

True, done 👍

@li-feng-sc li-feng-sc merged commit 4b57d4a into Snapchat:main Jul 15, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants