-
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
fix: add guard for GCC <10.3 on C++20 #5205
fix: add guard for GCC <10.3 on C++20 #5205
Conversation
Let me know if it is desired to store the guard somewhere else and have it referenced or just having 4 instances of the guard is fine. |
Also please let me know if you want to test on gcc 10.1 or 10.2 if that is even possible. |
AFK for a few more hours, can't look at code until then, but: let's not do
anything complicated. Low hanging fruits will do. IMO
…On Thu, Jun 27, 2024 at 16:35 Michael Carlstrom ***@***.***> wrote:
Also please let me know if you want to test on gcc 10.1 or 10.2 if that is
even possible.
—
Reply to this email directly, view it on GitHub
<#5205 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFUZAG7CR5WWHGNEQL6Y4LZJSOTDAVCNFSM6AAAAABKAYBWU2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJVHAZTCNJZHE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Yeah, that was a bit much of duplicated code, but it's very easily avoided. I went ahead and did that. Thanks for creating this PR, from there it was very quick. |
This is to make `zxing-cpp` build again. The root cause is an issue in `pybind11`, see: * https://github.com/pybind/pybind11/releases/tag/v2.13.1 * pybind/pybind11#5201 * pybind/pybind11#5205 * zxing-cpp/zxing-cpp#803
* Update CI * update define guard * style: pre-commit fixes * updated define guard * style: pre-commit fixes * update guard * testing new guards * update guards * surely this time * style: pre-commit fixes * Define PYBIND11_TYPING_H_HAS_STRING_LITERAL to avoid repeating a complex expression. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ralf W. Grosse-Kunstleve <rwgk@google.com>
* Update CI * update define guard * style: pre-commit fixes * updated define guard * style: pre-commit fixes * update guard * testing new guards * update guards * surely this time * style: pre-commit fixes * Define PYBIND11_TYPING_H_HAS_STRING_LITERAL to avoid repeating a complex expression. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ralf W. Grosse-Kunstleve <rwgk@google.com>
Description
Fixes #5201 and updates CI.
Suggested changelog entry: