Skip to content

Fix build with GCC10#81

Open
Ka0o0 wants to merge 1 commit intomariusbancila:masterfrom
Ka0o0:fix-gcc10-build
Open

Fix build with GCC10#81
Ka0o0 wants to merge 1 commit intomariusbancila:masterfrom
Ka0o0:fix-gcc10-build

Conversation

@Ka0o0
Copy link
Copy Markdown

@Ka0o0 Ka0o0 commented Jun 21, 2023

GCC10 ships with a native C++20 span implementation. However, enabling UUID_USING_CXX20_SPAN in combination with GCC10 and the experimental c++20 support causes a compilation error. This is due to GCC10 sets the __cplusplus to a value strictly greater than 201703L but not to 202002L.

Fixes #80

GCC10 ships with a native C++20 span implementation. However, enabling UUID_USING_CXX20_SPAN in combination with GCC10 and the experimental c++20 support causes a compilation error. This is due to GCC10 sets the __cplusplus to a value strictly greater than 201703L but not to 202002L.
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 this pull request may close these issues.

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

1 participant