Chromium compilation issues

1,359 views
Skip to first unread message

gz83

unread,
Dec 20, 2022, 5:50:14 AM12/20/22
to Chromium-dev
D:\chromium\src>autoninja -C out\chromium chrome setup mini_installer -j64
"D:\depot_tools\bootstrap-2@3_8_10_chromium_23_bin\python3\bin\python3.exe" D:\depot_tools\ninja.py -C out\chromium chrome setup mini_installer -j64 -d stats
ninja: Entering directory `out\chromium'
[64 processes, 4570/54928 @ 54.9/s : 83.227s ] CC obj/third_party/boringssl/boringssl/refcount_c11.obj
FAILED: obj/third_party/boringssl/boringssl/refcount_c11.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../third_party/boringssl/src/crypto/refcount_c11.c /nologo /showIncludes:user "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include" "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\ATLMFC\include" "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" -DUSE_AURA=1 -DOFFICIAL_BUILD "-DCR_CLANG_REVISION=\"llvmorg-16-init-15114-g142aa1bd-0\"" -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=7b20455cbdf0891a6e5e2b66609b08c4f407ae5f -D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1 -D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_ALLOW_CXX_RUNTIME -DBORINGSSL_NO_STATIC_INITIALIZER -DOPENSSL_SMALL -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/boringssl/src/include -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -flto=thin -fsplit-lto-unit -mllvm -adce-remove-loops -mllvm -enable-cse-in-irtranslator -mllvm -enable-cse-in-legalizer -mllvm -scalar-evolution-use-expensive-range-sharpening -mllvm -loop-rotate-multi -mllvm -enable-loopinterchange -mllvm -enable-loop-distribute -mllvm -enable-loop-flatten -mllvm -interleave-small-loop-scalar-reduction -mllvm -enable-interleaved-mem-accesses -mllvm -enable-masked-interleaved-mem-accesses -mllvm -enable-gvn-hoist -mllvm -gvn-hoist-max-bbs=-1 -mllvm -gvn-hoist-max-depth=-1 -mllvm -gvn-hoist-max-chain-length=-1 -fwhole-program-vtables -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1916 -m64 /arch:AVX2 -maes -mvaes -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern -fprofile-use=../../chrome/build/pgo_profiles/chrome-win64-main-1671504928-abdb16a828163b0b5f5483f7e3ede9e2d9439615.profdata -Wno-profile-instr-unprofiled -Wno-profile-instr-out-of-date -Wno-backend-plugin /guard:cf /MT -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /W3 /wd4800 /wd4267 -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion /O2 /Ob2 /Oy- /Zc:inline /Gw /std:c11 /TC /Foobj/third_party/boringssl/boringssl/refcount_c11.obj /Fd"obj/third_party/boringssl/boringssl_c.pdb"
In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\stdatomic.h(15,2): error: <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.
#error <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.
 ^
In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\stdatomic.h:18:
In file included from C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\yvals.h:9:
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\yvals_core.h(29,2): error: Error in C++ Standard Library usage
#error Error in C++ Standard Library usage
 ^
In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\stdatomic.h:18:
In file included from C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\yvals.h:9:
In file included from C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\yvals_core.h:437:
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\xkeycheck.h(30,2): error: The C++ Standard Library forbids macroizing the keyword "alignas". Enable warning C4005 to find the forbidden define.
#error The C++ Standard Library forbids macroizing the keyword "alignas". \
 ^
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\xkeycheck.h(36,2): error: The C++ Standard Library forbids macroizing the keyword "alignof". Enable warning C4005 to find the forbidden define.
#error The C++ Standard Library forbids macroizing the keyword "alignof". \
 ^
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\xkeycheck.h(391,2): error: The C++ Standard Library forbids macroizing the keyword "static_assert". Enable warning C4005 to find the forbidden define.
#error The C++ Standard Library forbids macroizing the keyword "static_assert". \
 ^
In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\stdatomic.h:18:
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\yvals.h(346,1): error: unknown type name 'namespace'
_STD_BEGIN
^
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\yvals_core.h(1735,20): note: expanded from macro '_STD_BEGIN'
#define _STD_BEGIN namespace std {
                   ^
In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\stdatomic.h:18:
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\yvals.h(346,1): error: expected ';' after top level declarator
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\yvals_core.h(1735,34): note: expanded from macro '_STD_BEGIN'
#define _STD_BEGIN namespace std {
                                 ^
../../third_party/boringssl/src/crypto/refcount_c11.c(22,10): warning: the current #pragma pack alignment value is modified in the included file [-Wpragma-pack]
#include <stdatomic.h>
         ^
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\yvals.h(20,9): note: previous '#pragma pack' directive that modifies alignment is here
#pragma pack(push, _CRT_PACKING)
        ^
../../third_party/boringssl/src/crypto/refcount_c11.c(27,1): error: unknown type name 'EMIT'
static_assert(alignof(CRYPTO_refcount_t) == alignof(_Atomic CRYPTO_refcount_t),
^
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\xkeycheck.h(390,23): note: expanded from macro 'static_assert'
#define static_assert EMIT WARNING C4005
                      ^
../../third_party/boringssl/src/crypto/refcount_c11.c(27,1): error: expected ';' after top level declarator
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\xkeycheck.h(390,36): note: expanded from macro 'static_assert'
#define static_assert EMIT WARNING C4005
                                   ^
../../third_party/boringssl/src/crypto/refcount_c11.c(29,1): error: unknown type name 'EMIT'
static_assert(sizeof(CRYPTO_refcount_t) == sizeof(_Atomic CRYPTO_refcount_t),
^
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\xkeycheck.h(390,23): note: expanded from macro 'static_assert'
#define static_assert EMIT WARNING C4005
                      ^
../../third_party/boringssl/src/crypto/refcount_c11.c(29,1): error: expected ';' after top level declarator
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\xkeycheck.h(390,36): note: expanded from macro 'static_assert'
#define static_assert EMIT WARNING C4005
                                   ^
../../third_party/boringssl/src/crypto/refcount_c11.c(32,1): error: unknown type name 'EMIT'
static_assert((CRYPTO_refcount_t)-1 == CRYPTO_REFCOUNT_MAX,
^
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\xkeycheck.h(390,23): note: expanded from macro 'static_assert'
#define static_assert EMIT WARNING C4005
                      ^
../../third_party/boringssl/src/crypto/refcount_c11.c(32,1): error: expected ';' after top level declarator
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\xkeycheck.h(390,36): note: expanded from macro 'static_assert'
#define static_assert EMIT WARNING C4005
                                   ^
../../third_party/boringssl/src/crypto/refcount_c11.c(37,23): error: call to undeclared function 'atomic_load'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  uint32_t expected = atomic_load(count);
                      ^
../../third_party/boringssl/src/crypto/refcount_c11.c(41,9): error: call to undeclared function 'atomic_compare_exchange_weak'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    if (atomic_compare_exchange_weak(count, &expected, new_value)) {
        ^
../../third_party/boringssl/src/crypto/refcount_c11.c(49,23): error: call to undeclared function 'atomic_load'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  uint32_t expected = atomic_load(count);
                      ^
../../third_party/boringssl/src/crypto/refcount_c11.c(58,11): error: call to undeclared function 'atomic_compare_exchange_weak'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      if (atomic_compare_exchange_weak(count, &expected, new_value)) {
          ^
1 warning and 17 errors generated.
[1 processes, 4633/54928 @ 51.3/s : 90.315s ] ACTION //thi...enerate_about_tracing(//build/toolchain/win:win_clang_x64)
ninja: build stopped: subcommand failed.
metric                  count   avg (us)        total (ms)
.ninja parse            6904    3770.0          26027.8
canonicalize str        8210866 0.0             0.3
canonicalize path       8837765 0.0             1.1
lookup node             8822228 0.0             16.5
.ninja_log load         1       117.0           0.1
.ninja_deps load        1       23.0            0.0
node stat               162685  4.7             756.8
depfile load            361     29.6            10.7
StartEdge               4633    4261.3          19742.5
FinishCommand           4633    1144.4          5301.8
CLParser::Parse         1339    1846.7          2472.7

path->node hash load 0.94 (246731 entries / 262144 buckets)

D:\chromium\src>

When I compiled Chromium, I encountered many errors related to MSVS and boringssl. How should I solve these errors?

I am using MSVS2022+SDK22621+Clang with Polly on windows server 2022 for native compilation.

gz83

unread,
Dec 20, 2022, 5:53:04 AM12/20/22
to Chromium-dev, gz83, bruce...@google.com
CC:Bruce Dawson

Bruce Dawson

unread,
Dec 20, 2022, 1:12:46 PM12/20/22
to gz83, Chromium-dev
I don't know why you are getting those errors. I have built Chromium with MSVS 2022 + SDK 22621 with no trouble. I don't know what "Polly" is. Your OS version should not matter. Your gn args, commit hash, and any local changes (in-progress patches, modifications to the SDK or VS install) do matter so be sure to include those. They may have been shared previously but I can't see them now.

At some level the cause of your problems is that third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h in your build ends up include the VC++ version of stdatomic.h, and that is not supposed to happen. This is the relevant block of code in the clang\16 version of stdatomic.h - not the !(defined(_MSC_VER) clause:


/* If we're hosted, fall back to the system's stdatomic.h. FreeBSD, for
 * example, already has a Clang-compatible stdatomic.h header.
 *
 * Exclude the MSVC path as well as the MSVC header as of the 14.31.30818
 * explicitly disallows `stdatomic.h` in the C mode via an `#error`.  Fallback
 * to the clang resource header until that is fully supported.
 */
#if __STDC_HOSTED__ &&                                                         \
    __has_include_next(<stdatomic.h>) && !(defined(_MSC_VER) && !defined(__cplusplus))
# include_next <stdatomic.h>
#else


My best guess is that you somehow modified that header file or some other aspect of your environment. Chromium is always easiest to build if you use exactly the recommend environment. Using a more recent SDK and VS compiler can work (patch in crrev.com/c/4072083 to support this), but any other modifications are likely to cause cryptic errors such as this one.


It sounds like Polly is an llvm variant. That's your problem right there. Compiling Chromium with a different compiler is unsupported and unlikely to work without significant modifications.

--
Bruce Dawson, he/him

gz83

unread,
Dec 20, 2022, 9:47:35 PM12/20/22
to Chromium-dev, bruce...@google.com, Chromium-dev, gz83

I restored all the modifications related to LLVM with Polly, and re-pulled the code, and found that the above errors still occurred. My args.gn file is as follows

google_api_key = ""
google_default_client_id = ""
google_default_client_secret = ""
visual_studio_version = "2022"
target_os = "win"
target_cpu = "x64"
enable_stripping = true
is_clang = true
#llvm_force_head_revision = true
is_official_build = true
is_debug = false
dcheck_always_on = false
exclude_unwind_tables = true
# enable_debugallocation = false
enable_iterator_debugging = false
disable_fieldtrial_testing_config = true
enable_remoting = false
enable_reporting = false
enable_resource_allowlist_generation = false
enable_profiling = false
treat_warnings_as_errors = false
clang_use_chrome_plugins = false
is_component_build = false
symbol_level = 0
optimize_webui=true
enable_webui_tab_strip = true
use_lld = true
v8_symbol_level = 0
v8_enable_fast_torque = true
use_v8_context_snapshot = true
enable_nacl = false
blink_symbol_level = 0
enable_precompiled_headers = true
media_use_ffmpeg = true
media_use_libvpx = true
enable_hls_sample_aes = true
enable_hls_demuxer = true
enable_ink = false
enable_discovery = false
enable_cros_media_app = false
proprietary_codecs = true
ffmpeg_branding = "Chrome"
enable_ffmpeg_video_decoders = true
is_component_ffmpeg = false
use_webaudio_ffmpeg = false
use_webaudio_pffft = true
# enable_av1_decoder = true
# enable_dav1d_decoder = true
enable_widevine = true
bundle_widevine_cdm = true
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
enable_media_foundation_widevine_cdm = true
enable_hangout_services_extension = true
rtc_use_h264 = true
rtc_include_ilbc = true
#rtc_build_with_neon = true
rtc_build_examples = false
rtc_enable_avx2 = true
enable_vr = true
use_vr_assets_component = true
enable_platform_hevc = true
enable_hevc_parser_and_hw_decoder = true
enable_platform_ac3_eac3_audio = true
enable_platform_dolby_vision = true
enable_platform_mpeg_h_audio = true
enable_platform_dts_audio = true
enable_mse_mpeg2ts_stream_parser = true
use_thin_lto = true
thin_lto_enable_optimizations = true
chrome_pgo_phase = 2
pgo_data_path = "D:\chromium\src\chrome\build\pgo_profiles\chrome-win64-main-1671569666-af8b040a49d9b3ba9d0cb4991251273e80db5d41.profdata"

Bruce Dawson

unread,
Dec 20, 2022, 11:24:28 PM12/20/22
to gz83, Chromium-dev
It seems like you are trying to build Chromium with a lot of variations from the default, which is playing this game on hard mode. This is what I would recommend:

Step 1) Build Chrome with an empty gn args, and the default compiler
Step 2) If that works then gradually add other gn args. If one of them breaks the build then you have a clue that you can share, and you can try to craft a minimal repro
Step 3) If that works then try with your custom compiler

The idea is to try to find out why you are seeing build errors that no one else is seeing. In this case it looks like your compiler is not defining _MSC_VER, and Chromium for Windows will not build without that. Changing that assumption would likely be a huge undertaking.

I base my assumption on looking at the code in third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h that includes VC++'s stdatomic.h. It only does that if _MSC_VER is not defined, which it normally is when building Chromium for Windows. Feel free to test my assumption as part of your debugging process.
--
Bruce Dawson, he/him

gz83

unread,
Dec 20, 2022, 11:33:15 PM12/20/22
to Chromium-dev, bruce...@google.com, Chromium-dev, gz83
OK, I will investigate and test according to your guidelines, and report to you as soon as I have the results.

gz83

unread,
Dec 21, 2022, 3:17:22 AM12/21/22
to Chromium-dev, gz83, bruce...@google.com, Chromium-dev, jianl...@intel.com, lga...@gmail.com
It seems that this problem is not only encountered by me, we should use the function of replying to everyone to send out our questions and let others know about our discussion

gz83

unread,
Dec 21, 2022, 3:41:33 AM12/21/22
to Chromium-dev, gz83, bruce...@google.com, Chromium-dev, Jianlin Qiu, lga...@gmail.com
Saw the bug tracker you submitted, I'll keep an eye on this issue

Jianlin Qiu

unread,
Dec 21, 2022, 12:24:33 PM12/21/22
to Chromium-dev, gz83, bruce...@google.com, Chromium-dev
This seems to be only happening on VS 2022, which adds stdatomic.h. A workaround would be renaming this file under VS installation dir; But eventually Chromium needs to fix this to only use that from llvm/clang.

Qiu, Jianlin

unread,
Dec 21, 2022, 12:24:41 PM12/21/22
to gz83, Chromium-dev, bruce...@google.com, Chromium-dev, lga...@gmail.com

I’m not sure why “reply all” does not show my comments. Anyway, I submitted issue here: https://bugs.chromium.org/p/chromium/issues/detail?id=1402885 to track this issue.

Liang Gao (Leon)

unread,
Dec 21, 2022, 12:25:37 PM12/21/22
to Chromium-dev, gz83, bruce...@google.com, Chromium-dev
I'm having the same error and would like to know what's going wrong.

I followed the steps here: https://chromium.googlesource.com/chromium/src/+/HEAD/docs/windows_build_instructions.md
(This is my first time doing this)
Installed visual studio 2022, with the component/sub-component mentioned.
Installed depot_tools.
Got the code.
Did the following:

cd src
gn gen out/Default
set NINJA_SUMMARIZE_BUILD=1
autoninja -C out\Default chrome

and got: (also tried "autoninja -C out\Default base" and got the same error)

"C:\src\depot_tools\bootstrap-2@3_8_10_chromium_23_bin\python3\bin\python3.exe" C:\src\depot_tools\ninja.py -C out\Default chrome -j 34 -d stats
ninja: Entering directory `out\Default'
[34 processes, 4383/56198 @ 82.9/s : 52.859s ] CC obj/third_party/boringssl/boringssl/refcount_c11.obj
FAILED: obj/third_party/boringssl/boringssl/refcount_c11.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../third_party/boringssl/src/crypto/refcount_c11.c /nologo /showIncludes:user "-imsvc../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include" "-imsvc../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/ATLMFC/include" "-imsvc../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/VS/include" "-imsvc../../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/ucrt" "-imsvc../../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/um" "-imsvc../../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/shared" "-imsvc../../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/winrt" "-imsvc../../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/cppwinrt" -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"llvmorg-16-init-14635-ga650f2ec-1\"" -DCOMPONENT_BUILD -DCR_LIBCXX_REVISION=18e086ee960ef4f3b60137f062a44a2c443fdd98 -D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1 -D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_ALLOW_CXX_RUNTIME -DBORINGSSL_NO_STATIC_INITIALIZER -DOPENSSL_SMALL -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -DBORINGSSL_SHARED_LIBRARY -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/boringssl/src/include -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1916 /Zc:dllexportInlines- -m64 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /Od /Ob0 /GF /Z7 -gno-codeview-command-line -gcodeview-ghash -Xclang -fuse-ctor-homing /guard:cf,nochecks /MDd -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang raw-ref-template-as-trivial-member -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /W3 /wd4800 /wd4267 -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion /std:c11 /TC /Foobj/third_party/boringssl/boringssl/refcount_c11.obj /Fd"obj/third_party/boringssl/boringssl_c.pdb"

In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h(15,2): error: <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.

#error <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.
 ^
In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(29,2): error: Error in C++ Standard Library usage

#error Error in C++ Standard Library usage
 ^
In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
In file included from ../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h:437:
../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(30,2): error: The C++ Standard Library forbids macroizing the keyword "alignas". Enable warning C4005 to find the forbidden define.

#error The C++ Standard Library forbids macroizing the keyword "alignas". \
 ^
../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(36,2): error: The C++ Standard Library forbids macroizing the keyword "alignof". Enable warning C4005 to find the forbidden define.

#error The C++ Standard Library forbids macroizing the keyword "alignof". \
 ^
../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(391,2): error: The C++ Standard Library forbids macroizing the keyword "static_assert". Enable warning C4005 to find the forbidden define.

#error The C++ Standard Library forbids macroizing the keyword "static_assert". \
 ^
In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: unknown type name 'namespace'
_STD_BEGIN
^
../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,20): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                   ^
In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: expected ';' after top level declarator
../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,34): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                                 ^
../../third_party/boringssl/src/crypto/refcount_c11.c(22,10): error: the current #pragma pack alignment value is modified in the included file [-Werror,-Wpragma-pack]
#include <stdatomic.h>
         ^
../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(20,9): note: previous '#pragma pack' directive that modifies alignment is here

#pragma pack(push, _CRT_PACKING)
        ^
../../third_party/boringssl/src/crypto/refcount_c11.c(27,1): error: unknown type name 'EMIT'
static_assert(alignof(CRYPTO_refcount_t) == alignof(_Atomic CRYPTO_refcount_t),
^
../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(390,23): note: expanded from macro 'static_assert'

#define static_assert EMIT WARNING C4005
                      ^
../../third_party/boringssl/src/crypto/refcount_c11.c(27,1): error: expected ';' after top level declarator
../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(390,36): note: expanded from macro 'static_assert'

#define static_assert EMIT WARNING C4005
                                   ^
../../third_party/boringssl/src/crypto/refcount_c11.c(29,1): error: unknown type name 'EMIT'
static_assert(sizeof(CRYPTO_refcount_t) == sizeof(_Atomic CRYPTO_refcount_t),
^
../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(390,23): note: expanded from macro 'static_assert'

#define static_assert EMIT WARNING C4005
                      ^
../../third_party/boringssl/src/crypto/refcount_c11.c(29,1): error: expected ';' after top level declarator
../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(390,36): note: expanded from macro 'static_assert'

#define static_assert EMIT WARNING C4005
                                   ^
../../third_party/boringssl/src/crypto/refcount_c11.c(32,1): error: unknown type name 'EMIT'
static_assert((CRYPTO_refcount_t)-1 == CRYPTO_REFCOUNT_MAX,
^
../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(390,23): note: expanded from macro 'static_assert'

#define static_assert EMIT WARNING C4005
                      ^
../../third_party/boringssl/src/crypto/refcount_c11.c(32,1): error: expected ';' after top level declarator
../../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(390,36): note: expanded from macro 'static_assert'

#define static_assert EMIT WARNING C4005
                                   ^
../../third_party/boringssl/src/crypto/refcount_c11.c(37,23): error: call to undeclared function 'atomic_load'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  uint32_t expected = atomic_load(count);
                      ^
../../third_party/boringssl/src/crypto/refcount_c11.c(41,9): error: call to undeclared function 'atomic_compare_exchange_weak'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    if (atomic_compare_exchange_weak(count, &expected, new_value)) {
        ^
../../third_party/boringssl/src/crypto/refcount_c11.c(49,23): error: call to undeclared function 'atomic_load'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  uint32_t expected = atomic_load(count);
                      ^
../../third_party/boringssl/src/crypto/refcount_c11.c(58,11): error: call to undeclared function 'atomic_compare_exchange_weak'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      if (atomic_compare_exchange_weak(count, &expected, new_value)) {
          ^
18 errors generated.
[1 processes, 4416/56198 @ 78.9/s : 55.989s ] ACTION //thi...ings:web_idl_database(//build/toolchain/win:win_clang_x64)

ninja: build stopped: subcommand failed.
metric                  count   avg (us)        total (ms)
.ninja parse            7441    825.0           6138.5
canonicalize str        3802509 0.0             5.9
canonicalize path       4214476 0.0             4.2
lookup node             4201080 0.0             19.7
.ninja_log load         1       60.0            0.1
.ninja_deps load        1       12.0            0.0
node stat               162782  8.4             1364.0
depfile load            309     15.0            4.6
StartEdge               4416    3609.2          15938.1
FinishCommand           4416    652.7           2882.3
CLParser::Parse         1086    907.6           985.6

path->node hash load 0.95 (248937 entries / 262144 buckets)

Peter Kasting

unread,
Dec 21, 2022, 3:26:15 PM12/21/22
to lga...@gmail.com, Chromium-dev, gz83, bruce...@google.com
On Wed, Dec 21, 2022 at 9:24 AM Liang Gao (Leon) <lga...@gmail.com> wrote:
I'm having the same error and would like to know what's going wrong.

This was a clang bug that has been fixed upstream and will be resolved when we roll a new version of clang into Chromium.

PK

gz83

unread,
Dec 21, 2022, 10:07:51 PM12/21/22
to Chromium-dev, Peter Kasting, Chromium-dev, gz83, bruce...@google.com, lga...@gmail.com
In the future, I will try to compile the new Chromium to see if the related problems are resolved.

Peter Kasting

unread,
Dec 27, 2022, 2:09:37 PM12/27/22
to Yash Joshi, Chromium-dev, gz83, bruce...@google.com, lga...@gmail.com
On Tue, Dec 27, 2022 at 11:02 AM Yash Joshi <yashjoshi_...@dtu.ac.in> wrote:
I went through the thread and as per @Peter this bug has been fixed. Could you please let me know when this update will be pushed into Chromium?

 
  and till then, what can we do as a workaround ?

Try locally reverting https://chromium.googlesource.com/chromium/src/+/723fc2632f29dbb9b80c36dc80c29f3b89cd3e83 and then rerunning `gclient runhooks`. I haven't tested this, but that probably works?

PK

Yash Joshi

unread,
Jan 3, 2023, 10:24:51 AM1/3/23
to Chromium-dev, gz83, Peter Kasting, Chromium-dev, bruce...@google.com, lga...@gmail.com
Hi,
I, too, am facing a similar issue as of now.
I was rebuilding chromium from scratch with just three arguments which are suggested in the docs for faster build (tried once without any arguments but with no success).
"is_component_build = true enable_nacl = false v8_symbol_level = 0"
also ran gclient sync to fix any broken files or something.
I went through the thread and as per @Peter this bug has been fixed. Could you please let me know when this update will be pushed into Chromium?  and till then, what can we do as a workaround ?
@Jianlin  suggested renaming the  stdatomic.h. in VS directory . Can I rename this to anything or something specific? Will this create any other issues that I need to be aware of?
Is there any easy alternative that I may be missing?

P.S-Just starting to contribute here and still learning the development workflow :)

Attaching Full logs in case you want to have a look.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
E:\>cd chromium

E:\chromium>cd src

E:\chromium\src>gclient sync
Updating depot_tools...
Syncing projects: 100% (133/133), done.
Running hooks: 100% (134/134), done.

E:\chromium\src>gn gen out/Default --args="is_component_build = true enable_nacl = false v8_symbol_level = 0"
Done. Made 17719 targets from 3153 files in 8227ms
E:\chromium\src>where python
E:\depot_tools\python.bat
C:\Python311\python.exe

E:\chromium\src>autoninja -C out\Default chrome
"E:\depot_tools\bootstrap-2@3_8_10_chromium_23_bin\python3\bin\python3.exe" E:\depot_tools\ninja.py -C out\Default chrome -j 18

ninja: Entering directory `out\Default'
[4102/53193] CC obj/third_party/boringssl/boringssl/refcount_c11.obj
FAILED: obj/third_party/boringssl/boringssl/refcount_c11.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../third_party/boringssl/src/crypto/refcount_c11.c /nologo /showIncludes:user "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include" "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\ATLMFC\include" "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\ucrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.20348.0\\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.20348.0\\shared" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.20348.0\\winrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.20348.0\\cppwinrt" "-imsvcC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"llvmorg-16-init-14635-ga650f2ec-1\"" -DCOMPONENT_BUILD -DCR_LIBCXX_REVISION=7c5e4b4eb3c5970f5525f62650c5b76f56dd99a8 -D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1 -D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_ALLOW_CXX_RUNTIME -DBORINGSSL_NO_STATIC_INITIALIZER -DOPENSSL_SMALL -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -DBORINGSSL_SHARED_LIBRARY -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/boringssl/src/include -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1916 /Zc:dllexportInlines- -m64 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /Od /Ob0 /GF /Z7 -gno-codeview-command-line -gcodeview-ghash -Xclang -fuse-ctor-homing /guard:cf,nochecks /MDd -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang raw-ref-template-as-trivial-member -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /W3 /wd4800 /wd4267 -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion /std:c11 /TC /Foobj/third_party/boringssl/boringssl/refcount_c11.obj /Fd"obj/third_party/boringssl/boringssl_c.pdb"

In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
../../third_party/boringssl/src/crypto/refcount_c11.c(22,10): error: the current #pragma pack alignment value is modified in the included file [-Werror,-Wpragma-pack]
#include <stdatomic.h>
         ^
18 errors generated.
[4119/53193] ACTION //third_party/blink/renderer/bindings:web_idl_database(//build/toolchain/win:win_clang_x64)

ninja: build stopped: subcommand failed.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Regards,
Yash Joshi

jongmok kim

unread,
Jan 3, 2023, 10:26:12 AM1/3/23
to Chromium-dev, Peter Kasting, Chromium-dev, gz83, bruce...@google.com, lga...@gmail.com, Yash Joshi
windows10 MSVC v143(Latest)
There was the same error.
Build was successful after the commit revert locally.

ninja: Entering directory `out/Default'
[15/49251] CC obj/third_party/boringssl/boringssl/refcount_c11.obj
FAILED: obj/third_party/boringssl/boringssl/refcount_c11.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../third_party/boringssl/src/crypto/refcount_c11.c /nologo /showIncludes:user "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include" "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\ATLMFC\include" "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\VS\include" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\ucrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.20348.0\\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.20348.0\\shared" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.20348.0\\winrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.20348.0\\cppwinrt" "-imsvcC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"llvmorg-16-init-14635-ga650f2ec-1\"" -DCOMPONENT_BUILD -DCR_LIBCXX_REVISION=7c5e4b4eb3c5970f5525f62650c5b76f56dd99a8 -D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1 -D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_ALLOW_CXX_RUNTIME -DBORINGSSL_NO_STATIC_INITIALIZER -DOPENSSL_SMALL -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -DBORINGSSL_SHARED_LIBRARY -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/boringssl/src/include -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1916 /Zc:dllexportInlines- -m64 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /Od /Ob0 /GF /Z7 -gno-codeview-command-line -gcodeview-ghash -Xclang -fuse-ctor-homing /guard:cf,nochecks /MDd -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang raw-ref-template-as-trivial-member -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /W3 /wd4800 /wd4267 -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion /std:c11 /TC /Foobj/third_party/boringssl/boringssl/refcount_c11.obj /Fd"obj/third_party/boringssl/boringssl_c.pdb"

In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\stdatomic.h(15,2): error: <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.

#error <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.
 ^
In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\stdatomic.h:18:
In file included from C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\yvals.h:9:
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\yvals_core.h(29,2): error: Error in C++ Standard Library usage

#error Error in C++ Standard Library usage
 ^
In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\stdatomic.h:18:
In file included from C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\yvals.h:9:
In file included from C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\yvals_core.h:437:
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\xkeycheck.h(30,2): error: The C++ Standard Library forbids macroizing the keyword "alignas". Enable warning C4005 to find the forbidden define.

#error The C++ Standard Library forbids macroizing the keyword "alignas". \
 ^
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\xkeycheck.h(36,2): error: The C++ Standard Library forbids macroizing the keyword "alignof". Enable warning C4005 to find the forbidden define.

#error The C++ Standard Library forbids macroizing the keyword "alignof". \
 ^
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\xkeycheck.h(391,2): error: The C++ Standard Library forbids macroizing the keyword "static_assert". Enable warning C4005 to find the forbidden define.

#error The C++ Standard Library forbids macroizing the keyword "static_assert". \
 ^
In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\stdatomic.h:18:
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\yvals.h(346,1): error: unknown type name 'namespace'
_STD_BEGIN
^
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\yvals_core.h(1735,20): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                   ^
In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\stdatomic.h:18:
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\yvals.h(346,1): error: expected ';' after top level declarator
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\yvals_core.h(1735,34): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                                 ^
../../third_party/boringssl/src/crypto/refcount_c11.c(22,10): error: the current #pragma pack alignment value is modified in the included file [-Werror,-Wpragma-pack]
#include <stdatomic.h>
         ^
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\yvals.h(20,9): note: previous '#pragma pack' directive that modifies alignment is here

#pragma pack(push, _CRT_PACKING)
        ^
../../third_party/boringssl/src/crypto/refcount_c11.c(27,1): error: unknown type name 'EMIT'
static_assert(alignof(CRYPTO_refcount_t) == alignof(_Atomic CRYPTO_refcount_t),
^
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\xkeycheck.h(390,23): note: expanded from macro 'static_assert'

#define static_assert EMIT WARNING C4005
                      ^
../../third_party/boringssl/src/crypto/refcount_c11.c(27,1): error: expected ';' after top level declarator
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\xkeycheck.h(390,36): note: expanded from macro 'static_assert'

#define static_assert EMIT WARNING C4005
                                   ^
../../third_party/boringssl/src/crypto/refcount_c11.c(29,1): error: unknown type name 'EMIT'
static_assert(sizeof(CRYPTO_refcount_t) == sizeof(_Atomic CRYPTO_refcount_t),
^
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\xkeycheck.h(390,23): note: expanded from macro 'static_assert'

#define static_assert EMIT WARNING C4005
                      ^
../../third_party/boringssl/src/crypto/refcount_c11.c(29,1): error: expected ';' after top level declarator
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\xkeycheck.h(390,36): note: expanded from macro 'static_assert'

#define static_assert EMIT WARNING C4005
                                   ^
../../third_party/boringssl/src/crypto/refcount_c11.c(32,1): error: unknown type name 'EMIT'
static_assert((CRYPTO_refcount_t)-1 == CRYPTO_REFCOUNT_MAX,
^
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\xkeycheck.h(390,23): note: expanded from macro 'static_assert'

#define static_assert EMIT WARNING C4005
                      ^
../../third_party/boringssl/src/crypto/refcount_c11.c(32,1): error: expected ';' after top level declarator
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\xkeycheck.h(390,36): note: expanded from macro 'static_assert'

#define static_assert EMIT WARNING C4005
                                   ^
../../third_party/boringssl/src/crypto/refcount_c11.c(37,23): error: call to undeclared function 'atomic_load'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  uint32_t expected = atomic_load(count);
                      ^
../../third_party/boringssl/src/crypto/refcount_c11.c(41,9): error: call to undeclared function 'atomic_compare_exchange_weak'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    if (atomic_compare_exchange_weak(count, &expected, new_value)) {
        ^
../../third_party/boringssl/src/crypto/refcount_c11.c(49,23): error: call to undeclared function 'atomic_load'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  uint32_t expected = atomic_load(count);
                      ^
../../third_party/boringssl/src/crypto/refcount_c11.c(58,11): error: call to undeclared function 'atomic_compare_exchange_weak'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      if (atomic_compare_exchange_weak(count, &expected, new_value)) {
          ^
18 errors generated.

Michael Duffy

unread,
Jan 3, 2023, 10:26:32 AM1/3/23
to Chromium-dev, Peter Kasting, Chromium-dev, gz83, bruce...@google.com, lga...@gmail.com, Yash Joshi
I am seeing these same errors.  I did a completely clean restart of the Chromium build process on a new drive (downloaded the latest and greatest of everything).

Is there an estimate when this issue will be fixed?

gz83

unread,
Jan 7, 2023, 9:03:36 PM1/7/23
to Chromium-dev, mduf...@gmail.com, Peter Kasting, Chromium-dev, gz83, bruce...@google.com, lga...@gmail.com, Yash Joshi

You can try to revert this commit locally https://chromium.googlesource.com/chromium/src/+/723fc2632f29dbb9b80c36dc80c29f3b89cd3e83

Then run gclient runhooks and try a new compilation

mehai franco

unread,
Jan 7, 2023, 9:06:11 PM1/7/23
to Chromium-dev, mduf...@gmail.com, Peter Kasting, Chromium-dev, gz83, bruce...@google.com, lga...@gmail.com, Yash Joshi
Hi. I'm also getting these errors which I cannot get around. Please let me know what I can do. Thank you.

Ho Cheung

unread,
Jan 8, 2023, 10:12:31 PM1/8/23
to MakeBot Software, Chromium-dev, mduf...@gmail.com, Peter Kasting, bruce...@google.com, lga...@gmail.com, Yash Joshi
My solution is to find the corresponding file according to the commit mentioned above, manually revert and save the code, and then re-run gclient runhooks

MakeBot Software <makebot...@gmail.com> 於 2023年1月9日 週一 07:11 寫道:
I've tried reverting to this commit by doing the following. 

git checkout 723fc2632f29dbb9b80c36dc80c29f3b89cd3e83

However, it does not work. I get the following error:
fatal: reference is not a tree: 723fc2632f29dbb9b80c36dc80c29f3b89cd3e83

I've performed the following as well.
gclient sync
gclient sync --with_branch_heads
gclient runhooks

However I cannot revert the code to the commit suggested. I originally got the code through depot tools fetch chromium.

Please advise me on what I can do to revert smoothly to 723fc2632f29dbb9b80c36dc80c29f3b89cd3e83.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/ba7dc983-95f4-4978-a9a3-38b63231958cn%40chromium.org.

MakeBot Software

unread,
Jan 9, 2023, 6:13:19 PM1/9/23
to uiop...@gmail.com, Chromium-dev, mduf...@gmail.com, Peter Kasting, bruce...@google.com, lga...@gmail.com, Yash Joshi
I've tried reverting to this commit by doing the following. 

git checkout 723fc2632f29dbb9b80c36dc80c29f3b89cd3e83

However, it does not work. I get the following error:
fatal: reference is not a tree: 723fc2632f29dbb9b80c36dc80c29f3b89cd3e83

I've performed the following as well.
gclient sync
gclient sync --with_branch_heads
gclient runhooks

However I cannot revert the code to the commit suggested. I originally got the code through depot tools fetch chromium.

Please advise me on what I can do to revert smoothly to 723fc2632f29dbb9b80c36dc80c29f3b89cd3e83.

On Sat, Jan 7, 2023 at 9:03 PM gz83 <uiop...@gmail.com> wrote:
--

Nyabi

unread,
Jan 11, 2023, 2:41:59 PM1/11/23
to Chromium-dev
Visual Studio Community 2022
MSVC, ATL, MFC v143
Windows 10 SDK(10.0.20348.0)

tried to compile chromium, used 'autoninja -C out\Default chrome'



"C:\src\depot_tools\bootstrap-2@3_8_10_chromium_23_bin\python3\bin\python3.exe" C:\src\depot_tools\ninja.py -C out\Default chrome -j 14

ninja: Entering directory `out\Default'
[2/51474] CC obj/third_party/boringssl/boringssl/refcount_c11.obj
FAILED: obj/third_party/boringssl/boringssl/refcount_c11.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../third_party/boringssl/src/crypto/refcount_c11.c /nologo /showIncludes:user "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/ATLMFC/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/VS/include" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/ucrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/um" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/shared" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/winrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/cppwinrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/NETFXSDK/4.8/include/um" -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"llvmorg-16-init-14635-ga650f2ec-1\"" -DCOMPONENT_BUILD -DCR_LIBCXX_REVISION=0b0cecd0dedc81d66df598945b8c286302d8597d -D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1 -D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_ALLOW_CXX_RUNTIME -DBORINGSSL_NO_STATIC_INITIALIZER -DOPENSSL_SMALL -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -DBORINGSSL_SHARED_LIBRARY -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/boringssl/src/include -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1916 /Zc:dllexportInlines- -m64 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /Od /Ob0 /GF /Z7 -gno-codeview-command-line -gcodeview-ghash -Xclang -fuse-ctor-homing /guard:cf,nochecks /MDd -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang raw-ref-template-as-trivial-member -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /W3 /wd4800 /wd4267 -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion /std:c11 /TC /Foobj/third_party/boringssl/boringssl/refcount_c11.obj /Fd"obj/third_party/boringssl/boringssl_c.pdb"

In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h(15,2): error: <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.

#error <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.
 ^
In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(29,2): error: Error in C++ Standard Library usage

#error Error in C++ Standard Library usage
 ^
In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h:437:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(30,2): error: The C++ Standard Library forbids macroizing the keyword "alignas". Enable warning C4005 to find the forbidden define.

#error The C++ Standard Library forbids macroizing the keyword "alignas". \
 ^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(36,2): error: The C++ Standard Library forbids macroizing the keyword "alignof". Enable warning C4005 to find the forbidden define.

#error The C++ Standard Library forbids macroizing the keyword "alignof". \
 ^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(391,2): error: The C++ Standard Library forbids macroizing the keyword "static_assert". Enable warning C4005 to find the forbidden define.

#error The C++ Standard Library forbids macroizing the keyword "static_assert". \
 ^
In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: unknown type name 'namespace'
_STD_BEGIN
^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,20): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                   ^
In file included from ../../third_party/boringssl/src/crypto/refcount_c11.c:22:
In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: expected ';' after top level declarator
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,34): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                                 ^
../../third_party/boringssl/src/crypto/refcount_c11.c(22,10): error: the current #pragma pack alignment value is modified in the included file [-Werror,-Wpragma-pack]
#include <stdatomic.h>
         ^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(20,9): note: previous '#pragma pack' directive that modifies alignment is here

#pragma pack(push, _CRT_PACKING)
        ^
../../third_party/boringssl/src/crypto/refcount_c11.c(27,1): error: unknown type name 'EMIT'
static_assert(alignof(CRYPTO_refcount_t) == alignof(_Atomic CRYPTO_refcount_t),
^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(390,23): note: expanded from macro 'static_assert'

#define static_assert EMIT WARNING C4005
                      ^
../../third_party/boringssl/src/crypto/refcount_c11.c(27,1): error: expected ';' after top level declarator
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(390,36): note: expanded from macro 'static_assert'

#define static_assert EMIT WARNING C4005
                                   ^
../../third_party/boringssl/src/crypto/refcount_c11.c(29,1): error: unknown type name 'EMIT'
static_assert(sizeof(CRYPTO_refcount_t) == sizeof(_Atomic CRYPTO_refcount_t),
^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(390,23): note: expanded from macro 'static_assert'

#define static_assert EMIT WARNING C4005
                      ^
../../third_party/boringssl/src/crypto/refcount_c11.c(29,1): error: expected ';' after top level declarator
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(390,36): note: expanded from macro 'static_assert'

#define static_assert EMIT WARNING C4005
                                   ^
../../third_party/boringssl/src/crypto/refcount_c11.c(32,1): error: unknown type name 'EMIT'
static_assert((CRYPTO_refcount_t)-1 == CRYPTO_REFCOUNT_MAX,
^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(390,23): note: expanded from macro 'static_assert'

#define static_assert EMIT WARNING C4005
                      ^
../../third_party/boringssl/src/crypto/refcount_c11.c(32,1): error: expected ';' after top level declarator
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(390,36): note: expanded from macro 'static_assert'

#define static_assert EMIT WARNING C4005
                                   ^
../../third_party/boringssl/src/crypto/refcount_c11.c(37,23): error: call to undeclared function 'atomic_load'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  uint32_t expected = atomic_load(count);
                      ^
../../third_party/boringssl/src/crypto/refcount_c11.c(41,9): error: call to undeclared function 'atomic_compare_exchange_weak'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    if (atomic_compare_exchange_weak(count, &expected, new_value)) {
        ^
../../third_party/boringssl/src/crypto/refcount_c11.c(49,23): error: call to undeclared function 'atomic_load'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  uint32_t expected = atomic_load(count);
                      ^
../../third_party/boringssl/src/crypto/refcount_c11.c(58,11): error: call to undeclared function 'atomic_compare_exchange_weak'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      if (atomic_compare_exchange_weak(count, &expected, new_value)) {
          ^
18 errors generated.
[3/51474] CC obj/third_party/dav1d/dav1d/data.obj
FAILED: obj/third_party/dav1d/dav1d/data.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../third_party/dav1d/libdav1d/src/data.c /nologo /showIncludes:user "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/ATLMFC/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/VS/include" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/ucrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/um" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/shared" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/winrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/cppwinrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/NETFXSDK/4.8/include/um" -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"llvmorg-16-init-14635-ga650f2ec-1\"" -DCOMPONENT_BUILD -DCR_LIBCXX_REVISION=0b0cecd0dedc81d66df598945b8c286302d8597d -D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1 -D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -DCONFIG_LOG=1 -DDAV1D_API= -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/dav1d/libdav1d -I../../third_party/dav1d/libdav1d/include -I../../third_party/dav1d/libdav1d/include/dav1d -I../../third_party/dav1d/config/win/x64 -I../../third_party/dav1d/version -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200112L -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1916 /Zc:dllexportInlines- -m64 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /Od /Ob0 /GF /Z7 -gno-codeview-command-line -gcodeview-ghash -Xclang -fuse-ctor-homing /guard:cf,nochecks /MDd -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang raw-ref-template-as-trivial-member -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /W3 /wd4800 /wd4267 -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion /std:c11 /TC /Foobj/third_party/dav1d/dav1d/data.obj /Fd"obj/third_party/dav1d/dav1d_c.pdb"
In file included from ../../third_party/dav1d/libdav1d/src/data.c:41:
In file included from ../../third_party/dav1d/libdav1d\src/ref.h:36:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h(15,2): error: <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.

#error <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.
 ^
In file included from ../../third_party/dav1d/libdav1d/src/data.c:41:
In file included from ../../third_party/dav1d/libdav1d\src/ref.h:36:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(29,2): error: Error in C++ Standard Library usage

#error Error in C++ Standard Library usage
 ^
In file included from ../../third_party/dav1d/libdav1d/src/data.c:41:
In file included from ../../third_party/dav1d/libdav1d\src/ref.h:36:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h:437:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(391,2): error: The C++ Standard Library forbids macroizing the keyword "static_assert". Enable warning C4005 to find the forbidden define.

#error The C++ Standard Library forbids macroizing the keyword "static_assert". \
 ^
In file included from ../../third_party/dav1d/libdav1d/src/data.c:41:
In file included from ../../third_party/dav1d/libdav1d\src/ref.h:36:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: unknown type name 'namespace'
_STD_BEGIN
^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,20): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                   ^
In file included from ../../third_party/dav1d/libdav1d/src/data.c:41:
In file included from ../../third_party/dav1d/libdav1d\src/ref.h:36:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: expected ';' after top level declarator
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,34): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                                 ^
In file included from ../../third_party/dav1d/libdav1d/src/data.c:41:
../../third_party/dav1d/libdav1d\src/ref.h(36,10): error: the current #pragma pack alignment value is modified in the included file [-Werror,-Wpragma-pack]
#include <stdatomic.h>
         ^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(20,9): note: previous '#pragma pack' directive that modifies alignment is here
#pragma pack(push, _CRT_PACKING)
        ^
In file included from ../../third_party/dav1d/libdav1d/src/data.c:41:
../../third_party/dav1d/libdav1d\src/ref.h(42,5): error: unknown type name 'atomic_int'
    atomic_int ref_cnt;
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,5): error: call to undeclared function 'atomic_fetch_add_explicit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,49): error: use of undeclared identifier 'memory_order_relaxed'
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
                                                ^
../../third_party/dav1d/libdav1d/src/data.c(41,10): error: the current #pragma pack alignment value is modified in the included file [-Werror,-Wpragma-pack]
#include "src/ref.h"
         ^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(20,9): note: previous '#pragma pack' directive that modifies alignment is here
#pragma pack(push, _CRT_PACKING)
        ^
10 errors generated.
[4/51474] CC obj/third_party/dav1d/dav1d/ref.obj
FAILED: obj/third_party/dav1d/dav1d/ref.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../third_party/dav1d/libdav1d/src/ref.c /nologo /showIncludes:user "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/ATLMFC/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/VS/include" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/ucrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/um" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/shared" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/winrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/cppwinrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/NETFXSDK/4.8/include/um" -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"llvmorg-16-init-14635-ga650f2ec-1\"" -DCOMPONENT_BUILD -DCR_LIBCXX_REVISION=0b0cecd0dedc81d66df598945b8c286302d8597d -D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1 -D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -DCONFIG_LOG=1 -DDAV1D_API= -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/dav1d/libdav1d -I../../third_party/dav1d/libdav1d/include -I../../third_party/dav1d/libdav1d/include/dav1d -I../../third_party/dav1d/config/win/x64 -I../../third_party/dav1d/version -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200112L -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1916 /Zc:dllexportInlines- -m64 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /Od /Ob0 /GF /Z7 -gno-codeview-command-line -gcodeview-ghash -Xclang -fuse-ctor-homing /guard:cf,nochecks /MDd -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang raw-ref-template-as-trivial-member -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /W3 /wd4800 /wd4267 -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion /std:c11 /TC /Foobj/third_party/dav1d/dav1d/ref.obj /Fd"obj/third_party/dav1d/dav1d_c.pdb"
In file included from ../../third_party/dav1d/libdav1d/src/ref.c:30:
In file included from ../../third_party/dav1d/libdav1d\src/ref.h:36:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h(15,2): error: <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.

#error <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.
 ^
In file included from ../../third_party/dav1d/libdav1d/src/ref.c:30:
In file included from ../../third_party/dav1d/libdav1d\src/ref.h:36:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(29,2): error: Error in C++ Standard Library usage

#error Error in C++ Standard Library usage
 ^
In file included from ../../third_party/dav1d/libdav1d/src/ref.c:30:
In file included from ../../third_party/dav1d/libdav1d\src/ref.h:36:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h:437:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(391,2): error: The C++ Standard Library forbids macroizing the keyword "static_assert". Enable warning C4005 to find the forbidden define.

#error The C++ Standard Library forbids macroizing the keyword "static_assert". \
 ^
In file included from ../../third_party/dav1d/libdav1d/src/ref.c:30:
In file included from ../../third_party/dav1d/libdav1d\src/ref.h:36:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: unknown type name 'namespace'
_STD_BEGIN
^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,20): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                   ^
In file included from ../../third_party/dav1d/libdav1d/src/ref.c:30:
In file included from ../../third_party/dav1d/libdav1d\src/ref.h:36:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: expected ';' after top level declarator
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,34): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                                 ^
In file included from ../../third_party/dav1d/libdav1d/src/ref.c:30:
../../third_party/dav1d/libdav1d\src/ref.h(36,10): error: the current #pragma pack alignment value is modified in the included file [-Werror,-Wpragma-pack]
#include <stdatomic.h>
         ^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(20,9): note: previous '#pragma pack' directive that modifies alignment is here
#pragma pack(push, _CRT_PACKING)
        ^
In file included from ../../third_party/dav1d/libdav1d/src/ref.c:30:
../../third_party/dav1d/libdav1d\src/ref.h(42,5): error: unknown type name 'atomic_int'
    atomic_int ref_cnt;
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,5): error: call to undeclared function 'atomic_fetch_add_explicit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,49): error: use of undeclared identifier 'memory_order_relaxed'
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
                                                ^
../../third_party/dav1d/libdav1d/src/ref.c(30,10): error: the current #pragma pack alignment value is modified in the included file [-Werror,-Wpragma-pack]
#include "src/ref.h"
         ^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(20,9): note: previous '#pragma pack' directive that modifies alignment is here
#pragma pack(push, _CRT_PACKING)
        ^
../../third_party/dav1d/libdav1d/src/ref.c(45,5): error: call to undeclared function 'atomic_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    atomic_init(&res->ref_cnt, 1);
    ^
../../third_party/dav1d/libdav1d/src/ref.c(66,5): error: call to undeclared function 'atomic_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    atomic_init(&res->ref_cnt, 1);
    ^
../../third_party/dav1d/libdav1d/src/ref.c(83,5): error: call to undeclared function 'atomic_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    atomic_init(&res->ref_cnt, 1);
    ^
../../third_party/dav1d/libdav1d/src/ref.c(98,9): error: call to undeclared function 'atomic_fetch_sub'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    if (atomic_fetch_sub(&ref->ref_cnt, 1) == 1) {
        ^
../../third_party/dav1d/libdav1d/src/ref.c(106,12): error: call to undeclared function 'atomic_load'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    return atomic_load(&ref->ref_cnt) == 1 && ref->data;
           ^
15 errors generated.
[5/51474] CC obj/third_party/dav1d/dav1d/mem.obj
FAILED: obj/third_party/dav1d/dav1d/mem.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../third_party/dav1d/libdav1d/src/mem.c /nologo /showIncludes:user "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/ATLMFC/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/VS/include" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/ucrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/um" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/shared" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/winrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/cppwinrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/NETFXSDK/4.8/include/um" -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"llvmorg-16-init-14635-ga650f2ec-1\"" -DCOMPONENT_BUILD -DCR_LIBCXX_REVISION=0b0cecd0dedc81d66df598945b8c286302d8597d -D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1 -D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -DCONFIG_LOG=1 -DDAV1D_API= -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/dav1d/libdav1d -I../../third_party/dav1d/libdav1d/include -I../../third_party/dav1d/libdav1d/include/dav1d -I../../third_party/dav1d/config/win/x64 -I../../third_party/dav1d/version -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200112L -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1916 /Zc:dllexportInlines- -m64 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /Od /Ob0 /GF /Z7 -gno-codeview-command-line -gcodeview-ghash -Xclang -fuse-ctor-homing /guard:cf,nochecks /MDd -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang raw-ref-template-as-trivial-member -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /W3 /wd4800 /wd4267 -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion /std:c11 /TC /Foobj/third_party/dav1d/dav1d/mem.obj /Fd"obj/third_party/dav1d/dav1d_c.pdb"
In file included from ../../third_party/dav1d/libdav1d/src/mem.c:32:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h(15,2): error: <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.

#error <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.
 ^
In file included from ../../third_party/dav1d/libdav1d/src/mem.c:32:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(29,2): error: Error in C++ Standard Library usage

#error Error in C++ Standard Library usage
 ^
In file included from ../../third_party/dav1d/libdav1d/src/mem.c:32:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: unknown type name 'namespace'
_STD_BEGIN
^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,20): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                   ^
In file included from ../../third_party/dav1d/libdav1d/src/mem.c:32:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: expected ';' after top level declarator
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,34): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                                 ^
In file included from ../../third_party/dav1d/libdav1d/src/mem.c:32:
../../third_party/dav1d/libdav1d\src/internal.h(31,10): error: the current #pragma pack alignment value is modified in the included file [-Werror,-Wpragma-pack]
#include <stdatomic.h>
         ^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(20,9): note: previous '#pragma pack' directive that modifies alignment is here
#pragma pack(push, _CRT_PACKING)
        ^
In file included from ../../third_party/dav1d/libdav1d/src/mem.c:32:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
In file included from ../../third_party/dav1d/libdav1d\src/cdf.h:34:
../../third_party/dav1d/libdav1d\src/ref.h(42,5): error: unknown type name 'atomic_int'
    atomic_int ref_cnt;
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,5): error: call to undeclared function 'atomic_fetch_add_explicit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,49): error: use of undeclared identifier 'memory_order_relaxed'
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
                                                ^
In file included from ../../third_party/dav1d/libdav1d/src/mem.c:32:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
../../third_party/dav1d/libdav1d\src/cdf.h(138,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/mem.c:32:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:56:
../../third_party/dav1d/libdav1d\src/picture.h(62,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/mem.c:32:
../../third_party/dav1d/libdav1d\src/internal.h(124,5): error: unknown type name 'atomic_int'
    atomic_int flush_mem, *flush;
    ^
../../third_party/dav1d/libdav1d\src/internal.h(134,9): error: unknown type name 'atomic_uint'
        atomic_uint first;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(140,9): error: unknown type name 'atomic_uint'
        atomic_uint reset_task_cur;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(141,9): error: unknown type name 'atomic_int'
        atomic_int cond_signaled;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(148,13): error: unknown type name 'atomic_int'
            atomic_int progress[2]; /* [0]=started, [1]=completed */
            ^
../../third_party/dav1d/libdav1d\src/internal.h(279,9): error: unknown type name 'atomic_int'
        atomic_int entropy_progress;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(280,9): error: unknown type name 'atomic_int'
        atomic_int deblock_progress; // in sby units
        ^
../../third_party/dav1d/libdav1d\src/internal.h(281,9): error: unknown type name 'atomic_uint'
        atomic_uint *frame_progress, *copy_lpf_progress;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(333,9): error: unknown type name 'atomic_int'
        atomic_int init_done;
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[6/51474] CC obj/third_party/dav1d/dav1d/picture.obj
FAILED: obj/third_party/dav1d/dav1d/picture.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../third_party/dav1d/libdav1d/src/picture.c /nologo /showIncludes:user "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/ATLMFC/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/VS/include" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/ucrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/um" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/shared" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/winrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/cppwinrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/NETFXSDK/4.8/include/um" -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"llvmorg-16-init-14635-ga650f2ec-1\"" -DCOMPONENT_BUILD -DCR_LIBCXX_REVISION=0b0cecd0dedc81d66df598945b8c286302d8597d -D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1 -D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -DCONFIG_LOG=1 -DDAV1D_API= -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/dav1d/libdav1d -I../../third_party/dav1d/libdav1d/include -I../../third_party/dav1d/libdav1d/include/dav1d -I../../third_party/dav1d/config/win/x64 -I../../third_party/dav1d/version -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200112L -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1916 /Zc:dllexportInlines- -m64 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /Od /Ob0 /GF /Z7 -gno-codeview-command-line -gcodeview-ghash -Xclang -fuse-ctor-homing /guard:cf,nochecks /MDd -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang raw-ref-template-as-trivial-member -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /W3 /wd4800 /wd4267 -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion /std:c11 /TC /Foobj/third_party/dav1d/dav1d/picture.obj /Fd"obj/third_party/dav1d/dav1d_c.pdb"
In file included from ../../third_party/dav1d/libdav1d/src/picture.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h(15,2): error: <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.

#error <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.
 ^
In file included from ../../third_party/dav1d/libdav1d/src/picture.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(29,2): error: Error in C++ Standard Library usage

#error Error in C++ Standard Library usage
 ^
In file included from ../../third_party/dav1d/libdav1d/src/picture.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h:437:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(391,2): error: The C++ Standard Library forbids macroizing the keyword "static_assert". Enable warning C4005 to find the forbidden define.

#error The C++ Standard Library forbids macroizing the keyword "static_assert". \
 ^
In file included from ../../third_party/dav1d/libdav1d/src/picture.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: unknown type name 'namespace'
_STD_BEGIN
^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,20): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                   ^
In file included from ../../third_party/dav1d/libdav1d/src/picture.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: expected ';' after top level declarator
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,34): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                                 ^
In file included from ../../third_party/dav1d/libdav1d/src/picture.c:39:
../../third_party/dav1d/libdav1d\src/internal.h(31,10): error: the current #pragma pack alignment value is modified in the included file [-Werror,-Wpragma-pack]
#include <stdatomic.h>
         ^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(20,9): note: previous '#pragma pack' directive that modifies alignment is here
#pragma pack(push, _CRT_PACKING)
        ^
In file included from ../../third_party/dav1d/libdav1d/src/picture.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
In file included from ../../third_party/dav1d/libdav1d\src/cdf.h:34:
../../third_party/dav1d/libdav1d\src/ref.h(42,5): error: unknown type name 'atomic_int'
    atomic_int ref_cnt;
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,5): error: call to undeclared function 'atomic_fetch_add_explicit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,49): error: use of undeclared identifier 'memory_order_relaxed'
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
                                                ^
In file included from ../../third_party/dav1d/libdav1d/src/picture.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
../../third_party/dav1d/libdav1d\src/cdf.h(138,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/picture.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:56:
../../third_party/dav1d/libdav1d\src/picture.h(62,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/picture.c:39:
../../third_party/dav1d/libdav1d\src/internal.h(124,5): error: unknown type name 'atomic_int'
    atomic_int flush_mem, *flush;
    ^
../../third_party/dav1d/libdav1d\src/internal.h(134,9): error: unknown type name 'atomic_uint'
        atomic_uint first;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(140,9): error: unknown type name 'atomic_uint'
        atomic_uint reset_task_cur;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(141,9): error: unknown type name 'atomic_int'
        atomic_int cond_signaled;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(148,13): error: unknown type name 'atomic_int'
            atomic_int progress[2]; /* [0]=started, [1]=completed */
            ^
../../third_party/dav1d/libdav1d\src/internal.h(279,9): error: unknown type name 'atomic_int'
        atomic_int entropy_progress;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(280,9): error: unknown type name 'atomic_int'
        atomic_int deblock_progress; // in sby units
        ^
../../third_party/dav1d/libdav1d\src/internal.h(281,9): error: unknown type name 'atomic_uint'
        atomic_uint *frame_progress, *copy_lpf_progress;
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[7/51474] CC obj/third_party/dav1d/dav1d_8bit/lf_apply_tmpl.obj
FAILED: obj/third_party/dav1d/dav1d_8bit/lf_apply_tmpl.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c /nologo /showIncludes:user "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/ATLMFC/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/VS/include" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/ucrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/um" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/shared" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/winrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/cppwinrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/NETFXSDK/4.8/include/um" -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"llvmorg-16-init-14635-ga650f2ec-1\"" -DCOMPONENT_BUILD -DCR_LIBCXX_REVISION=0b0cecd0dedc81d66df598945b8c286302d8597d -D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1 -D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -DCONFIG_LOG=1 -DDAV1D_API= -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/dav1d/libdav1d -I../../third_party/dav1d/libdav1d/include -I../../third_party/dav1d/libdav1d/include/dav1d -I../../third_party/dav1d/config/win/x64 -I../../third_party/dav1d/version -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200112L -DBITDEPTH=8 -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1916 /Zc:dllexportInlines- -m64 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /Od /Ob0 /GF /Z7 -gno-codeview-command-line -gcodeview-ghash -Xclang -fuse-ctor-homing /guard:cf,nochecks /MDd -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang raw-ref-template-as-trivial-member -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /W3 /wd4800 /wd4267 -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion /std:c11 /TC /Foobj/third_party/dav1d/dav1d_8bit/lf_apply_tmpl.obj /Fd"obj/third_party/dav1d/dav1d_8bit_c.pdb"
In file included from ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lf_apply.h:35:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h(15,2): error: <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.

#error <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.
 ^
In file included from ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lf_apply.h:35:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(29,2): error: Error in C++ Standard Library usage

#error Error in C++ Standard Library usage
 ^
In file included from ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lf_apply.h:35:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h:437:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(391,2): error: The C++ Standard Library forbids macroizing the keyword "static_assert". Enable warning C4005 to find the forbidden define.

#error The C++ Standard Library forbids macroizing the keyword "static_assert". \
 ^
In file included from ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lf_apply.h:35:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: unknown type name 'namespace'
_STD_BEGIN
^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,20): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                   ^
In file included from ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lf_apply.h:35:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: expected ';' after top level declarator
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,34): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                                 ^
In file included from ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lf_apply.h:35:
../../third_party/dav1d/libdav1d\src/internal.h(31,10): error: the current #pragma pack alignment value is modified in the included file [-Werror,-Wpragma-pack]
#include <stdatomic.h>
         ^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(20,9): note: previous '#pragma pack' directive that modifies alignment is here
#pragma pack(push, _CRT_PACKING)
        ^
In file included from ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lf_apply.h:35:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
In file included from ../../third_party/dav1d/libdav1d\src/cdf.h:34:
../../third_party/dav1d/libdav1d\src/ref.h(42,5): error: unknown type name 'atomic_int'
    atomic_int ref_cnt;
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,5): error: call to undeclared function 'atomic_fetch_add_explicit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,49): error: use of undeclared identifier 'memory_order_relaxed'
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
                                                ^
In file included from ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lf_apply.h:35:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
../../third_party/dav1d/libdav1d\src/cdf.h(138,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lf_apply.h:35:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:56:
../../third_party/dav1d/libdav1d\src/picture.h(62,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lf_apply.h:35:
../../third_party/dav1d/libdav1d\src/internal.h(124,5): error: unknown type name 'atomic_int'
    atomic_int flush_mem, *flush;
    ^
../../third_party/dav1d/libdav1d\src/internal.h(134,9): error: unknown type name 'atomic_uint'
        atomic_uint first;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(140,9): error: unknown type name 'atomic_uint'
        atomic_uint reset_task_cur;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(141,9): error: unknown type name 'atomic_int'
        atomic_int cond_signaled;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(148,13): error: unknown type name 'atomic_int'
            atomic_int progress[2]; /* [0]=started, [1]=completed */
            ^
../../third_party/dav1d/libdav1d\src/internal.h(279,9): error: unknown type name 'atomic_int'
        atomic_int entropy_progress;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(280,9): error: unknown type name 'atomic_int'
        atomic_int deblock_progress; // in sby units
        ^
../../third_party/dav1d/libdav1d\src/internal.h(281,9): error: unknown type name 'atomic_uint'
        atomic_uint *frame_progress, *copy_lpf_progress;
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[8/51474] CC obj/third_party/dav1d/dav1d/obu.obj
FAILED: obj/third_party/dav1d/dav1d/obu.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../third_party/dav1d/libdav1d/src/obu.c /nologo /showIncludes:user "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/ATLMFC/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/VS/include" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/ucrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/um" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/shared" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/winrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/cppwinrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/NETFXSDK/4.8/include/um" -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"llvmorg-16-init-14635-ga650f2ec-1\"" -DCOMPONENT_BUILD -DCR_LIBCXX_REVISION=0b0cecd0dedc81d66df598945b8c286302d8597d -D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1 -D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -DCONFIG_LOG=1 -DDAV1D_API= -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/dav1d/libdav1d -I../../third_party/dav1d/libdav1d/include -I../../third_party/dav1d/libdav1d/include/dav1d -I../../third_party/dav1d/config/win/x64 -I../../third_party/dav1d/version -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200112L -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1916 /Zc:dllexportInlines- -m64 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /Od /Ob0 /GF /Z7 -gno-codeview-command-line -gcodeview-ghash -Xclang -fuse-ctor-homing /guard:cf,nochecks /MDd -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang raw-ref-template-as-trivial-member -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /W3 /wd4800 /wd4267 -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion /std:c11 /TC /Foobj/third_party/dav1d/dav1d/obu.obj /Fd"obj/third_party/dav1d/dav1d_c.pdb"
In file included from ../../third_party/dav1d/libdav1d/src/obu.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/decode.h:31:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h(15,2): error: <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.

#error <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.
 ^
In file included from ../../third_party/dav1d/libdav1d/src/obu.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/decode.h:31:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(29,2): error: Error in C++ Standard Library usage

#error Error in C++ Standard Library usage
 ^
In file included from ../../third_party/dav1d/libdav1d/src/obu.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/decode.h:31:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h:437:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(391,2): error: The C++ Standard Library forbids macroizing the keyword "static_assert". Enable warning C4005 to find the forbidden define.

#error The C++ Standard Library forbids macroizing the keyword "static_assert". \
 ^
In file included from ../../third_party/dav1d/libdav1d/src/obu.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/decode.h:31:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: unknown type name 'namespace'
_STD_BEGIN
^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,20): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                   ^
In file included from ../../third_party/dav1d/libdav1d/src/obu.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/decode.h:31:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: expected ';' after top level declarator
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,34): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                                 ^
In file included from ../../third_party/dav1d/libdav1d/src/obu.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/decode.h:31:
../../third_party/dav1d/libdav1d\src/internal.h(31,10): error: the current #pragma pack alignment value is modified in the included file [-Werror,-Wpragma-pack]
#include <stdatomic.h>
         ^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(20,9): note: previous '#pragma pack' directive that modifies alignment is here
#pragma pack(push, _CRT_PACKING)
        ^
In file included from ../../third_party/dav1d/libdav1d/src/obu.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/decode.h:31:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
In file included from ../../third_party/dav1d/libdav1d\src/cdf.h:34:
../../third_party/dav1d/libdav1d\src/ref.h(42,5): error: unknown type name 'atomic_int'
    atomic_int ref_cnt;
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,5): error: call to undeclared function 'atomic_fetch_add_explicit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,49): error: use of undeclared identifier 'memory_order_relaxed'
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
                                                ^
In file included from ../../third_party/dav1d/libdav1d/src/obu.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/decode.h:31:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
../../third_party/dav1d/libdav1d\src/cdf.h(138,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/obu.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/decode.h:31:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:56:
../../third_party/dav1d/libdav1d\src/picture.h(62,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/obu.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/decode.h:31:
../../third_party/dav1d/libdav1d\src/internal.h(124,5): error: unknown type name 'atomic_int'
    atomic_int flush_mem, *flush;
    ^
../../third_party/dav1d/libdav1d\src/internal.h(134,9): error: unknown type name 'atomic_uint'
        atomic_uint first;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(140,9): error: unknown type name 'atomic_uint'
        atomic_uint reset_task_cur;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(141,9): error: unknown type name 'atomic_int'
        atomic_int cond_signaled;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(148,13): error: unknown type name 'atomic_int'
            atomic_int progress[2]; /* [0]=started, [1]=completed */
            ^
../../third_party/dav1d/libdav1d\src/internal.h(279,9): error: unknown type name 'atomic_int'
        atomic_int entropy_progress;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(280,9): error: unknown type name 'atomic_int'
        atomic_int deblock_progress; // in sby units
        ^
../../third_party/dav1d/libdav1d\src/internal.h(281,9): error: unknown type name 'atomic_uint'
        atomic_uint *frame_progress, *copy_lpf_progress;
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[9/51474] CC obj/third_party/dav1d/dav1d_10bit/lf_apply_tmpl.obj
FAILED: obj/third_party/dav1d/dav1d_10bit/lf_apply_tmpl.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c /nologo /showIncludes:user "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/ATLMFC/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/VS/include" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/ucrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/um" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/shared" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/winrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/cppwinrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/NETFXSDK/4.8/include/um" -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"llvmorg-16-init-14635-ga650f2ec-1\"" -DCOMPONENT_BUILD -DCR_LIBCXX_REVISION=0b0cecd0dedc81d66df598945b8c286302d8597d -D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1 -D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -DCONFIG_LOG=1 -DDAV1D_API= -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/dav1d/libdav1d -I../../third_party/dav1d/libdav1d/include -I../../third_party/dav1d/libdav1d/include/dav1d -I../../third_party/dav1d/config/win/x64 -I../../third_party/dav1d/version -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200112L -DBITDEPTH=16 -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1916 /Zc:dllexportInlines- -m64 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /Od /Ob0 /GF /Z7 -gno-codeview-command-line -gcodeview-ghash -Xclang -fuse-ctor-homing /guard:cf,nochecks /MDd -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang raw-ref-template-as-trivial-member -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /W3 /wd4800 /wd4267 -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion /std:c11 /TC /Foobj/third_party/dav1d/dav1d_10bit/lf_apply_tmpl.obj /Fd"obj/third_party/dav1d/dav1d_10bit_c.pdb"
In file included from ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lf_apply.h:35:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h(15,2): error: <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.

#error <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.
 ^
In file included from ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lf_apply.h:35:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(29,2): error: Error in C++ Standard Library usage

#error Error in C++ Standard Library usage
 ^
In file included from ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lf_apply.h:35:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h:437:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(391,2): error: The C++ Standard Library forbids macroizing the keyword "static_assert". Enable warning C4005 to find the forbidden define.

#error The C++ Standard Library forbids macroizing the keyword "static_assert". \
 ^
In file included from ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lf_apply.h:35:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: unknown type name 'namespace'
_STD_BEGIN
^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,20): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                   ^
In file included from ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lf_apply.h:35:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: expected ';' after top level declarator
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,34): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                                 ^
In file included from ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lf_apply.h:35:
../../third_party/dav1d/libdav1d\src/internal.h(31,10): error: the current #pragma pack alignment value is modified in the included file [-Werror,-Wpragma-pack]
#include <stdatomic.h>
         ^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(20,9): note: previous '#pragma pack' directive that modifies alignment is here
#pragma pack(push, _CRT_PACKING)
        ^
In file included from ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lf_apply.h:35:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
In file included from ../../third_party/dav1d/libdav1d\src/cdf.h:34:
../../third_party/dav1d/libdav1d\src/ref.h(42,5): error: unknown type name 'atomic_int'
    atomic_int ref_cnt;
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,5): error: call to undeclared function 'atomic_fetch_add_explicit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,49): error: use of undeclared identifier 'memory_order_relaxed'
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
                                                ^
In file included from ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lf_apply.h:35:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
../../third_party/dav1d/libdav1d\src/cdf.h(138,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lf_apply.h:35:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:56:
../../third_party/dav1d/libdav1d\src/picture.h(62,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/lf_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lf_apply.h:35:
../../third_party/dav1d/libdav1d\src/internal.h(124,5): error: unknown type name 'atomic_int'
    atomic_int flush_mem, *flush;
    ^
../../third_party/dav1d/libdav1d\src/internal.h(134,9): error: unknown type name 'atomic_uint'
        atomic_uint first;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(140,9): error: unknown type name 'atomic_uint'
        atomic_uint reset_task_cur;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(141,9): error: unknown type name 'atomic_int'
        atomic_int cond_signaled;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(148,13): error: unknown type name 'atomic_int'
            atomic_int progress[2]; /* [0]=started, [1]=completed */
            ^
../../third_party/dav1d/libdav1d\src/internal.h(279,9): error: unknown type name 'atomic_int'
        atomic_int entropy_progress;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(280,9): error: unknown type name 'atomic_int'
        atomic_int deblock_progress; // in sby units
        ^
../../third_party/dav1d/libdav1d\src/internal.h(281,9): error: unknown type name 'atomic_uint'
        atomic_uint *frame_progress, *copy_lpf_progress;
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[10/51474] CC obj/third_party/dav1d/dav1d_10bit/lr_apply_tmpl.obj
FAILED: obj/third_party/dav1d/dav1d_10bit/lr_apply_tmpl.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../third_party/dav1d/libdav1d/src/lr_apply_tmpl.c /nologo /showIncludes:user "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/ATLMFC/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/VS/include" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/ucrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/um" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/shared" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/winrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/cppwinrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/NETFXSDK/4.8/include/um" -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"llvmorg-16-init-14635-ga650f2ec-1\"" -DCOMPONENT_BUILD -DCR_LIBCXX_REVISION=0b0cecd0dedc81d66df598945b8c286302d8597d -D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1 -D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -DCONFIG_LOG=1 -DDAV1D_API= -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/dav1d/libdav1d -I../../third_party/dav1d/libdav1d/include -I../../third_party/dav1d/libdav1d/include/dav1d -I../../third_party/dav1d/config/win/x64 -I../../third_party/dav1d/version -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200112L -DBITDEPTH=16 -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1916 /Zc:dllexportInlines- -m64 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /Od /Ob0 /GF /Z7 -gno-codeview-command-line -gcodeview-ghash -Xclang -fuse-ctor-homing /guard:cf,nochecks /MDd -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang raw-ref-template-as-trivial-member -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /W3 /wd4800 /wd4267 -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion /std:c11 /TC /Foobj/third_party/dav1d/dav1d_10bit/lr_apply_tmpl.obj /Fd"obj/third_party/dav1d/dav1d_10bit_c.pdb"
In file included from ../../third_party/dav1d/libdav1d/src/lr_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lr_apply.h:36:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h(15,2): error: <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.

#error <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.
 ^
In file included from ../../third_party/dav1d/libdav1d/src/lr_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lr_apply.h:36:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(29,2): error: Error in C++ Standard Library usage

#error Error in C++ Standard Library usage
 ^
In file included from ../../third_party/dav1d/libdav1d/src/lr_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lr_apply.h:36:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h:437:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(391,2): error: The C++ Standard Library forbids macroizing the keyword "static_assert". Enable warning C4005 to find the forbidden define.

#error The C++ Standard Library forbids macroizing the keyword "static_assert". \
 ^
In file included from ../../third_party/dav1d/libdav1d/src/lr_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lr_apply.h:36:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: unknown type name 'namespace'
_STD_BEGIN
^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,20): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                   ^
In file included from ../../third_party/dav1d/libdav1d/src/lr_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lr_apply.h:36:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: expected ';' after top level declarator
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,34): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                                 ^
In file included from ../../third_party/dav1d/libdav1d/src/lr_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lr_apply.h:36:
../../third_party/dav1d/libdav1d\src/internal.h(31,10): error: the current #pragma pack alignment value is modified in the included file [-Werror,-Wpragma-pack]
#include <stdatomic.h>
         ^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(20,9): note: previous '#pragma pack' directive that modifies alignment is here
#pragma pack(push, _CRT_PACKING)
        ^
In file included from ../../third_party/dav1d/libdav1d/src/lr_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lr_apply.h:36:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
In file included from ../../third_party/dav1d/libdav1d\src/cdf.h:34:
../../third_party/dav1d/libdav1d\src/ref.h(42,5): error: unknown type name 'atomic_int'
    atomic_int ref_cnt;
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,5): error: call to undeclared function 'atomic_fetch_add_explicit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,49): error: use of undeclared identifier 'memory_order_relaxed'
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
                                                ^
In file included from ../../third_party/dav1d/libdav1d/src/lr_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lr_apply.h:36:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
../../third_party/dav1d/libdav1d\src/cdf.h(138,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/lr_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lr_apply.h:36:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:56:
../../third_party/dav1d/libdav1d\src/picture.h(62,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/lr_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/lr_apply.h:36:
../../third_party/dav1d/libdav1d\src/internal.h(124,5): error: unknown type name 'atomic_int'
    atomic_int flush_mem, *flush;
    ^
../../third_party/dav1d/libdav1d\src/internal.h(134,9): error: unknown type name 'atomic_uint'
        atomic_uint first;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(140,9): error: unknown type name 'atomic_uint'
        atomic_uint reset_task_cur;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(141,9): error: unknown type name 'atomic_int'
        atomic_int cond_signaled;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(148,13): error: unknown type name 'atomic_int'
            atomic_int progress[2]; /* [0]=started, [1]=completed */
            ^
../../third_party/dav1d/libdav1d\src/internal.h(279,9): error: unknown type name 'atomic_int'
        atomic_int entropy_progress;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(280,9): error: unknown type name 'atomic_int'
        atomic_int deblock_progress; // in sby units
        ^
../../third_party/dav1d/libdav1d\src/internal.h(281,9): error: unknown type name 'atomic_uint'
        atomic_uint *frame_progress, *copy_lpf_progress;
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[11/51474] CC obj/third_party/dav1d/dav1d/log.obj
FAILED: obj/third_party/dav1d/dav1d/log.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../third_party/dav1d/libdav1d/src/log.c /nologo /showIncludes:user "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/ATLMFC/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/VS/include" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/ucrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/um" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/shared" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/winrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/cppwinrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/NETFXSDK/4.8/include/um" -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"llvmorg-16-init-14635-ga650f2ec-1\"" -DCOMPONENT_BUILD -DCR_LIBCXX_REVISION=0b0cecd0dedc81d66df598945b8c286302d8597d -D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1 -D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -DCONFIG_LOG=1 -DDAV1D_API= -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/dav1d/libdav1d -I../../third_party/dav1d/libdav1d/include -I../../third_party/dav1d/libdav1d/include/dav1d -I../../third_party/dav1d/config/win/x64 -I../../third_party/dav1d/version -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200112L -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1916 /Zc:dllexportInlines- -m64 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /Od /Ob0 /GF /Z7 -gno-codeview-command-line -gcodeview-ghash -Xclang -fuse-ctor-homing /guard:cf,nochecks /MDd -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang raw-ref-template-as-trivial-member -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /W3 /wd4800 /wd4267 -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion /std:c11 /TC /Foobj/third_party/dav1d/dav1d/log.obj /Fd"obj/third_party/dav1d/dav1d_c.pdb"
In file included from ../../third_party/dav1d/libdav1d/src/log.c:36:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h(15,2): error: <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.

#error <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.
 ^
In file included from ../../third_party/dav1d/libdav1d/src/log.c:36:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(29,2): error: Error in C++ Standard Library usage

#error Error in C++ Standard Library usage
 ^
In file included from ../../third_party/dav1d/libdav1d/src/log.c:36:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: unknown type name 'namespace'
_STD_BEGIN
^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,20): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                   ^
In file included from ../../third_party/dav1d/libdav1d/src/log.c:36:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: expected ';' after top level declarator
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,34): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                                 ^
In file included from ../../third_party/dav1d/libdav1d/src/log.c:36:
../../third_party/dav1d/libdav1d\src/internal.h(31,10): error: the current #pragma pack alignment value is modified in the included file [-Werror,-Wpragma-pack]
#include <stdatomic.h>
         ^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(20,9): note: previous '#pragma pack' directive that modifies alignment is here
#pragma pack(push, _CRT_PACKING)
        ^
In file included from ../../third_party/dav1d/libdav1d/src/log.c:36:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
In file included from ../../third_party/dav1d/libdav1d\src/cdf.h:34:
../../third_party/dav1d/libdav1d\src/ref.h(42,5): error: unknown type name 'atomic_int'
    atomic_int ref_cnt;
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,5): error: call to undeclared function 'atomic_fetch_add_explicit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,49): error: use of undeclared identifier 'memory_order_relaxed'
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
                                                ^
In file included from ../../third_party/dav1d/libdav1d/src/log.c:36:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
../../third_party/dav1d/libdav1d\src/cdf.h(138,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/log.c:36:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:56:
../../third_party/dav1d/libdav1d\src/picture.h(62,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/log.c:36:
../../third_party/dav1d/libdav1d\src/internal.h(124,5): error: unknown type name 'atomic_int'
    atomic_int flush_mem, *flush;
    ^
../../third_party/dav1d/libdav1d\src/internal.h(134,9): error: unknown type name 'atomic_uint'
        atomic_uint first;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(140,9): error: unknown type name 'atomic_uint'
        atomic_uint reset_task_cur;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(141,9): error: unknown type name 'atomic_int'
        atomic_int cond_signaled;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(148,13): error: unknown type name 'atomic_int'
            atomic_int progress[2]; /* [0]=started, [1]=completed */
            ^
../../third_party/dav1d/libdav1d\src/internal.h(279,9): error: unknown type name 'atomic_int'
        atomic_int entropy_progress;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(280,9): error: unknown type name 'atomic_int'
        atomic_int deblock_progress; // in sby units
        ^
../../third_party/dav1d/libdav1d\src/internal.h(281,9): error: unknown type name 'atomic_uint'
        atomic_uint *frame_progress, *copy_lpf_progress;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(333,9): error: unknown type name 'atomic_int'
        atomic_int init_done;
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[12/51474] CC obj/third_party/dav1d/dav1d/decode.obj
FAILED: obj/third_party/dav1d/dav1d/decode.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../third_party/dav1d/libdav1d/src/decode.c /nologo /showIncludes:user "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/ATLMFC/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/VS/include" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/ucrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/um" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/shared" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/winrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/cppwinrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/NETFXSDK/4.8/include/um" -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"llvmorg-16-init-14635-ga650f2ec-1\"" -DCOMPONENT_BUILD -DCR_LIBCXX_REVISION=0b0cecd0dedc81d66df598945b8c286302d8597d -D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1 -D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -DCONFIG_LOG=1 -DDAV1D_API= -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/dav1d/libdav1d -I../../third_party/dav1d/libdav1d/include -I../../third_party/dav1d/libdav1d/include/dav1d -I../../third_party/dav1d/config/win/x64 -I../../third_party/dav1d/version -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200112L -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1916 /Zc:dllexportInlines- -m64 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /Od /Ob0 /GF /Z7 -gno-codeview-command-line -gcodeview-ghash -Xclang -fuse-ctor-homing /guard:cf,nochecks /MDd -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang raw-ref-template-as-trivial-member -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /W3 /wd4800 /wd4267 -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion /std:c11 /TC /Foobj/third_party/dav1d/dav1d/decode.obj /Fd"obj/third_party/dav1d/dav1d_c.pdb"
In file included from ../../third_party/dav1d/libdav1d/src/decode.c:42:
In file included from ../../third_party/dav1d/libdav1d\src/decode.h:31:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h(15,2): error: <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.

#error <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.
 ^
In file included from ../../third_party/dav1d/libdav1d/src/decode.c:42:
In file included from ../../third_party/dav1d/libdav1d\src/decode.h:31:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(29,2): error: Error in C++ Standard Library usage

#error Error in C++ Standard Library usage
 ^
In file included from ../../third_party/dav1d/libdav1d/src/decode.c:42:
In file included from ../../third_party/dav1d/libdav1d\src/decode.h:31:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h:437:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(391,2): error: The C++ Standard Library forbids macroizing the keyword "static_assert". Enable warning C4005 to find the forbidden define.

#error The C++ Standard Library forbids macroizing the keyword "static_assert". \
 ^
In file included from ../../third_party/dav1d/libdav1d/src/decode.c:42:
In file included from ../../third_party/dav1d/libdav1d\src/decode.h:31:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: unknown type name 'namespace'
_STD_BEGIN
^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,20): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                   ^
In file included from ../../third_party/dav1d/libdav1d/src/decode.c:42:
In file included from ../../third_party/dav1d/libdav1d\src/decode.h:31:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: expected ';' after top level declarator
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,34): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                                 ^
In file included from ../../third_party/dav1d/libdav1d/src/decode.c:42:
In file included from ../../third_party/dav1d/libdav1d\src/decode.h:31:
../../third_party/dav1d/libdav1d\src/internal.h(31,10): error: the current #pragma pack alignment value is modified in the included file [-Werror,-Wpragma-pack]
#include <stdatomic.h>
         ^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(20,9): note: previous '#pragma pack' directive that modifies alignment is here
#pragma pack(push, _CRT_PACKING)
        ^
In file included from ../../third_party/dav1d/libdav1d/src/decode.c:42:
In file included from ../../third_party/dav1d/libdav1d\src/decode.h:31:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
In file included from ../../third_party/dav1d/libdav1d\src/cdf.h:34:
../../third_party/dav1d/libdav1d\src/ref.h(42,5): error: unknown type name 'atomic_int'
    atomic_int ref_cnt;
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,5): error: call to undeclared function 'atomic_fetch_add_explicit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,49): error: use of undeclared identifier 'memory_order_relaxed'
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
                                                ^
In file included from ../../third_party/dav1d/libdav1d/src/decode.c:42:
In file included from ../../third_party/dav1d/libdav1d\src/decode.h:31:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
../../third_party/dav1d/libdav1d\src/cdf.h(138,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/decode.c:42:
In file included from ../../third_party/dav1d/libdav1d\src/decode.h:31:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:56:
../../third_party/dav1d/libdav1d\src/picture.h(62,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/decode.c:42:
In file included from ../../third_party/dav1d/libdav1d\src/decode.h:31:
../../third_party/dav1d/libdav1d\src/internal.h(124,5): error: unknown type name 'atomic_int'
    atomic_int flush_mem, *flush;
    ^
../../third_party/dav1d/libdav1d\src/internal.h(134,9): error: unknown type name 'atomic_uint'
        atomic_uint first;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(140,9): error: unknown type name 'atomic_uint'
        atomic_uint reset_task_cur;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(141,9): error: unknown type name 'atomic_int'
        atomic_int cond_signaled;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(148,13): error: unknown type name 'atomic_int'
            atomic_int progress[2]; /* [0]=started, [1]=completed */
            ^
../../third_party/dav1d/libdav1d\src/internal.h(279,9): error: unknown type name 'atomic_int'
        atomic_int entropy_progress;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(280,9): error: unknown type name 'atomic_int'
        atomic_int deblock_progress; // in sby units
        ^
../../third_party/dav1d/libdav1d\src/internal.h(281,9): error: unknown type name 'atomic_uint'
        atomic_uint *frame_progress, *copy_lpf_progress;
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[13/51474] CC obj/third_party/dav1d/dav1d_10bit/cdef_apply_tmpl.obj
FAILED: obj/third_party/dav1d/dav1d_10bit/cdef_apply_tmpl.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../third_party/dav1d/libdav1d/src/cdef_apply_tmpl.c /nologo /showIncludes:user "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/ATLMFC/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/VS/include" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/ucrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/um" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/shared" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/winrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/cppwinrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/NETFXSDK/4.8/include/um" -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"llvmorg-16-init-14635-ga650f2ec-1\"" -DCOMPONENT_BUILD -DCR_LIBCXX_REVISION=0b0cecd0dedc81d66df598945b8c286302d8597d -D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1 -D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -DCONFIG_LOG=1 -DDAV1D_API= -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/dav1d/libdav1d -I../../third_party/dav1d/libdav1d/include -I../../third_party/dav1d/libdav1d/include/dav1d -I../../third_party/dav1d/config/win/x64 -I../../third_party/dav1d/version -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200112L -DBITDEPTH=16 -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1916 /Zc:dllexportInlines- -m64 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /Od /Ob0 /GF /Z7 -gno-codeview-command-line -gcodeview-ghash -Xclang -fuse-ctor-homing /guard:cf,nochecks /MDd -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang raw-ref-template-as-trivial-member -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /W3 /wd4800 /wd4267 -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion /std:c11 /TC /Foobj/third_party/dav1d/dav1d_10bit/cdef_apply_tmpl.obj /Fd"obj/third_party/dav1d/dav1d_10bit_c.pdb"
In file included from ../../third_party/dav1d/libdav1d/src/cdef_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/cdef_apply.h:33:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h(15,2): error: <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.

#error <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.
 ^
In file included from ../../third_party/dav1d/libdav1d/src/cdef_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/cdef_apply.h:33:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(29,2): error: Error in C++ Standard Library usage

#error Error in C++ Standard Library usage
 ^
In file included from ../../third_party/dav1d/libdav1d/src/cdef_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/cdef_apply.h:33:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h:437:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(391,2): error: The C++ Standard Library forbids macroizing the keyword "static_assert". Enable warning C4005 to find the forbidden define.

#error The C++ Standard Library forbids macroizing the keyword "static_assert". \
 ^
In file included from ../../third_party/dav1d/libdav1d/src/cdef_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/cdef_apply.h:33:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: unknown type name 'namespace'
_STD_BEGIN
^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,20): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                   ^
In file included from ../../third_party/dav1d/libdav1d/src/cdef_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/cdef_apply.h:33:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: expected ';' after top level declarator
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,34): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                                 ^
In file included from ../../third_party/dav1d/libdav1d/src/cdef_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/cdef_apply.h:33:
../../third_party/dav1d/libdav1d\src/internal.h(31,10): error: the current #pragma pack alignment value is modified in the included file [-Werror,-Wpragma-pack]
#include <stdatomic.h>
         ^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(20,9): note: previous '#pragma pack' directive that modifies alignment is here
#pragma pack(push, _CRT_PACKING)
        ^
In file included from ../../third_party/dav1d/libdav1d/src/cdef_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/cdef_apply.h:33:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
In file included from ../../third_party/dav1d/libdav1d\src/cdf.h:34:
../../third_party/dav1d/libdav1d\src/ref.h(42,5): error: unknown type name 'atomic_int'
    atomic_int ref_cnt;
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,5): error: call to undeclared function 'atomic_fetch_add_explicit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,49): error: use of undeclared identifier 'memory_order_relaxed'
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
                                                ^
In file included from ../../third_party/dav1d/libdav1d/src/cdef_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/cdef_apply.h:33:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
../../third_party/dav1d/libdav1d\src/cdf.h(138,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/cdef_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/cdef_apply.h:33:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:56:
../../third_party/dav1d/libdav1d\src/picture.h(62,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/cdef_apply_tmpl.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/cdef_apply.h:33:
../../third_party/dav1d/libdav1d\src/internal.h(124,5): error: unknown type name 'atomic_int'
    atomic_int flush_mem, *flush;
    ^
../../third_party/dav1d/libdav1d\src/internal.h(134,9): error: unknown type name 'atomic_uint'
        atomic_uint first;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(140,9): error: unknown type name 'atomic_uint'
        atomic_uint reset_task_cur;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(141,9): error: unknown type name 'atomic_int'
        atomic_int cond_signaled;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(148,13): error: unknown type name 'atomic_int'
            atomic_int progress[2]; /* [0]=started, [1]=completed */
            ^
../../third_party/dav1d/libdav1d\src/internal.h(279,9): error: unknown type name 'atomic_int'
        atomic_int entropy_progress;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(280,9): error: unknown type name 'atomic_int'
        atomic_int deblock_progress; // in sby units
        ^
../../third_party/dav1d/libdav1d\src/internal.h(281,9): error: unknown type name 'atomic_uint'
        atomic_uint *frame_progress, *copy_lpf_progress;
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[14/51474] CC obj/third_party/dav1d/dav1d_10bit/recon_tmpl.obj
FAILED: obj/third_party/dav1d/dav1d_10bit/recon_tmpl.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../third_party/dav1d/libdav1d/src/recon_tmpl.c /nologo /showIncludes:user "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/ATLMFC/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/VS/include" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/ucrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/um" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/shared" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/winrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/cppwinrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/NETFXSDK/4.8/include/um" -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"llvmorg-16-init-14635-ga650f2ec-1\"" -DCOMPONENT_BUILD -DCR_LIBCXX_REVISION=0b0cecd0dedc81d66df598945b8c286302d8597d -D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1 -D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -DCONFIG_LOG=1 -DDAV1D_API= -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/dav1d/libdav1d -I../../third_party/dav1d/libdav1d/include -I../../third_party/dav1d/libdav1d/include/dav1d -I../../third_party/dav1d/config/win/x64 -I../../third_party/dav1d/version -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200112L -DBITDEPTH=16 -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1916 /Zc:dllexportInlines- -m64 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /Od /Ob0 /GF /Z7 -gno-codeview-command-line -gcodeview-ghash -Xclang -fuse-ctor-homing /guard:cf,nochecks /MDd -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang raw-ref-template-as-trivial-member -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /W3 /wd4800 /wd4267 -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion /std:c11 /TC /Foobj/third_party/dav1d/dav1d_10bit/recon_tmpl.obj /Fd"obj/third_party/dav1d/dav1d_10bit_c.pdb"
In file included from ../../third_party/dav1d/libdav1d/src/recon_tmpl.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/cdef_apply.h:33:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h(15,2): error: <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.

#error <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.
 ^
In file included from ../../third_party/dav1d/libdav1d/src/recon_tmpl.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/cdef_apply.h:33:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(29,2): error: Error in C++ Standard Library usage

#error Error in C++ Standard Library usage
 ^
In file included from ../../third_party/dav1d/libdav1d/src/recon_tmpl.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/cdef_apply.h:33:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h:437:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\xkeycheck.h(391,2): error: The C++ Standard Library forbids macroizing the keyword "static_assert". Enable warning C4005 to find the forbidden define.

#error The C++ Standard Library forbids macroizing the keyword "static_assert". \
 ^
In file included from ../../third_party/dav1d/libdav1d/src/recon_tmpl.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/cdef_apply.h:33:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: unknown type name 'namespace'
_STD_BEGIN
^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,20): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                   ^
In file included from ../../third_party/dav1d/libdav1d/src/recon_tmpl.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/cdef_apply.h:33:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: expected ';' after top level declarator
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,34): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                                 ^
In file included from ../../third_party/dav1d/libdav1d/src/recon_tmpl.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/cdef_apply.h:33:
../../third_party/dav1d/libdav1d\src/internal.h(31,10): error: the current #pragma pack alignment value is modified in the included file [-Werror,-Wpragma-pack]
#include <stdatomic.h>
         ^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(20,9): note: previous '#pragma pack' directive that modifies alignment is here
#pragma pack(push, _CRT_PACKING)
        ^
In file included from ../../third_party/dav1d/libdav1d/src/recon_tmpl.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/cdef_apply.h:33:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
In file included from ../../third_party/dav1d/libdav1d\src/cdf.h:34:
../../third_party/dav1d/libdav1d\src/ref.h(42,5): error: unknown type name 'atomic_int'
    atomic_int ref_cnt;
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,5): error: call to undeclared function 'atomic_fetch_add_explicit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,49): error: use of undeclared identifier 'memory_order_relaxed'
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
                                                ^
In file included from ../../third_party/dav1d/libdav1d/src/recon_tmpl.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/cdef_apply.h:33:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
../../third_party/dav1d/libdav1d\src/cdf.h(138,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/recon_tmpl.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/cdef_apply.h:33:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:56:
../../third_party/dav1d/libdav1d\src/picture.h(62,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/recon_tmpl.c:39:
In file included from ../../third_party/dav1d/libdav1d\src/cdef_apply.h:33:
../../third_party/dav1d/libdav1d\src/internal.h(124,5): error: unknown type name 'atomic_int'
    atomic_int flush_mem, *flush;
    ^
../../third_party/dav1d/libdav1d\src/internal.h(134,9): error: unknown type name 'atomic_uint'
        atomic_uint first;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(140,9): error: unknown type name 'atomic_uint'
        atomic_uint reset_task_cur;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(141,9): error: unknown type name 'atomic_int'
        atomic_int cond_signaled;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(148,13): error: unknown type name 'atomic_int'
            atomic_int progress[2]; /* [0]=started, [1]=completed */
            ^
../../third_party/dav1d/libdav1d\src/internal.h(279,9): error: unknown type name 'atomic_int'
        atomic_int entropy_progress;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(280,9): error: unknown type name 'atomic_int'
        atomic_int deblock_progress; // in sby units
        ^
../../third_party/dav1d/libdav1d\src/internal.h(281,9): error: unknown type name 'atomic_uint'
        atomic_uint *frame_progress, *copy_lpf_progress;
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[15/51474] CC obj/third_party/dav1d/dav1d/cdf.obj
FAILED: obj/third_party/dav1d/dav1d/cdf.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../third_party/dav1d/libdav1d/src/cdf.c /nologo /showIncludes:user "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/ATLMFC/include" "-imsvc../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/VS/include" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/ucrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/um" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/shared" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/winrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/10/include/10.0.20348.0/cppwinrt" "-imsvc../../../../../../Program Files (x86)/Windows Kits/NETFXSDK/4.8/include/um" -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"llvmorg-16-init-14635-ga650f2ec-1\"" -DCOMPONENT_BUILD -DCR_LIBCXX_REVISION=0b0cecd0dedc81d66df598945b8c286302d8597d -D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1 -D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -DCONFIG_LOG=1 -DDAV1D_API= -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/dav1d/libdav1d -I../../third_party/dav1d/libdav1d/include -I../../third_party/dav1d/libdav1d/include/dav1d -I../../third_party/dav1d/config/win/x64 -I../../third_party/dav1d/version -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200112L -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1916 /Zc:dllexportInlines- -m64 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /Od /Ob0 /GF /Z7 -gno-codeview-command-line -gcodeview-ghash -Xclang -fuse-ctor-homing /guard:cf,nochecks /MDd -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang raw-ref-template-as-trivial-member -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /W3 /wd4800 /wd4267 -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion /std:c11 /TC /Foobj/third_party/dav1d/dav1d/cdf.obj /Fd"obj/third_party/dav1d/dav1d_c.pdb"
In file included from ../../third_party/dav1d/libdav1d/src/cdf.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h(15,2): error: <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.

#error <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.
 ^
In file included from ../../third_party/dav1d/libdav1d/src/cdf.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h:9:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(29,2): error: Error in C++ Standard Library usage

#error Error in C++ Standard Library usage
 ^
In file included from ../../third_party/dav1d/libdav1d/src/cdf.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: unknown type name 'namespace'
_STD_BEGIN
^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,20): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                   ^
In file included from ../../third_party/dav1d/libdav1d/src/cdf.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:31:

In file included from ..\..\third_party\llvm-build\Release+Asserts\lib\clang\16\include\stdatomic.h:24:
In file included from ../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\stdatomic.h:18:
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(346,1): error: expected ';' after top level declarator
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals_core.h(1735,34): note: expanded from macro '_STD_BEGIN'

#define _STD_BEGIN namespace std {
                                 ^
In file included from ../../third_party/dav1d/libdav1d/src/cdf.c:34:
../../third_party/dav1d/libdav1d\src/internal.h(31,10): error: the current #pragma pack alignment value is modified in the included file [-Werror,-Wpragma-pack]
#include <stdatomic.h>
         ^
../../../../../../Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/include\yvals.h(20,9): note: previous '#pragma pack' directive that modifies alignment is here
#pragma pack(push, _CRT_PACKING)
        ^
In file included from ../../third_party/dav1d/libdav1d/src/cdf.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
In file included from ../../third_party/dav1d/libdav1d\src/cdf.h:34:
../../third_party/dav1d/libdav1d\src/ref.h(42,5): error: unknown type name 'atomic_int'
    atomic_int ref_cnt;
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,5): error: call to undeclared function 'atomic_fetch_add_explicit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
    ^
../../third_party/dav1d/libdav1d\src/ref.h(57,49): error: use of undeclared identifier 'memory_order_relaxed'
    atomic_fetch_add_explicit(&ref->ref_cnt, 1, memory_order_relaxed);
                                                ^
In file included from ../../third_party/dav1d/libdav1d/src/cdf.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:43:
../../third_party/dav1d/libdav1d\src/cdf.h(138,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/cdf.c:34:
In file included from ../../third_party/dav1d/libdav1d\src/internal.h:56:
../../third_party/dav1d/libdav1d\src/picture.h(62,5): error: unknown type name 'atomic_uint'
    atomic_uint *progress;
    ^
In file included from ../../third_party/dav1d/libdav1d/src/cdf.c:34:
../../third_party/dav1d/libdav1d\src/internal.h(124,5): error: unknown type name 'atomic_int'
    atomic_int flush_mem, *flush;
    ^
../../third_party/dav1d/libdav1d\src/internal.h(134,9): error: unknown type name 'atomic_uint'
        atomic_uint first;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(140,9): error: unknown type name 'atomic_uint'
        atomic_uint reset_task_cur;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(141,9): error: unknown type name 'atomic_int'
        atomic_int cond_signaled;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(148,13): error: unknown type name 'atomic_int'
            atomic_int progress[2]; /* [0]=started, [1]=completed */
            ^
../../third_party/dav1d/libdav1d\src/internal.h(279,9): error: unknown type name 'atomic_int'
        atomic_int entropy_progress;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(280,9): error: unknown type name 'atomic_int'
        atomic_int deblock_progress; // in sby units
        ^
../../third_party/dav1d/libdav1d\src/internal.h(281,9): error: unknown type name 'atomic_uint'
        atomic_uint *frame_progress, *copy_lpf_progress;
        ^
../../third_party/dav1d/libdav1d\src/internal.h(333,9): error: unknown type name 'atomic_int'
        atomic_int init_done;
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

ninja: build stopped: subcommand failed.


A very large amount of error has occurred. Is there a solution?

Ho Cheung

unread,
Jan 11, 2023, 8:51:14 PM1/11/23
to nyab...@gmail.com, Chromium-dev
You can try to revert this commit locally https://chromium.googlesource.com/chromium/src/+/723fc2632f29dbb9b80c36dc80c29f3b89cd3e83

Then run gclient runhooks and try a new compilation

Or you can use the MSVS2019+SDK20348 toolchain

Nyabi <nyab...@gmail.com> 於 2023年1月12日週四 上午3:42寫道:
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to a topic in the Google Groups "Chromium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/a/chromium.org/d/topic/chromium-dev/XdfmIXRio1s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/48397cc1-847a-4753-a512-078e6a23ac4bn%40chromium.org.

Yash Joshi

unread,
Jan 12, 2023, 1:11:01 PM1/12/23
to Chromium-dev, nyab...@gmail.com
Hey @nyab,
You can follow the steps mentioned here:  https://groups.google.com/a/chromium.org/g/chromium-dev/c/XdfmIXRio1s/m/jugkhu7MBwAJ
Locally reverting and running 'gclient runhooks' worked for me .
Regards,
Yash Joshi

Will Harris

unread,
Jan 12, 2023, 1:18:27 PM1/12/23
to yashjoshi_...@dtu.ac.in, Chromium-dev, nyab...@gmail.com

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/1d7df30f-26e6-4cf4-a785-4cab68517b98n%40chromium.org.

md. motailab

unread,
Jan 24, 2023, 6:57:32 PM1/24/23
to Chromium-dev, w...@chromium.org, Chromium-dev, nyab...@gmail.com, Yash Joshi

I am currently experiencing difficulty building Chromium with the GRPC C++ library. When building Chromium in its default mode, the build is successful. However, when attempting to build Chromium with the GRPC library included, I am encountering errors. From my initial investigation, it appears that these errors may be related to the GRPC library itself.

I was wondering if there is a way to disable thread safety analyses for the debug build in order to resolve this issue. Additionally, I am applying some patches from https://github.com/imperviousinc/beacon, and have included the necessary GRPC C++ library. I have attached an image of the errors I am currently encountering for reference.

I would greatly appreciate any suggestions or guidance on how to resolve this issue and thank you in advance for your help.


windows_engine.error.png

Bruce Dawson

unread,
Jan 24, 2023, 8:15:54 PM1/24/23
to Chromium-dev, mdmot...@gmail.com, w...@chromium.org, Chromium-dev, nyab...@gmail.com, Yash Joshi
It looks like the GRPC library has two different definitions for TimerClosure and this is not allowed in the Microsoft C++ ABI. You'll need to change the forward declaration.

Then you have the thread-safety-analysis errors. You could disable those by adding "-Wno-thread-safety-analysis" to the relevant BUILD.gn file. There is no easier way to do this because disabling these errors is not a supported build configuration.

For both the errors the recommend path (the path I would take if trying to integrate the GPRC library) would be to create patches for GPRC and get those landed. It looks like these are genuine GPRC bugs so I would hope that such patches would be accepted.

I don't recommend sharing screenshots of your error messages. They are unsearchable, not accessible, and often miss context - in this case the beginning of the failing command is off the top of the screen. It is better to share the output as text. You can redirect output to a file and attach that, or select the text after the fact and paste it to a file.

Good luck!
Reply all
Reply to author
Forward
0 new messages