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

Update span.h to fix breaks #86

Merged
merged 2 commits into from
Feb 15, 2024
Merged

Update span.h to fix breaks #86

merged 2 commits into from
Feb 15, 2024

Conversation

RyanUnderhill
Copy link
Member

Hasn't been built for a while, so some errors crept in. This should allow compiling on certain older compilers/platforms again.

@jchen351
Copy link
Contributor

Still fail on MacOS with
add_compile_definitions(USE_CXX17=1)
message("USE C++17")
set(CMAKE_CXX_STANDARD 17)

@snnn
Copy link
Member

snnn commented Feb 14, 2024

Would you mind using absl::span? Then we will not need to spend time on maintaining this file.

@snnn
Copy link
Member

snnn commented Feb 14, 2024

Anyway gtest, protobuf and a lot of others already depend on absl.

@RyanUnderhill RyanUnderhill merged commit 924ef8f into main Feb 15, 2024
11 checks passed
@RyanUnderhill RyanUnderhill deleted the ryanunderhill/span_fix branch February 15, 2024 19:02
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.

3 participants