clang++ -O3 -march=native -ffast-math -funroll-loops -flto -fuse-ld=lld -std=c++20 -static -DNDEBUG -DEVALFILE=\"/home/nocturn9x/OpenBench/Client/Networks/408E3A82\" ./src/Prelude.cpp ./src/accumulator.cpp ./src/board.cpp ./src/move.cpp ./src/movegen.cpp ./src/nnue.cpp ./src/search.cpp -o Prelude-53B9C342-408E3A82
In file included from ./src/Prelude.cpp:11:
./src/search.h:93:46: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709519104 to -32512 [-Wconstant-conversion]
93 | constexpr i32 MATED_IN_MAX_PLY = -MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~~
1 warning generated.
In file included from ./src/board.cpp:4:
./src/search.h:93:46: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709519104 to -32512 [-Wconstant-conversion]
93 | constexpr i32 MATED_IN_MAX_PLY = -MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~~
1 warning generated.
In file included from ./src/nnue.cpp:6:
./src/search.h:93:46: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709519104 to -32512 [-Wconstant-conversion]
93 | constexpr i32 MATED_IN_MAX_PLY = -MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~~
1 warning generated.
In file included from ./src/search.cpp:1:
./src/search.h:93:46: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709519104 to -32512 [-Wconstant-conversion]
93 | constexpr i32 MATED_IN_MAX_PLY = -MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~~
./src/search.cpp:180:22: error: no matching function for call to 'max'
180 | hardSearchTime = std::max(0LL, hardSearchTime);
| ^~~~~~~~
/opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/algorithmfwd.h:407:5: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('long long' vs. 'i64' (aka 'long'))
407 | max(const _Tp&, const _Tp&);
| ^
/opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/stl_algo.h:5805:5: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'long long'
5805 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^
/opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/stl_algo.h:5795:5: note: candidate function template not viable: requires single argument '__l', but 2 arguments were provided
5795 | max(initializer_list<_Tp> __l)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/algorithmfwd.h:412:5: note: candidate function template not viable: requires 3 arguments, but 2 were provided
412 | max(const _Tp&, const _Tp&, _Compare);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
make: *** [makefile:29: Prelude-53B9C342-408E3A82] Error 1