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

Compile errors building v24.0 with Visual Studio 2022 #13499

Closed
here-abarany opened this issue Aug 10, 2023 · 0 comments · Fixed by #13515
Closed

Compile errors building v24.0 with Visual Studio 2022 #13499

here-abarany opened this issue Aug 10, 2023 · 0 comments · Fixed by #13515
Assignees

Comments

@here-abarany
Copy link

What version of protobuf and what language are you using?
protobuf v24.0 when building the project from source

What operating system (Linux, Windows, ...) and version?
Windows 10 22H2

What runtime / compiler are you using (e.g., python version or gcc version)
Visual Studio 2022 17.7.0

What did you do?
Steps to reproduce the behavior:

  1. Configure the protobuf project with CMake.
  2. Build the project.

What did you expect to see
Compile of protobuf project succeeds.

What did you see instead?
Compile fails with the error:

protobuf\third_party\abseil-cpp\absl\crc\internal\crc_memcpy_x86_64.cc(391,11): error C7555: use of designated initializers requires at least '/std:c++20' [build_win32\Debug\protobuf\third_party\abseil-cpp\absl\abseil_dll.vcxproj]

Anything else we should know about your project / environment
This was caused by abseil/abseil-cpp#1413, which is fixed in the latest August 2023 LTS release.

@here-abarany here-abarany added the untriaged auto added to all issues by default when created. label Aug 10, 2023
@zhangskz zhangskz added c++ 24.x and removed untriaged auto added to all issues by default when created. labels Aug 10, 2023
@zhangskz zhangskz self-assigned this Aug 10, 2023
copybara-service bot pushed a commit that referenced this issue Aug 10, 2023
Fixes #13499

Needs to be backported to 24.x

Closes #13515

COPYBARA_INTEGRATE_REVIEW=#13515 from zhangskz:update-absl 508f291
PiperOrigin-RevId: 555679980
zhangskz added a commit to zhangskz/protobuf that referenced this issue Aug 14, 2023
…rs#13515)

Fixes protocolbuffers#13499

Needs to be backported to 24.x

Closes protocolbuffers#13515

COPYBARA_INTEGRATE_REVIEW=protocolbuffers#13515 from zhangskz:update-absl 508f291
PiperOrigin-RevId: 555679980
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants