mkdir -p build
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -pthread -c -o build/tbprobe.o src/external/fathom/tbprobe.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/bmi2.o src/bmi2.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/board.o src/board.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/eval.o src/eval.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/globals.o src/globals.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/move.o src/move.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/movegen.o src/movegen.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/search.o src/search.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/tests.o src/tests.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/tt.o src/tt.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/tunables.o src/tunables.cpp
g++ -std=c++20 -flto -march=native -fexceptions -Wall -Wextra -pthread -DNetworkFile=\"/root/OpenBench2/Client/Networks/BAD01AC2\" -DNDEBUG -O3 -c -o build/uci.o src/uci.cpp
src/search.cpp: In member function ‘void Engine::resetEngine()’:
src/search.cpp:59:16: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘std::array<std::array<Move, 64>, 64>::value_type’ {aka ‘struct std::array<Move, 64>’}; use assignment or value-initialization instead [-Wclass-memaccess]
   59 |     std::memset(counterMoves.data(), 0, sizeof(counterMoves));
      |     ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/globals.h:25,
                 from src/search.h:20,
                 from src/search.cpp:19:
/opt/rh/devtoolset-11/root/usr/include/c++/11/array:95:12: note: ‘std::array<std::array<Move, 64>, 64>::value_type’ {aka ‘struct std::array<Move, 64>’} declared here
   95 |     struct array
      |            ^~~~~
src/search.cpp: In member function ‘int16_t Engine::qSearch(Board&, int, int, int16_t)’:
src/search.cpp:228:18: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  228 |         if(nodes > hardNodeCap) {
      |            ~~~~~~^~~~~~~~~~~~~
src/search.cpp: In member function ‘int16_t Engine::negamax(Board&, int, int, int, int16_t, bool, bool)’:
src/search.cpp:399:18: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  399 |         if(nodes >= hardNodeCap) {
      |            ~~~~~~^~~~~~~~~~~~~~
src/search.cpp: In member function ‘std::string Engine::getPV(Board)’:
src/search.cpp:739:33: warning: unused parameter ‘board’ [-Wunused-parameter]
  739 | std::string Engine::getPV(Board board) {
      |                           ~~~~~~^~~~~
src/search.cpp: In member function ‘std::pair<Move, int> Engine::dataGenSearch(Board, int)’:
src/search.cpp:1026:26: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
 1026 |                 if(nodes > nodeCap) break;
      |                    ~~~~~~^~~~~~~~~
src/search.cpp:1041:18: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
 1041 |         if(nodes > nodeCap) break;
      |            ~~~~~~^~~~~~~~~
virtual memory exhausted: Cannot allocate memory
make: *** [makefile:46: build/search.o] Error 1