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

Visual Studio 2022: protobuf\src\google\protobuf\arena.cc(457,51): error C2127: 'thread_cache_': illegal initialization of 'constinit' entity with a non-constant expression #11672

Closed
chronoxor opened this issue Jan 26, 2023 · 1 comment

Comments

@chronoxor
Copy link
Contributor

Visual Studio 2022 generates compilation error in arena.cc:

protobuf\src\google\protobuf\arena.cc(457,51): error C2127: 'thread_cache_': illegal initialization of 'constinit' entity with a non-constant expression
@chronoxor chronoxor added the untriaged auto added to all issues by default when created. label Jan 26, 2023
copybara-service bot pushed a commit that referenced this issue Jan 27, 2023
…1): error C2127: 'thread_cache_': illegal initialization of 'constinit' entity with a non-constant expression #11672 (#11674)

Closes #11674

COPYBARA_INTEGRATE_REVIEW=#11674 from chronoxor:main ed65dea
PiperOrigin-RevId: 505009868
@chronoxor
Copy link
Contributor Author

Fixed & Merged

@googleberg googleberg removed the untriaged auto added to all issues by default when created. label Feb 17, 2024
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

2 participants