Skip to content
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

Regression: lib doesn't build with GCC 10 with c++20 anymore #80

Open
Ka0o0 opened this issue Jun 20, 2023 · 0 comments · May be fixed by #81
Open

Regression: lib doesn't build with GCC 10 with c++20 anymore #80

Ka0o0 opened this issue Jun 20, 2023 · 0 comments · May be fixed by #81

Comments

@Ka0o0
Copy link

Ka0o0 commented Jun 20, 2023

Hi,
since #67 the build breaks with GCC 10. This is because the language feature c++20 is still experimental and the variable __cplusplus expands to 201709L as per documentation of the compiler: https://gcc.gnu.org/onlinedocs/gcc-10.4.0/cpp/Standard-Predefined-Macros.html#Standard-Predefined-Macros. This is a regression, because previously the library would build with the native span implementation after being installed with CMake and make install. GCC 10 is still shipped with Debian bullseye so I think it's still worth fixing for this compiler version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant