-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
Error with C++ modules: not present in definition provided earlier #61642
Comments
Could you try it again after you remove the line
Then the conclusion is that the operator in |
@llvm/issue-subscribers-clang-modules |
Yes, |
So if I understand correctly, this is not a compiler bug. It is an existing defect that |
What operator is valarray defining that does this? How does it step on std::ranges::views::__zip ? Are you saying this is a known bug in libc++? I'm confused because it was closed as invalid, not a duplicate. It sure seems like a bug in something. I got a cryptic error and had to randomly mess with #include order until it went away. |
Sorry for the confusion. The
I am not 100% sure for the case. But for the above
The
I am not 100% sure now. It is also possible that the compiler didn't do well for concepts or the standard doesn't make it clear. In our downstream, we remove the use of |
@ChuanqiXu9 I came to the same conclusion, commenting out all 3 |
Let's track the issue in #61643 |
(Let's reply again in #61643) Yeah, but it is not the "proper" solution clearly... I am wondering if this is a standard defect and wondering if I should send this to LEWG. |
Here is a boiled down version of something happening in a real project.
Mod1.cc
Mod2.cc
build.sh
Errors:
The text was updated successfully, but these errors were encountered: