Skip to content

Fix clang 13 build#8669

Open
juj wants to merge 5 commits intoWebAssembly:mainfrom
juj:fix_clang_13_build
Open

Fix clang 13 build#8669
juj wants to merge 5 commits intoWebAssembly:mainfrom
juj:fix_clang_13_build

Conversation

@juj
Copy link
Copy Markdown
Collaborator

@juj juj commented May 4, 2026

Clang-13 advertises C++20 support with __cplusplus >= 202002L, but it does not have all the features of C++20.

So instead use the C++20 individual feature testing macros to check for the various features: https://en.cppreference.com/cpp/feature_test

which Clang-13 accurately reports.

Authored on top of PR #8668, will rebase before landing, if/when #8668 is approved.

@juj juj requested a review from a team as a code owner May 4, 2026 17:19
@juj juj requested review from aheejin and removed request for a team May 4, 2026 17:19
@aheejin aheejin requested a review from tlively May 5, 2026 02:32
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