-
Notifications
You must be signed in to change notification settings - Fork 9
Q: Would you please help to repair the clang bug? #132
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
It was more than a year ago, I don't remember the clang bug. But based on the version specified in this close proximity commit, I think it was clang version 11.0.1. |
Clang 14 with the bug added to the project:
|
It seems like it's a GCC bug that it's a bit more permissive than mavc and clang. |
Oh, it is standard. |
Here's a link to the description: https://en.cppreference.com/w/cpp/language/template_parameters Clang description on this: https://clang.llvm.org/cxx_status.html#p0522 |
Many thanks for the explanation. Clang developers are working on this problem: https://reviews.llvm.org/D109496 |
I read this commit, and it fixed a clang bug:
97a5947
However, this fix looks ad hoc. It can fail to workaround this issue, if future clangs make unexpected modifications. I have filed a bug report to clang:
llvm/llvm-project#55894
Would you provide more details? If clang fixed this issue, this problem can be fully fixed.
The text was updated successfully, but these errors were encountered: