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?