Skip to content

Conversation

@xingyaner
Copy link
Contributor

The root cause of the error is that Clang-18 is overly strict in checking the constant initialization of the constinit variable in Protobuf under the C++20 standard (the determination involves heap allocation). The repair solution pre-downloads dependencies through bazel fetch and dynamically erasing the constinit keyword in the Protobuf source code in combination with the sed script, converting conflicting variables into legal dynamic initializations and resolving compilation blocking without disrupting the global C++20 environment.

@github-actions
Copy link

xingyaner is a new contributor to projects/envoy. The PR must be approved by known contributors before it can be merged. The past contributors are: adisuissa, catenacyber, maflcko, disconnect3d, asraa, krajshiva

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.

1 participant