clang++ -O3 -march=native -fno-finite-math-only -funroll-loops -flto -fuse-ld=lld -std=c++20 -DNDEBUG -static -pthread -DEVALFILE=\"C:/Programs/OpenBenchN9x/Client/Networks/63DA2483\" -fuse-ld=lld src/datagen.cpp src/main.cpp src/movepicker.cpp src/nnue.cpp src/parameters.cpp src/search.cpp src/searcher.cpp src/util.cpp -o Tarnished-8A1FBFDD-63DA2483
In file included from src/datagen.cpp:1:
In file included from src\datagen.h:5:
In file included from src\search.h:8:
src\tt.h:27:2: error: "Compiler not supported"
27 | #error "Compiler not supported"
| ^
1 error generated.
In file included from src/main.cpp:1:
In file included from src\datagen.h:5:
In file included from src\search.h:8:
src\tt.h:27:2: error: "Compiler not supported"
27 | #error "Compiler not supported"
| ^
src/main.cpp:92:18: warning: 'strtok' is deprecated: This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]
92 | char* move = strtok(str, " ");
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\ucrt\string.h:435:16: note: 'strtok' has been explicitly marked deprecated here
435 | _Check_return_ _CRT_INSECURE_DEPRECATE(strtok_s)
| ^
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\vcruntime.h:368:55: note: expanded from macro '_CRT_INSECURE_DEPRECATE'
368 | #define _CRT_INSECURE_DEPRECATE(_Replacement) _CRT_DEPRECATE_TEXT( \
| ^
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\vcruntime.h:358:47: note: expanded from macro '_CRT_DEPRECATE_TEXT'
358 | #define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text))
| ^
src/main.cpp:93:20: warning: 'strtok' is deprecated: This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]
93 | while ((move = strtok(NULL, " "))) {
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\ucrt\string.h:435:16: note: 'strtok' has been explicitly marked deprecated here
435 | _Check_return_ _CRT_INSECURE_DEPRECATE(strtok_s)
| ^
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\vcruntime.h:368:55: note: expanded from macro '_CRT_INSECURE_DEPRECATE'
368 | #define _CRT_INSECURE_DEPRECATE(_Replacement) _CRT_DEPRECATE_TEXT( \
| ^
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\vcruntime.h:358:47: note: expanded from macro '_CRT_DEPRECATE_TEXT'
358 | #define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text))
| ^
2 warnings and 1 error generated.
In file included from src/movepicker.cpp:1:
In file included from src\movepicker.h:6:
In file included from src\search.h:8:
src\tt.h:27:2: error: "Compiler not supported"
27 | #error "Compiler not supported"
| ^
1 error generated.
In file included from src/nnue.cpp:2:
In file included from src\search.h:8:
src\tt.h:27:2: error: "Compiler not supported"
27 | #error "Compiler not supported"
| ^
src/nnue.cpp:31:17: warning: Using AVX512 NNUE inference [-W#pragma-messages]
31 | #pragma message("Using AVX512 NNUE inference")
| ^
1 warning and 1 error generated.
In file included from src/search.cpp:1:
In file included from src\search.h:8:
src\tt.h:27:2: error: "Compiler not supported"
27 | #error "Compiler not supported"
| ^
src/search.cpp:651:27: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'std::array<Search::Stack, 128>' [-Wnontrivial-memcall]
651 | std::memset(stack.get(), 0, sizeof(Stack) * (MAX_PLY + 3));
| ^
src/search.cpp:651:27: note: explicitly cast the pointer to silence this warning
651 | std::memset(stack.get(), 0, sizeof(Stack) * (MAX_PLY + 3));
| ^
| (void*)
1 warning and 1 error generated.
In file included from src/searcher.cpp:1:
In file included from src\searcher.h:4:
In file included from src\search.h:8:
src\tt.h:27:2: error: "Compiler not supported"
27 | #error "Compiler not supported"
| ^
1 error generated.
make: *** [Makefile:35: Tarnished-8A1FBFDD-63DA2483] Error 1