ebiggers / libdeflate

Heavily optimized library for DEFLATE/zlib/gzip compression and decompression

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compilation fails on Windows with Clang

Dakror opened this issue · comments

See the build logs below. The combination of Clang and Windows seem to enable some wrong combination of intrinsic check flags?

Tested using release 1.14 and master cdfe8fa

Windows 10
Clang 14.0.5

[main] Building folder: libdeflate-1.14 
[main] Configuring folder: libdeflate-1.14 
[proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" --no-warn-unused-cli -Wno-dev -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug "-DCMAKE_C_COMPILER:FILEPATH=C:\Program Files\LLVM\bin\clang.exe" "-DCMAKE_CXX_COMPILER:FILEPATH=C:\Program Files\LLVM\bin\clang++.exe" -S<folder>/libdeflate-1.14 -B<folder>/libdeflate-1.14/build/Debug -G Ninja
[cmake] Not searching for unused variables given on the command line.
[cmake] -- The C compiler identification is Clang 14.0.5 with GNU-like command-line
[cmake] -- Detecting C compiler ABI info
[cmake] -- Detecting C compiler ABI info - done
[cmake] -- Check for working C compiler: C:/Program Files/LLVM/bin/clang.exe - skipped
[cmake] -- Detecting C compile features
[cmake] -- Detecting C compile features - done
[cmake] -- Performing Test HAVE_WDECLARATION_AFTER_STATEMENT
[cmake] -- Performing Test HAVE_WDECLARATION_AFTER_STATEMENT - Success
[cmake] -- Performing Test HAVE_WIMPLICIT_FALLTHROUGH
[cmake] -- Performing Test HAVE_WIMPLICIT_FALLTHROUGH - Success
[cmake] -- Performing Test HAVE_WMISSING_PROTOTYPES
[cmake] -- Performing Test HAVE_WMISSING_PROTOTYPES - Success
[cmake] -- Performing Test HAVE_WPEDANTIC
[cmake] -- Performing Test HAVE_WPEDANTIC - Success
[cmake] -- Performing Test HAVE_WSHADOW
[cmake] -- Performing Test HAVE_WSHADOW - Success
[cmake] -- Performing Test HAVE_WSTRICT_PROTOTYPES
[cmake] -- Performing Test HAVE_WSTRICT_PROTOTYPES - Success
[cmake] -- Performing Test HAVE_WUNDEF
[cmake] -- Performing Test HAVE_WUNDEF - Success
[cmake] -- Performing Test HAVE_WVLA
[cmake] -- Performing Test HAVE_WVLA - Success
[cmake] -- Looking for clock_gettime
[cmake] -- Looking for clock_gettime - not found
[cmake] -- Looking for futimens
[cmake] -- Looking for futimens - not found
[cmake] -- Looking for futimes
[cmake] -- Looking for futimes - not found
[cmake] -- Looking for posix_fadvise
[cmake] -- Looking for posix_fadvise - not found
[cmake] -- Looking for posix_madvise
[cmake] -- Looking for posix_madvise - not found
[cmake] -- Performing Test HAVE_STAT_NANOSECOND_PRECISION
[cmake] -- Performing Test HAVE_STAT_NANOSECOND_PRECISION - Failed
[cmake] -- Configuring done
[cmake] -- Generating done
[cmake] -- Build files have been written to: <folder>/libdeflate-1.14/build/Debug
[build] Starting build
[proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" --build <folder>/libdeflate-1.14/build/Debug --config Debug --target all --
[build] [10/26   3% :: 0.148] Building C object CMakeFiles/libdeflate_static.dir/lib/utils.c.obj
[build] In file included from <folder>/libdeflate-1.14/lib/utils.c:28:
[build] In file included from <folder>/libdeflate-1.14/lib/lib_common.h:15:
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:146:13: warning: keyword is hidden by macro definition [-Wkeyword-macro]
[build] #    define restrict
[build]             ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:519:2: warning: implicitly declaring library function '_BitScanReverse' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:519:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:538:2: warning: implicitly declaring library function '_BitScanReverse64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:538:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse64'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:573:2: warning: implicitly declaring library function '_BitScanForward' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:573:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:592:2: warning: implicitly declaring library function '_BitScanForward64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:592:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward64'
[build] 5 warnings generated.
[build] [11/26   7% :: 0.174] Building C object CMakeFiles/libdeflate_static.dir/lib/x86/cpu_features.c.obj
[build] In file included from <folder>/libdeflate-1.14/lib/x86/cpu_features.c:28:
[build] In file included from <folder>/libdeflate-1.14/lib/x86/../cpu_features_common.h:41:
[build] In file included from <folder>/libdeflate-1.14/lib/x86/../lib_common.h:15:
[build] <folder>/libdeflate-1.14/lib/x86/../../common_defs.h:146:13: warning: keyword is hidden by macro definition [-Wkeyword-macro]
[build] #    define restrict
[build]             ^
[build] <folder>/libdeflate-1.14/lib/x86/../../common_defs.h:519:2: warning: implicitly declaring library function '_BitScanReverse' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/x86/../../common_defs.h:519:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse'
[build] <folder>/libdeflate-1.14/lib/x86/../../common_defs.h:538:2: warning: implicitly declaring library function '_BitScanReverse64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/x86/../../common_defs.h:538:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse64'
[build] <folder>/libdeflate-1.14/lib/x86/../../common_defs.h:573:2: warning: implicitly declaring library function '_BitScanForward' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/x86/../../common_defs.h:573:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward'
[build] <folder>/libdeflate-1.14/lib/x86/../../common_defs.h:592:2: warning: implicitly declaring library function '_BitScanForward64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/x86/../../common_defs.h:592:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward64'
[build] 5 warnings generated.
[build] [12/26  11% :: 0.263] Building C object CMakeFiles/libdeflate_static.dir/lib/zlib_compress.c.obj
[build] In file included from <folder>/libdeflate-1.14/lib/zlib_compress.c:28:
[build] In file included from <folder>/libdeflate-1.14/lib/deflate_compress.h:4:
[build] In file included from <folder>/libdeflate-1.14/lib/lib_common.h:15:
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:146:13: warning: keyword is hidden by macro definition [-Wkeyword-macro]
[build] #    define restrict
[build]             ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:519:2: warning: implicitly declaring library function '_BitScanReverse' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:519:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:538:2: warning: implicitly declaring library function '_BitScanReverse64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:538:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse64'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:573:2: warning: implicitly declaring library function '_BitScanForward' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:573:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:592:2: warning: implicitly declaring library function '_BitScanForward64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:592:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward64'
[build] 5 warnings generated.
[build] [13/26  15% :: 0.291] Building C object CMakeFiles/libdeflate_static.dir/lib/adler32.c.obj
[build] FAILED: CMakeFiles/libdeflate_static.dir/lib/adler32.c.obj 
[build] C:\PROGRA~1\LLVM\bin\clang.exe -DLIBDEFLATE_STATIC -D_ANSI_SOURCE -I<folder>/libdeflate-1.14 -g -Xclang -gcodeview -O0 -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd -Wall -Wdeclaration-after-statement -Wimplicit-fallthrough -Wmissing-prototypes -Wpedantic -Wshadow -Wstrict-prototypes -Wundef -Wvla -std=gnu99 -MD -MT CMakeFiles/libdeflate_static.dir/lib/adler32.c.obj -MF CMakeFiles\libdeflate_static.dir\lib\adler32.c.obj.d -o CMakeFiles/libdeflate_static.dir/lib/adler32.c.obj -c <folder>/libdeflate-1.14/lib/adler32.c
[build] In file included from <folder>/libdeflate-1.14/lib/adler32.c:28:
[build] In file included from <folder>/libdeflate-1.14/lib/lib_common.h:15:
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:146:13: warning: keyword is hidden by macro definition [-Wkeyword-macro]
[build] #    define restrict
[build]             ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:519:2: warning: implicitly declaring library function '_BitScanReverse' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:519:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:538:2: warning: implicitly declaring library function '_BitScanReverse64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:538:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse64'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:573:2: warning: implicitly declaring library function '_BitScanForward' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:573:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:592:2: warning: implicitly declaring library function '_BitScanForward64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:592:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward64'
[build] In file included from <folder>/libdeflate-1.14/lib/adler32.c:97:
[build] <folder>/libdeflate-1.14/lib/x86/adler32_impl.h:176:26: error: unknown type name '__m256i'
[build] adler32_avx2_chunk(const __m256i *p, const __m256i *const end, u32 *s1, u32 *s2)
[build]                          ^
[build] <folder>/libdeflate-1.14/lib/x86/adler32_impl.h:176:44: error: unknown type name '__m256i'
[build] adler32_avx2_chunk(const __m256i *p, const __m256i *const end, u32 *s1, u32 *s2)
[build]                                            ^
[build] <folder>/libdeflate-1.14/lib/x86/adler32_impl.h:178:8: error: unknown type name '__m256i'
[build]         const __m256i zeroes = _mm256_setzero_si256();
[build]               ^
[build] <folder>/libdeflate-1.14/lib/x86/adler32_impl.h:178:25: warning: implicit declaration of function '_mm256_setzero_si256' is invalid in C99 [-Wimplicit-function-declaration]
[build]         const __m256i zeroes = _mm256_setzero_si256();
[build]                                ^
[build] <folder>/libdeflate-1.14/lib/x86/adler32_impl.h:183:8: error: unknown type name '__v16hu'; did you mean '__v16qu'?
[build]         const __v16hu mults_a = { 64, 63, 62, 61, 60, 59, 58, 57,
[build]               ^~~~~~~
[build]               __v16qu
[build] C:\PROGRA~1\LLVM\lib\clang\14.0.5\include\emmintrin.h:34:23: note: '__v16qu' declared here
[build] typedef unsigned char __v16qu __attribute__((__vector_size__(16)));
[build]                       ^
[build] In file included from <folder>/libdeflate-1.14/lib/adler32.c:97:
[build] <folder>/libdeflate-1.14/lib/x86/adler32_impl.h:185:8: error: unknown type name '__v16hu'; did you mean '__v16qu'?
[build]         const __v16hu mults_b = { 56, 55, 54, 53, 52, 51, 50, 49,
[build]               ^~~~~~~
[build]               __v16qu
[build] C:\PROGRA~1\LLVM\lib\clang\14.0.5\include\emmintrin.h:34:23: note: '__v16qu' declared here
[build] typedef unsigned char __v16qu __attribute__((__vector_size__(16)));
[build]                       ^
[build] In file included from <folder>/libdeflate-1.14/lib/adler32.c:97:
[build] <folder>/libdeflate-1.14/lib/x86/adler32_impl.h:187:8: error: unknown type name '__v16hu'; did you mean '__v16qu'?
[build]         const __v16hu mults_c = { 32, 31, 30, 29, 28, 27, 26, 25,
[build]               ^~~~~~~
[build]               __v16qu
[build] C:\PROGRA~1\LLVM\lib\clang\14.0.5\include\emmintrin.h:34:23: note: '__v16qu' declared here
[build] typedef unsigned char __v16qu __attribute__((__vector_size__(16)));
[build]                       ^
[build] In file included from <folder>/libdeflate-1.14/lib/adler32.c:97:
[build] <folder>/libdeflate-1.14/lib/x86/adler32_impl.h:189:8: error: unknown type name '__v16hu'; did you mean '__v16qu'?
[build]         const __v16hu mults_d = { 24, 23, 22, 21, 20, 19, 18, 17,
[build]               ^~~~~~~
[build]               __v16qu
[build] C:\PROGRA~1\LLVM\lib\clang\14.0.5\include\emmintrin.h:34:23: note: '__v16qu' declared here
[build] typedef unsigned char __v16qu __attribute__((__vector_size__(16)));
[build]                       ^
[build] In file included from <folder>/libdeflate-1.14/lib/adler32.c:97:
[build] <folder>/libdeflate-1.14/lib/x86/adler32_impl.h:191:8: error: expected ';' after expression
[build]         __v8su v_s1 = (__v8su)zeroes;
[build]               ^
[build]               ;
[build] <folder>/libdeflate-1.14/lib/x86/adler32_impl.h:191:2: error: use of undeclared identifier '__v8su'
[build]         __v8su v_s1 = (__v8su)zeroes;
[build]         ^
[build] <folder>/libdeflate-1.14/lib/x86/adler32_impl.h:191:9: error: use of undeclared identifier 'v_s1'
[build]         __v8su v_s1 = (__v8su)zeroes;
[build]                ^
[build] <folder>/libdeflate-1.14/lib/x86/adler32_impl.h:191:17: error: use of undeclared identifier '__v8su'
[build]         __v8su v_s1 = (__v8su)zeroes;
[build]                        ^
[build] <folder>/libdeflate-1.14/lib/x86/adler32_impl.h:192:8: error: expected ';' after expression
[build]         __v8su v_s2 = (__v8su)zeroes;
[build]               ^
[build]               ;
[build] <folder>/libdeflate-1.14/lib/x86/adler32_impl.h:192:2: error: use of undeclared identifier '__v8su'
[build]         __v8su v_s2 = (__v8su)zeroes;
[build]         ^
[build] <folder>/libdeflate-1.14/lib/x86/adler32_impl.h:192:9: error: use of undeclared identifier 'v_s2'
[build]         __v8su v_s2 = (__v8su)zeroes;
[build]                ^
[build] <folder>/libdeflate-1.14/lib/x86/adler32_impl.h:192:17: error: use of undeclared identifier '__v8su'
[build]         __v8su v_s2 = (__v8su)zeroes;
[build]                        ^
[build] <folder>/libdeflate-1.14/lib/x86/adler32_impl.h:193:2: error: unknown type name '__v16hu'; did you mean '__v16qu'?
[build]         __v16hu v_byte_sums_a = (__v16hu)zeroes;
[build]         ^~~~~~~
[build]         __v16qu
[build] C:\PROGRA~1\LLVM\lib\clang\14.0.5\include\emmintrin.h:34:23: note: '__v16qu' declared here
[build] typedef unsigned char __v16qu __attribute__((__vector_size__(16)));
[build]                       ^
[build] In file included from <folder>/libdeflate-1.14/lib/adler32.c:97:
[build] <folder>/libdeflate-1.14/lib/x86/adler32_impl.h:193:27: error: use of undeclared identifier '__v16hu'
[build]         __v16hu v_byte_sums_a = (__v16hu)zeroes;
[build]                                  ^
[build] <folder>/libdeflate-1.14/lib/x86/adler32_impl.h:194:2: error: unknown type name '__v16hu'; did you mean '__v16qu'?
[build]         __v16hu v_byte_sums_b = (__v16hu)zeroes;
[build]         ^~~~~~~
[build]         __v16qu
[build] C:\PROGRA~1\LLVM\lib\clang\14.0.5\include\emmintrin.h:34:23: note: '__v16qu' declared here
[build] typedef unsigned char __v16qu __attribute__((__vector_size__(16)));
[build]                       ^
[build] In file included from <folder>/libdeflate-1.14/lib/adler32.c:97:
[build] <folder>/libdeflate-1.14/lib/x86/adler32_impl.h:194:27: error: use of undeclared identifier '__v16hu'
[build]         __v16hu v_byte_sums_b = (__v16hu)zeroes;
[build]                                  ^
[build] fatal error: too many errors emitted, stopping now [-ferror-limit=]
[build] 6 warnings and 20 errors generated.
[build] [13/26  19% :: 0.319] Building C object CMakeFiles/libdeflate_static.dir/lib/zlib_decompress.c.obj
[build] In file included from <folder>/libdeflate-1.14/lib/zlib_decompress.c:28:
[build] In file included from <folder>/libdeflate-1.14/lib/lib_common.h:15:
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:146:13: warning: keyword is hidden by macro definition [-Wkeyword-macro]
[build] #    define restrict
[build]             ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:519:2: warning: implicitly declaring library function '_BitScanReverse' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:519:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:538:2: warning: implicitly declaring library function '_BitScanReverse64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:538:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse64'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:573:2: warning: implicitly declaring library function '_BitScanForward' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:573:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:592:2: warning: implicitly declaring library function '_BitScanForward64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:592:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward64'
[build] 5 warnings generated.
[build] [13/26  23% :: 0.323] Building C object CMakeFiles/libdeflate_static.dir/lib/arm/cpu_features.c.obj
[build] In file included from <folder>/libdeflate-1.14/lib/arm/cpu_features.c:38:
[build] In file included from <folder>/libdeflate-1.14/lib/arm/../cpu_features_common.h:41:
[build] In file included from <folder>/libdeflate-1.14/lib/arm/../lib_common.h:15:
[build] <folder>/libdeflate-1.14/lib/arm/../../common_defs.h:146:13: warning: keyword is hidden by macro definition [-Wkeyword-macro]
[build] #    define restrict
[build]             ^
[build] <folder>/libdeflate-1.14/lib/arm/../../common_defs.h:519:2: warning: implicitly declaring library function '_BitScanReverse' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/arm/../../common_defs.h:519:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse'
[build] <folder>/libdeflate-1.14/lib/arm/../../common_defs.h:538:2: warning: implicitly declaring library function '_BitScanReverse64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/arm/../../common_defs.h:538:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse64'
[build] <folder>/libdeflate-1.14/lib/arm/../../common_defs.h:573:2: warning: implicitly declaring library function '_BitScanForward' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/arm/../../common_defs.h:573:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward'
[build] <folder>/libdeflate-1.14/lib/arm/../../common_defs.h:592:2: warning: implicitly declaring library function '_BitScanForward64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/arm/../../common_defs.h:592:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward64'
[build] 5 warnings generated.
[build] [13/26  26% :: 0.326] Building C object CMakeFiles/libdeflate_static.dir/lib/crc32.c.obj
[build] FAILED: CMakeFiles/libdeflate_static.dir/lib/crc32.c.obj 
[build] C:\PROGRA~1\LLVM\bin\clang.exe -DLIBDEFLATE_STATIC -D_ANSI_SOURCE -I<folder>/libdeflate-1.14 -g -Xclang -gcodeview -O0 -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd -Wall -Wdeclaration-after-statement -Wimplicit-fallthrough -Wmissing-prototypes -Wpedantic -Wshadow -Wstrict-prototypes -Wundef -Wvla -std=gnu99 -MD -MT CMakeFiles/libdeflate_static.dir/lib/crc32.c.obj -MF CMakeFiles\libdeflate_static.dir\lib\crc32.c.obj.d -o CMakeFiles/libdeflate_static.dir/lib/crc32.c.obj -c <folder>/libdeflate-1.14/lib/crc32.c
[build] In file included from <folder>/libdeflate-1.14/lib/crc32.c:171:
[build] In file included from <folder>/libdeflate-1.14/lib/lib_common.h:15:
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:146:13: warning: keyword is hidden by macro definition [-Wkeyword-macro]
[build] #    define restrict
[build]             ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:519:2: warning: implicitly declaring library function '_BitScanReverse' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:519:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:538:2: warning: implicitly declaring library function '_BitScanReverse64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:538:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse64'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:573:2: warning: implicitly declaring library function '_BitScanForward' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:573:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:592:2: warning: implicitly declaring library function '_BitScanForward64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:592:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward64'
[build] In file included from <folder>/libdeflate-1.14/lib/crc32.c:229:
[build] In file included from <folder>/libdeflate-1.14/lib/x86/crc32_impl.h:43:
[build] <folder>/libdeflate-1.14/lib/x86/crc32_pclmul_template.h:64:15: warning: implicit declaration of function '_mm_clmulepi64_si128' is invalid in C99 [-Wimplicit-function-declaration]
[build]         return dst ^ _mm_clmulepi64_si128(src, multipliers, 0x00) ^
[build]                      ^
[build] <folder>/libdeflate-1.14/lib/x86/crc32_pclmul_template.h:269:7: warning: implicit declaration of function '_mm_clmulepi64_si128' is invalid in C99 [-Wimplicit-function-declaration]
[build]              _mm_clmulepi64_si128(v0, multipliers_1, 0x10);
[build]              ^
[build] <folder>/libdeflate-1.14/lib/x86/crc32_pclmul_template.h:317:5: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
[build]         v1 = _mm_clmulepi64_si128(v0 & mask32, barrett_reduction_constants, 0x00);
[build]            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[build] <folder>/libdeflate-1.14/lib/x86/crc32_pclmul_template.h:318:5: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
[build]         v1 = _mm_clmulepi64_si128(v1 & mask32, barrett_reduction_constants, 0x10);
[build]            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[build] In file included from <folder>/libdeflate-1.14/lib/crc32.c:229:
[build] In file included from <folder>/libdeflate-1.14/lib/x86/crc32_impl.h:67:
[build] <folder>/libdeflate-1.14/lib/x86/crc32_pclmul_template.h:64:15: warning: implicit declaration of function '_mm_clmulepi64_si128' is invalid in C99 [-Wimplicit-function-declaration]
[build]         return dst ^ _mm_clmulepi64_si128(src, multipliers, 0x00) ^
[build]                      ^
[build] <folder>/libdeflate-1.14/lib/x86/crc32_pclmul_template.h:99:7: warning: implicit declaration of function '_mm_shuffle_epi8' is invalid in C99 [-Wimplicit-function-declaration]
[build]         x0 = _mm_shuffle_epi8(v, lshift);
[build]              ^
[build] <folder>/libdeflate-1.14/lib/x86/crc32_pclmul_template.h:99:5: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
[build]         x0 = _mm_shuffle_epi8(v, lshift);
[build]            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[build] <folder>/libdeflate-1.14/lib/x86/crc32_pclmul_template.h:105:7: warning: implicit declaration of function '_mm_blendv_epi8' is invalid in C99 [-Wimplicit-function-declaration]
[build]         x1 = _mm_blendv_epi8(_mm_shuffle_epi8(v, rshift),
[build]              ^
[build] <folder>/libdeflate-1.14/lib/x86/crc32_pclmul_template.h:105:5: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
[build]         x1 = _mm_blendv_epi8(_mm_shuffle_epi8(v, rshift),
[build]            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[build] <folder>/libdeflate-1.14/lib/x86/crc32_pclmul_template.h:269:7: warning: implicit declaration of function '_mm_clmulepi64_si128' is invalid in C99 [-Wimplicit-function-declaration]
[build]              _mm_clmulepi64_si128(v0, multipliers_1, 0x10);
[build]              ^
[build] <folder>/libdeflate-1.14/lib/x86/crc32_pclmul_template.h:317:5: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
[build]         v1 = _mm_clmulepi64_si128(v0 & mask32, barrett_reduction_constants, 0x00);
[build]            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[build] <folder>/libdeflate-1.14/lib/x86/crc32_pclmul_template.h:318:5: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
[build]         v1 = _mm_clmulepi64_si128(v1 & mask32, barrett_reduction_constants, 0x10);
[build]            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[build] 11 warnings and 6 errors generated.
[build] [13/26  30% :: 0.354] Building C object CMakeFiles/libdeflate_static.dir/lib/deflate_decompress.c.obj
[build] In file included from <folder>/libdeflate-1.14/lib/deflate_decompress.c:47:
[build] In file included from <folder>/libdeflate-1.14/lib/lib_common.h:15:
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:146:13: warning: keyword is hidden by macro definition [-Wkeyword-macro]
[build] #    define restrict
[build]             ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:519:2: warning: implicitly declaring library function '_BitScanReverse' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:519:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:538:2: warning: implicitly declaring library function '_BitScanReverse64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:538:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse64'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:573:2: warning: implicitly declaring library function '_BitScanForward' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:573:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:592:2: warning: implicitly declaring library function '_BitScanForward64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:592:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward64'
[build] 5 warnings generated.
[build] [13/26  34% :: 0.424] Building C object CMakeFiles/libdeflate_static.dir/lib/gzip_compress.c.obj
[build] In file included from <folder>/libdeflate-1.14/lib/gzip_compress.c:28:
[build] In file included from <folder>/libdeflate-1.14/lib/deflate_compress.h:4:
[build] In file included from <folder>/libdeflate-1.14/lib/lib_common.h:15:
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:146:13: warning: keyword is hidden by macro definition [-Wkeyword-macro]
[build] #    define restrict
[build]             ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:519:2: warning: implicitly declaring library function '_BitScanReverse' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:519:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:538:2: warning: implicitly declaring library function '_BitScanReverse64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:538:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse64'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:573:2: warning: implicitly declaring library function '_BitScanForward' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:573:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:592:2: warning: implicitly declaring library function '_BitScanForward64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:592:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward64'
[build] 5 warnings generated.
[build] [13/26  38% :: 0.445] Building C object CMakeFiles/libdeflate_shared.dir/lib/arm/cpu_features.c.obj
[build] In file included from <folder>/libdeflate-1.14/lib/arm/cpu_features.c:38:
[build] In file included from <folder>/libdeflate-1.14/lib/arm/../cpu_features_common.h:41:
[build] In file included from <folder>/libdeflate-1.14/lib/arm/../lib_common.h:15:
[build] <folder>/libdeflate-1.14/lib/arm/../../common_defs.h:146:13: warning: keyword is hidden by macro definition [-Wkeyword-macro]
[build] #    define restrict
[build]             ^
[build] <folder>/libdeflate-1.14/lib/arm/../../common_defs.h:519:2: warning: implicitly declaring library function '_BitScanReverse' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/arm/../../common_defs.h:519:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse'
[build] <folder>/libdeflate-1.14/lib/arm/../../common_defs.h:538:2: warning: implicitly declaring library function '_BitScanReverse64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/arm/../../common_defs.h:538:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse64'
[build] <folder>/libdeflate-1.14/lib/arm/../../common_defs.h:573:2: warning: implicitly declaring library function '_BitScanForward' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/arm/../../common_defs.h:573:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward'
[build] <folder>/libdeflate-1.14/lib/arm/../../common_defs.h:592:2: warning: implicitly declaring library function '_BitScanForward64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/arm/../../common_defs.h:592:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward64'
[build] 5 warnings generated.
[build] [13/26  42% :: 0.516] Building C object CMakeFiles/libdeflate_shared.dir/lib/utils.c.obj
[build] In file included from <folder>/libdeflate-1.14/lib/utils.c:28:
[build] In file included from <folder>/libdeflate-1.14/lib/lib_common.h:15:
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:146:13: warning: keyword is hidden by macro definition [-Wkeyword-macro]
[build] #    define restrict
[build]             ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:519:2: warning: implicitly declaring library function '_BitScanReverse' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:519:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:538:2: warning: implicitly declaring library function '_BitScanReverse64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:538:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse64'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:573:2: warning: implicitly declaring library function '_BitScanForward' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:573:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:592:2: warning: implicitly declaring library function '_BitScanForward64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:592:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward64'
[build] 5 warnings generated.
[build] [13/26  46% :: 0.580] Building C object CMakeFiles/libdeflate_static.dir/lib/gzip_decompress.c.obj
[build] In file included from <folder>/libdeflate-1.14/lib/gzip_decompress.c:28:
[build] In file included from <folder>/libdeflate-1.14/lib/lib_common.h:15:
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:146:13: warning: keyword is hidden by macro definition [-Wkeyword-macro]
[build] #    define restrict
[build]             ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:519:2: warning: implicitly declaring library function '_BitScanReverse' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:519:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:538:2: warning: implicitly declaring library function '_BitScanReverse64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:538:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse64'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:573:2: warning: implicitly declaring library function '_BitScanForward' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:573:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:592:2: warning: implicitly declaring library function '_BitScanForward64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:592:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward64'
[build] 5 warnings generated.
[build] [13/26  50% :: 0.734] Building C object CMakeFiles/libdeflate_static.dir/lib/deflate_compress.c.obj
[build] In file included from <folder>/libdeflate-1.14/lib/deflate_compress.c:28:
[build] In file included from <folder>/libdeflate-1.14/lib/deflate_compress.h:4:
[build] In file included from <folder>/libdeflate-1.14/lib/lib_common.h:15:
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:146:13: warning: keyword is hidden by macro definition [-Wkeyword-macro]
[build] #    define restrict
[build]             ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:519:2: warning: implicitly declaring library function '_BitScanReverse' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:519:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:538:2: warning: implicitly declaring library function '_BitScanReverse64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanReverse64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:538:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanReverse64'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:573:2: warning: implicitly declaring library function '_BitScanForward' with type 'unsigned char (unsigned long *, unsigned long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:573:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward'
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:592:2: warning: implicitly declaring library function '_BitScanForward64' with type 'unsigned char (unsigned long *, unsigned long long)' [-Wimplicit-function-declaration]
[build]         _BitScanForward64(&i, v);
[build]         ^
[build] <folder>/libdeflate-1.14/lib/../common_defs.h:592:2: note: include the header <intrin.h> or explicitly provide a declaration for '_BitScanForward64'
[build] 5 warnings generated.
[proc] The command: "C:\Program Files\CMake\bin\cmake.EXE" --build <folder>/libdeflate-1.14/build/Debug --config Debug --target all -- exited with code: 1
[build] ninja: build stopped: subcommand failed.
[build] Build finished with exit code 1

It looks like the problem is specifically with the variant of clang that pretends to be the MSVC compiler, rather than standard clang.

#246 gets it working, so please try that.

However, I couldn't get the architecture-optimized code to be included, as some MSVC limitations still apply in this case, despite the compiler being clang. So the performance won't be optimal. You can compile with MinGW-w64 if you want optimal performance on Windows.

There's still a build error in lib/x86/ in CI that I'm not seeing locally, so I still need to do something else.

It builds now, but please confirm when you have a chance.

Wow that was fast, thank you it works now!!