dotnet/runtime
GitHub で見る[mono] Use C11 atomics in atomic.h when building with MSVC
Open
#91,748 opened on 2023年9月7日
area-Infrastructure-monohelp wanted
Repository metrics
- Stars
- (17,886 stars)
- PR merge metrics
- (平均マージ 12d 11h) (30d で 661 merged PRs)
説明
There are two things we need to do:
- Pass the
/experimental:c11atomicsto the MSVC compiler for the runtime build - Use C++23 when building our C++ files (they may include
"atomic.h"which includes<stdatomic.h>which errors out in MSVC in C++ mode unless you're using at least C++23)