clang++ -O3 -march=native -ffast-math -fno-finite-math-only -funroll-loops -flto -fuse-ld=lld -std=c++20 -static -DNDEBUG -DEVALFILE=\"/home/nocturn9x/OpenBench/Client/Networks/77F8F4D5\" ./src/accumulator.cpp ./src/board.cpp ./src/datagen.cpp ./src/move.cpp ./src/movegen.cpp ./src/nnue.cpp ./src/Prelude.cpp ./src/search.cpp ./src/searcher.cpp ./external/fmt/format.cc -o Prelude-BAFD9FBA-77F8F4D5
In file included from ./src/board.cpp:6:
./src/search.h:123:46: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709519104 to -32512 [-Wconstant-conversion]
  123 | constexpr i32 MATED_IN_MAX_PLY = -MATE_SCORE + MAX_PLY;
      |               ~~~~~~~~~~~~~~~~   ~~~~~~~~~~~~^~~~~~~~~
1 warning generated.
In file included from ./src/datagen.cpp:4:
./src/search.h:123:46: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709519104 to -32512 [-Wconstant-conversion]
  123 | constexpr i32 MATED_IN_MAX_PLY = -MATE_SCORE + MAX_PLY;
      |               ~~~~~~~~~~~~~~~~   ~~~~~~~~~~~~^~~~~~~~~
1 warning generated.
./src/movegen.cpp:376:62: error: no matching function for call to 'max'
  376 |     cout << "Nodes per second: " << formatNum(nodes * 1000 / std::max(elapsedTime, 1ULL)) << endl;
      |                                                              ^~~~~~~~
/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' ('u64' (aka 'unsigned long') vs. 'unsigned long 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 'u64' (aka 'unsigned 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);
      |     ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/movegen.cpp:435:36: error: no matching function for call to 'max'
  435 |         usize nps = nodes * 1000 / std::max(elapsed, 1ULL);
      |                                    ^~~~~~~~
/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' ('u64' (aka 'unsigned long') vs. 'unsigned long 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 'u64' (aka 'unsigned 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);
      |     ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/movegen.cpp:450:37: error: no matching function for call to 'max'
  450 |     usize nps = totalNodes * 1000 / std::max(elapsed, 1ULL);
      |                                     ^~~~~~~~
/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' ('u64' (aka 'unsigned long') vs. 'unsigned long 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 'u64' (aka 'unsigned 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);
      |     ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./src/movegen.cpp:1:
In file included from ./src/movegen.h:5:
In file included from ./src/board.h:3:
./src/util.h:65:37: warning: shift count is negative [-Wshift-count-negative]
   65 |     return dir > 0 ? bb << dir : bb >> -dir;
      |                                     ^  ~~~~
./src/util.h:73:12: note: in instantiation of function template specialization 'shift<8>' requested here
   73 |     return shift<relDir>(bb);
      |            ^
./src/movegen.h:59:22: note: in instantiation of function template specialization 'shiftRelative<WHITE, 8>' requested here
   59 |     u64 singlePush = shiftRelative<stm, NORTH>(pawnBB) & free;
      |                      ^
./src/movegen.h:238:9: note: in instantiation of function template specialization 'Movegen::generatePawnMoves<WHITE, ALL_MOVES>' requested here
  238 |         generatePawnMoves<WHITE, mode>(board, moves);
      |         ^
./src/movegen.cpp:256:31: note: in instantiation of function template specialization 'Movegen::generateMoves<ALL_MOVES>' requested here
  256 |     MoveList moves = Movegen::generateMoves<ALL_MOVES>(board);
      |                               ^
In file included from ./src/movegen.cpp:1:
In file included from ./src/movegen.h:5:
In file included from ./src/board.h:3:
./src/util.h:65:25: warning: shift count is negative [-Wshift-count-negative]
   65 |     return dir > 0 ? bb << dir : bb >> -dir;
      |                         ^  ~~~
./src/util.h:73:12: note: in instantiation of function template specialization 'shift<-8>' requested here
   73 |     return shift<relDir>(bb);
      |            ^
./src/movegen.h:59:22: note: in instantiation of function template specialization 'shiftRelative<BLACK, 8>' requested here
   59 |     u64 singlePush = shiftRelative<stm, NORTH>(pawnBB) & free;
      |                      ^
./src/movegen.h:240:9: note: in instantiation of function template specialization 'Movegen::generatePawnMoves<BLACK, ALL_MOVES>' requested here
  240 |         generatePawnMoves<BLACK, mode>(board, moves);
      |         ^
./src/movegen.cpp:256:31: note: in instantiation of function template specialization 'Movegen::generateMoves<ALL_MOVES>' requested here
  256 |     MoveList moves = Movegen::generateMoves<ALL_MOVES>(board);
      |                               ^
2 warnings and 3 errors generated.
In file included from ./src/nnue.cpp:6:
./src/search.h:123:46: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709519104 to -32512 [-Wconstant-conversion]
  123 | constexpr i32 MATED_IN_MAX_PLY = -MATE_SCORE + MAX_PLY;
      |               ~~~~~~~~~~~~~~~~   ~~~~~~~~~~~~^~~~~~~~~
1 warning generated.
In file included from ./src/Prelude.cpp:12:
./src/search.h:123:46: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709519104 to -32512 [-Wconstant-conversion]
  123 | constexpr i32 MATED_IN_MAX_PLY = -MATE_SCORE + MAX_PLY;
      |               ~~~~~~~~~~~~~~~~   ~~~~~~~~~~~~^~~~~~~~~
1 warning generated.
In file included from ./src/search.cpp:1:
./src/search.h:123:46: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709519104 to -32512 [-Wconstant-conversion]
  123 | constexpr i32 MATED_IN_MAX_PLY = -MATE_SCORE + MAX_PLY;
      |               ~~~~~~~~~~~~~~~~   ~~~~~~~~~~~~^~~~~~~~~
1 warning generated.
In file included from ./src/searcher.cpp:1:
In file included from ./src/searcher.h:4:
./src/search.h:123:46: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709519104 to -32512 [-Wconstant-conversion]
  123 | constexpr i32 MATED_IN_MAX_PLY = -MATE_SCORE + MAX_PLY;
      |               ~~~~~~~~~~~~~~~~   ~~~~~~~~~~~~^~~~~~~~~
1 warning generated.
make: *** [makefile:29: Prelude-BAFD9FBA-77F8F4D5] Error 1