Skip to content

build: compile with C++20 #441

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

Merged
merged 4 commits into from
Jul 17, 2025
Merged

Conversation

leonm1
Copy link
Contributor

@leonm1 leonm1 commented Jul 16, 2025

std=c++20 is used by both V8 and Envoy. proxy-wasm-cpp-host needs to switch to use it in order to build with recent versions of V8. This will also reduce build surprises when importing proxy-wasm-cpp-host into Envoy.

This PR obsoletes #439.

mpwarres added 2 commits July 16, 2025 13:10
std=c++20 is used by both v8 and Envoy. Switching to use it is necessary to build with more recent versions of v8, and will also reduce overall build surprises when importing proxy-wasm-cpp-host into Envoy.

Signed-off-by: Michael Warres <[email protected]>
@leonm1 leonm1 force-pushed the mpwarres-use-cpp-20-2 branch 2 times, most recently from 7f4d30e to c852939 Compare July 16, 2025 18:59
These changes make Proxy-Wasm build cleanly with clang-18 and pass clang-tidy-18 checks.

Signed-off-by: Matt Leon <[email protected]>
@leonm1 leonm1 force-pushed the mpwarres-use-cpp-20-2 branch from 9fd2f6c to dff346e Compare July 17, 2025 02:30
@leonm1 leonm1 merged commit 497e4ef into proxy-wasm:main Jul 17, 2025
29 checks passed
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