On Tue, Feb 28, 2023 at 3:15 AM Ben Ernst
<
ben.ernst....@gmail.com> wrote:
>
> use_custom_libcxx=false
>
> [snip]
>
> [exec] cl : Command line warning D9025 : overriding '/std:c++20' with '/std:c++17'
> [exec] C:\88082ece\v8\include/cppgc/allocation.h(8): fatal error C1083: Cannot open include file: 'atomic': No such file or directory
The warning is probably harmless. The fatal error is most likely
caused by use_custom_libcxx=false. That tells V8 to use your system's
libc++ instead of the bundled one but yours is either missing, not
found, or missing some files.
A caveat to keep in mind: you can't mix different libc++s. If you
switch to V8's copy, you have to use it in your application as well.
(How is left as an exercise; there are several ways to go about it.)