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

[Bug]: Unable to build with DCMAKE_CXX_STANDARD=23 #1838

Open
richqubit opened this issue Feb 15, 2025 · 0 comments
Open

[Bug]: Unable to build with DCMAKE_CXX_STANDARD=23 #1838

richqubit opened this issue Feb 15, 2025 · 0 comments

Comments

@richqubit
Copy link

Describe the issue

Building gives a compile error, which is not present with C++20 :

3rdparty/abseil-cpp/absl/container/internal/compressed_tuple_test.cc:47:10: error: non-const lvalue reference to type 'CompressedTuple<...>' cannot bind to a temporary of type 'CompressedTuple<...>
'                                                                                                                                                                                                                          
   47 |   return t;                                                                                          
      |          ^                                                                                           
...

Steps to reproduce the problem

Build with DCMAKE_CXX_STANDARD=23

What version of Abseil are you using?

lts_2025_01_27

What operating system and version are you using?

linux fedora 41

What compiler and version are you using?

Clang 19.1.7

What build system are you using?

Ninja

Additional context

No response

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

No branches or pull requests

1 participant