-
Notifications
You must be signed in to change notification settings - Fork 166
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
__decay built-in rejected by gcc head #1375
Comments
FWIW, there's a GCC bug report related to it (the bug here fixed was an ICE in the compiler), apparently using |
What is the issue with using
Is there a restriction on the places that such a built-in can be used? Having said that, if the compilers/stdlib are now optimizing |
Yes, the restriction is that built-ins are not allowed to appear in function signatures. That's what the compilation error is all about. Using the trait that resolves to the built-in in function signatures is fine. Use the trait, don't use the built-in. |
My guess is that in
gcc caught up with
include/stdexec/__detail/__type_traits.hpp
End result is my old code fails with
Egregious hack
allows me to compile once again.
Presumably ignore until 15 is released, then test on version?
The text was updated successfully, but these errors were encountered: