-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[BUG]: Errors in VS 2022 and c++ 20 #3824
Comments
Could you please provide one, ideally in a PR? Without we have to spend a lot of time guessing. |
That's a haystack. |
the build is succeeded when I comment on those lines. |
That helps a lot narrowing down what the issue is.
The next step is that someone needs to create a reproducer. A quick search: we're exercising the operator overloads in:
Those tests are known to work with MSVC 2022 C++20 (GitHub Actions), so something appears to be special about your case, but what? You have two options:
From past experience, this can take anywhere from 5 minutes to 5 hours, even with a lot of prior knowledge doing such things. After you have a reproducer that triggers the compiler failure in the GitHub Actions: we will have to find a workaround for the compiler bug (99.99999% certain we're dealing with a compiler bug; MSVC is infamous for those). This can take anywhere from 1 minute to 1 week. Do you have someone who could help you? |
Required prerequisites
Problem description
when i build with pybind11, it failed to build
i use Visual Studio 2022 and C++ 20
##Errors
Reproducible example code
No response
The text was updated successfully, but these errors were encountered: