clang++ -O3 -march=native -fno-finite-math-only -funroll-loops -flto -fuse-ld=lld -std=c++20 -DNDEBUG -pthread -DEVALFILE=\"C:/Programs/OpenBenchN9x/Client/Networks/4FF3AF06\" -Wl,/STACK:8388608 -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 src/external/format.cpp -o Tarnished-14E9A917-4FF3AF06
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"
| ^
src\tt.h:159:59: error: too few arguments provided to function-like macro invocation
159 | auto minValue = std::numeric_limits<int32_t>::max();
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:193:9: note: macro 'max' defined here
193 | #define max(a,b) (((a) > (b)) ? (a) : (b))
| ^
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:168:23: error: comparison between pointer and integer ('int' and 'int (*)() noexcept')
168 | if (value < minValue) {
| ~~~~~ ^ ~~~~~~~~
src\tt.h:170:28: error: incompatible integer to pointer conversion assigning to 'int (*)() noexcept' from 'int'
170 | minValue = value;
| ^~~~~
In file included from src/datagen.cpp:1:
In file included from src\datagen.h:5:
src\search.h:37:21: error: expected unqualified-id
37 | return std::min(HIST_BONUS_QUADRATIC() * depth * depth + HIST_BONUS_LINEAR() * depth + HIST_BONUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/datagen.cpp:1:
In file included from src\datagen.h:5:
src\search.h:41:21: error: expected unqualified-id
41 | return std::min(CONT_HIST_BONUS_QUADRATIC() * depth * depth + CONT_HIST_BONUS_LINEAR() * depth + CONT_HIST_BONUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/datagen.cpp:1:
In file included from src\datagen.h:5:
src\search.h:45:21: error: expected unqualified-id
45 | return std::min(CAPT_HIST_BONUS_QUADRATIC() * depth * depth + CAPT_HIST_BONUS_LINEAR() * depth + CAPT_HIST_BONUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/datagen.cpp:1:
In file included from src\datagen.h:5:
src\search.h:49:22: error: expected unqualified-id
49 | return -std::min(HIST_MALUS_QUADRATIC() * depth * depth + HIST_MALUS_LINEAR() * depth + HIST_MALUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/datagen.cpp:1:
In file included from src\datagen.h:5:
src\search.h:53:22: error: expected unqualified-id
53 | return -std::min(CONT_HIST_MALUS_QUADRATIC() * depth * depth + CONT_HIST_MALUS_LINEAR() * depth + CONT_HIST_MALUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/datagen.cpp:1:
In file included from src\datagen.h:5:
src\search.h:57:22: error: expected unqualified-id
57 | return -std::min(CAPT_HIST_MALUS_QUADRATIC() * depth * depth + CAPT_HIST_MALUS_LINEAR() * depth + CAPT_HIST_MALUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/datagen.cpp:1:
In file included from src\datagen.h:5:
src\search.h:184:41: error: expected unqualified-id
184 | double compScale = std::max((COMPLEXITY_TM_BASE() / 100.0) + std::clamp(complexity, 0.0, 200.0) / static_cast<double>(COMPLEXITY_TM_DIVISOR()), 1.0);
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:193:29: note: expanded from macro 'max'
193 | #define max(a,b) (((a) > (b)) ? (a) : (b))
| ^
11 errors 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\tt.h:159:59: error: too few arguments provided to function-like macro invocation
159 | auto minValue = std::numeric_limits<int32_t>::max();
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:193:9: note: macro 'max' defined here
193 | #define max(a,b) (((a) > (b)) ? (a) : (b))
| ^
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:168:23: error: comparison between pointer and integer ('int' and 'int (*)() noexcept')
168 | if (value < minValue) {
| ~~~~~ ^ ~~~~~~~~
src\tt.h:170:28: error: incompatible integer to pointer conversion assigning to 'int (*)() noexcept' from 'int'
170 | minValue = value;
| ^~~~~
In file included from src/main.cpp:1:
In file included from src\datagen.h:5:
src\search.h:37:21: error: expected unqualified-id
37 | return std::min(HIST_BONUS_QUADRATIC() * depth * depth + HIST_BONUS_LINEAR() * depth + HIST_BONUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/main.cpp:1:
In file included from src\datagen.h:5:
src\search.h:41:21: error: expected unqualified-id
41 | return std::min(CONT_HIST_BONUS_QUADRATIC() * depth * depth + CONT_HIST_BONUS_LINEAR() * depth + CONT_HIST_BONUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/main.cpp:1:
In file included from src\datagen.h:5:
src\search.h:45:21: error: expected unqualified-id
45 | return std::min(CAPT_HIST_BONUS_QUADRATIC() * depth * depth + CAPT_HIST_BONUS_LINEAR() * depth + CAPT_HIST_BONUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/main.cpp:1:
In file included from src\datagen.h:5:
src\search.h:49:22: error: expected unqualified-id
49 | return -std::min(HIST_MALUS_QUADRATIC() * depth * depth + HIST_MALUS_LINEAR() * depth + HIST_MALUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/main.cpp:1:
In file included from src\datagen.h:5:
src\search.h:53:22: error: expected unqualified-id
53 | return -std::min(CONT_HIST_MALUS_QUADRATIC() * depth * depth + CONT_HIST_MALUS_LINEAR() * depth + CONT_HIST_MALUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/main.cpp:1:
In file included from src\datagen.h:5:
src\search.h:57:22: error: expected unqualified-id
57 | return -std::min(CAPT_HIST_MALUS_QUADRATIC() * depth * depth + CAPT_HIST_MALUS_LINEAR() * depth + CAPT_HIST_MALUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/main.cpp:1:
In file included from src\datagen.h:5:
src\search.h:184:41: error: expected unqualified-id
184 | double compScale = std::max((COMPLEXITY_TM_BASE() / 100.0) + std::clamp(complexity, 0.0, 200.0) / static_cast<double>(COMPLEXITY_TM_DIVISOR()), 1.0);
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:193:29: note: expanded from macro 'max'
193 | #define max(a,b) (((a) > (b)) ? (a) : (b))
| ^
src/main.cpp:78:32: error: expected unqualified-id
78 | limit.softnodes = std::max(nodes, softnodes);
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:193:29: note: expanded from macro 'max'
193 | #define max(a,b) (((a) > (b)) ? (a) : (b))
| ^
src/main.cpp:98: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]
98 | 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\18\Community\VC\Tools\MSVC\14.50.35717\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\18\Community\VC\Tools\MSVC\14.50.35717\include\vcruntime.h:358:47: note: expanded from macro '_CRT_DEPRECATE_TEXT'
358 | #define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text))
| ^
src/main.cpp:99: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]
99 | 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\18\Community\VC\Tools\MSVC\14.50.35717\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\18\Community\VC\Tools\MSVC\14.50.35717\include\vcruntime.h:358:47: note: expanded from macro '_CRT_DEPRECATE_TEXT'
358 | #define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text))
| ^
2 warnings and 12 errors 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"
| ^
src\tt.h:159:59: error: too few arguments provided to function-like macro invocation
159 | auto minValue = std::numeric_limits<int32_t>::max();
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:193:9: note: macro 'max' defined here
193 | #define max(a,b) (((a) > (b)) ? (a) : (b))
| ^
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:168:23: error: comparison between pointer and integer ('int' and 'int (*)() noexcept')
168 | if (value < minValue) {
| ~~~~~ ^ ~~~~~~~~
src\tt.h:170:28: error: incompatible integer to pointer conversion assigning to 'int (*)() noexcept' from 'int'
170 | minValue = value;
| ^~~~~
In file included from src/movepicker.cpp:1:
In file included from src\movepicker.h:6:
src\search.h:37:21: error: expected unqualified-id
37 | return std::min(HIST_BONUS_QUADRATIC() * depth * depth + HIST_BONUS_LINEAR() * depth + HIST_BONUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/movepicker.cpp:1:
In file included from src\movepicker.h:6:
src\search.h:41:21: error: expected unqualified-id
41 | return std::min(CONT_HIST_BONUS_QUADRATIC() * depth * depth + CONT_HIST_BONUS_LINEAR() * depth + CONT_HIST_BONUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/movepicker.cpp:1:
In file included from src\movepicker.h:6:
src\search.h:45:21: error: expected unqualified-id
45 | return std::min(CAPT_HIST_BONUS_QUADRATIC() * depth * depth + CAPT_HIST_BONUS_LINEAR() * depth + CAPT_HIST_BONUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/movepicker.cpp:1:
In file included from src\movepicker.h:6:
src\search.h:49:22: error: expected unqualified-id
49 | return -std::min(HIST_MALUS_QUADRATIC() * depth * depth + HIST_MALUS_LINEAR() * depth + HIST_MALUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/movepicker.cpp:1:
In file included from src\movepicker.h:6:
src\search.h:53:22: error: expected unqualified-id
53 | return -std::min(CONT_HIST_MALUS_QUADRATIC() * depth * depth + CONT_HIST_MALUS_LINEAR() * depth + CONT_HIST_MALUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/movepicker.cpp:1:
In file included from src\movepicker.h:6:
src\search.h:57:22: error: expected unqualified-id
57 | return -std::min(CAPT_HIST_MALUS_QUADRATIC() * depth * depth + CAPT_HIST_MALUS_LINEAR() * depth + CAPT_HIST_MALUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/movepicker.cpp:1:
In file included from src\movepicker.h:6:
src\search.h:184:41: error: expected unqualified-id
184 | double compScale = std::max((COMPLEXITY_TM_BASE() / 100.0) + std::clamp(complexity, 0.0, 200.0) / static_cast<double>(COMPLEXITY_TM_DIVISOR()), 1.0);
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:193:29: note: expanded from macro 'max'
193 | #define max(a,b) (((a) > (b)) ? (a) : (b))
| ^
11 errors 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\tt.h:159:59: error: too few arguments provided to function-like macro invocation
159 | auto minValue = std::numeric_limits<int32_t>::max();
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:193:9: note: macro 'max' defined here
193 | #define max(a,b) (((a) > (b)) ? (a) : (b))
| ^
In file included from src/nnue.cpp:2:
In file included from src\search.h:8:
src\tt.h:168:23: error: comparison between pointer and integer ('int' and 'int (*)() noexcept')
168 | if (value < minValue) {
| ~~~~~ ^ ~~~~~~~~
src\tt.h:170:28: error: incompatible integer to pointer conversion assigning to 'int (*)() noexcept' from 'int'
170 | minValue = value;
| ^~~~~
In file included from src/nnue.cpp:2:
src\search.h:37:21: error: expected unqualified-id
37 | return std::min(HIST_BONUS_QUADRATIC() * depth * depth + HIST_BONUS_LINEAR() * depth + HIST_BONUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/nnue.cpp:2:
src\search.h:41:21: error: expected unqualified-id
41 | return std::min(CONT_HIST_BONUS_QUADRATIC() * depth * depth + CONT_HIST_BONUS_LINEAR() * depth + CONT_HIST_BONUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/nnue.cpp:2:
src\search.h:45:21: error: expected unqualified-id
45 | return std::min(CAPT_HIST_BONUS_QUADRATIC() * depth * depth + CAPT_HIST_BONUS_LINEAR() * depth + CAPT_HIST_BONUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/nnue.cpp:2:
src\search.h:49:22: error: expected unqualified-id
49 | return -std::min(HIST_MALUS_QUADRATIC() * depth * depth + HIST_MALUS_LINEAR() * depth + HIST_MALUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/nnue.cpp:2:
src\search.h:53:22: error: expected unqualified-id
53 | return -std::min(CONT_HIST_MALUS_QUADRATIC() * depth * depth + CONT_HIST_MALUS_LINEAR() * depth + CONT_HIST_MALUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/nnue.cpp:2:
src\search.h:57:22: error: expected unqualified-id
57 | return -std::min(CAPT_HIST_MALUS_QUADRATIC() * depth * depth + CAPT_HIST_MALUS_LINEAR() * depth + CAPT_HIST_MALUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/nnue.cpp:2:
src\search.h:184:41: error: expected unqualified-id
184 | double compScale = std::max((COMPLEXITY_TM_BASE() / 100.0) + std::clamp(complexity, 0.0, 200.0) / static_cast<double>(COMPLEXITY_TM_DIVISOR()), 1.0);
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:193:29: note: expanded from macro 'max'
193 | #define max(a,b) (((a) > (b)) ? (a) : (b))
| ^
In file included from src/nnue.cpp:3:
src\simd.h:9:17: warning: Using AVX512 NNUE inference [-W#pragma-messages]
9 | #pragma message("Using AVX512 NNUE inference")
| ^
1 warning and 11 errors 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\tt.h:159:59: error: too few arguments provided to function-like macro invocation
159 | auto minValue = std::numeric_limits<int32_t>::max();
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:193:9: note: macro 'max' defined here
193 | #define max(a,b) (((a) > (b)) ? (a) : (b))
| ^
In file included from src/search.cpp:1:
In file included from src\search.h:8:
src\tt.h:168:23: error: comparison between pointer and integer ('int' and 'int (*)() noexcept')
168 | if (value < minValue) {
| ~~~~~ ^ ~~~~~~~~
src\tt.h:170:28: error: incompatible integer to pointer conversion assigning to 'int (*)() noexcept' from 'int'
170 | minValue = value;
| ^~~~~
In file included from src/search.cpp:1:
src\search.h:37:21: error: expected unqualified-id
37 | return std::min(HIST_BONUS_QUADRATIC() * depth * depth + HIST_BONUS_LINEAR() * depth + HIST_BONUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/search.cpp:1:
src\search.h:41:21: error: expected unqualified-id
41 | return std::min(CONT_HIST_BONUS_QUADRATIC() * depth * depth + CONT_HIST_BONUS_LINEAR() * depth + CONT_HIST_BONUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/search.cpp:1:
src\search.h:45:21: error: expected unqualified-id
45 | return std::min(CAPT_HIST_BONUS_QUADRATIC() * depth * depth + CAPT_HIST_BONUS_LINEAR() * depth + CAPT_HIST_BONUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/search.cpp:1:
src\search.h:49:22: error: expected unqualified-id
49 | return -std::min(HIST_MALUS_QUADRATIC() * depth * depth + HIST_MALUS_LINEAR() * depth + HIST_MALUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/search.cpp:1:
src\search.h:53:22: error: expected unqualified-id
53 | return -std::min(CONT_HIST_MALUS_QUADRATIC() * depth * depth + CONT_HIST_MALUS_LINEAR() * depth + CONT_HIST_MALUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/search.cpp:1:
src\search.h:57:22: error: expected unqualified-id
57 | return -std::min(CAPT_HIST_MALUS_QUADRATIC() * depth * depth + CAPT_HIST_MALUS_LINEAR() * depth + CAPT_HIST_MALUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/search.cpp:1:
src\search.h:184:41: error: expected unqualified-id
184 | double compScale = std::max((COMPLEXITY_TM_BASE() / 100.0) + std::clamp(complexity, 0.0, 200.0) / static_cast<double>(COMPLEXITY_TM_DIVISOR()), 1.0);
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:193:29: note: expanded from macro 'max'
193 | #define max(a,b) (((a) > (b)) ? (a) : (b))
| ^
src/search.cpp:474:44: error: expected unqualified-id
474 | std::min(2, (ss->eval - beta) / NMP_EVAL_SCALE());
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
src/search.cpp:546:37: error: expected unqualified-id
546 | int lmrDepth = std::max(depth - baseLMR / 1024, 0);
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:193:29: note: expanded from macro 'max'
193 | #define max(a,b) (((a) > (b)) ? (a) : (b))
| ^
src/search.cpp:585:34: error: expected unqualified-id
585 | int sBeta = std::max(-MATE, ttData.score - SE_BETA_SCALE() * depth / 16);
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:193:29: note: expanded from macro 'max'
193 | #define max(a,b) (((a) > (b)) ? (a) : (b))
| ^
src/search.cpp:644:37: error: expected unqualified-id
644 | int lmrDepth = std::min(newDepth, std::max(1, newDepth - reduction));
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
src/search.cpp:644:56: error: expected unqualified-id
644 | int lmrDepth = std::min(newDepth, std::max(1, newDepth - reduction));
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:193:29: note: expanded from macro 'max'
193 | #define max(a,b) (((a) > (b)) ? (a) : (b))
| ^
src/search.cpp:644:56: error: expected unqualified-id
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:193:29: note: expanded from macro 'max'
193 | #define max(a,b) (((a) > (b)) ? (a) : (b))
| ^
src/search.cpp:776:34: error: expected unqualified-id
776 | int alpha = std::max(lastScore - delta, -EVAL_INF);
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:193:29: note: expanded from macro 'max'
193 | #define max(a,b) (((a) > (b)) ? (a) : (b))
| ^
src/search.cpp:777:33: error: expected unqualified-id
777 | int beta = std::min(lastScore + delta, EVAL_INF);
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors 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"
| ^
src\tt.h:159:59: error: too few arguments provided to function-like macro invocation
159 | auto minValue = std::numeric_limits<int32_t>::max();
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:193:9: note: macro 'max' defined here
193 | #define max(a,b) (((a) > (b)) ? (a) : (b))
| ^
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:168:23: error: comparison between pointer and integer ('int' and 'int (*)() noexcept')
168 | if (value < minValue) {
| ~~~~~ ^ ~~~~~~~~
src\tt.h:170:28: error: incompatible integer to pointer conversion assigning to 'int (*)() noexcept' from 'int'
170 | minValue = value;
| ^~~~~
In file included from src/searcher.cpp:1:
In file included from src\searcher.h:4:
src\search.h:37:21: error: expected unqualified-id
37 | return std::min(HIST_BONUS_QUADRATIC() * depth * depth + HIST_BONUS_LINEAR() * depth + HIST_BONUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/searcher.cpp:1:
In file included from src\searcher.h:4:
src\search.h:41:21: error: expected unqualified-id
41 | return std::min(CONT_HIST_BONUS_QUADRATIC() * depth * depth + CONT_HIST_BONUS_LINEAR() * depth + CONT_HIST_BONUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/searcher.cpp:1:
In file included from src\searcher.h:4:
src\search.h:45:21: error: expected unqualified-id
45 | return std::min(CAPT_HIST_BONUS_QUADRATIC() * depth * depth + CAPT_HIST_BONUS_LINEAR() * depth + CAPT_HIST_BONUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/searcher.cpp:1:
In file included from src\searcher.h:4:
src\search.h:49:22: error: expected unqualified-id
49 | return -std::min(HIST_MALUS_QUADRATIC() * depth * depth + HIST_MALUS_LINEAR() * depth + HIST_MALUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/searcher.cpp:1:
In file included from src\searcher.h:4:
src\search.h:53:22: error: expected unqualified-id
53 | return -std::min(CONT_HIST_MALUS_QUADRATIC() * depth * depth + CONT_HIST_MALUS_LINEAR() * depth + CONT_HIST_MALUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/searcher.cpp:1:
In file included from src\searcher.h:4:
src\search.h:57:22: error: expected unqualified-id
57 | return -std::min(CAPT_HIST_MALUS_QUADRATIC() * depth * depth + CAPT_HIST_MALUS_LINEAR() * depth + CAPT_HIST_MALUS_OFFSET(),
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:197:29: note: expanded from macro 'min'
197 | #define min(a,b) (((a) < (b)) ? (a) : (b))
| ^
In file included from src/searcher.cpp:1:
In file included from src\searcher.h:4:
src\search.h:184:41: error: expected unqualified-id
184 | double compScale = std::max((COMPLEXITY_TM_BASE() / 100.0) + std::clamp(complexity, 0.0, 200.0) / static_cast<double>(COMPLEXITY_TM_DIVISOR()), 1.0);
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\shared\minwindef.h:193:29: note: expanded from macro 'max'
193 | #define max(a,b) (((a) > (b)) ? (a) : (b))
| ^
11 errors generated.
make: *** [Makefile:55: Tarnished-14E9A917-4FF3AF06] Error 1