g++
-std=c++20 -O3 -Wall -Wextra -Wpedantic -mavx2 -DNNUE=1 -DENABLE_INCBIN=1  -DENABLE_TABLEBASES=1  -DEVALFILE=\"networks/default.nnue\"
-pthread --static 
ChessDotCpp.cpp attacks.cpp search.cpp board.cpp fen.cpp perft.cpp movegen.cpp magics.cpp move.cpp moveorder.cpp uci.cpp tablebases.cpp evaluationClassical2.cpp movepick.cpp searchhash.cpp evaluationNnueBase.cpp external/fathom/src/tbprobe.cpp

g++ -o /tmp/tmp8yg2afzs/chess.cpp/chess.cpp-master/src/ChessDotCpp/chess.cpp-D4C57678 ChessDotCpp.cpp attacks.cpp search.cpp board.cpp fen.cpp perft.cpp movegen.cpp magics.cpp move.cpp moveorder.cpp uci.cpp tablebases.cpp evaluationClassical2.cpp movepick.cpp searchhash.cpp evaluationNnueBase.cpp external/fathom/src/tbprobe.cpp -std=c++20 -O3 -Wall -Wextra -Wpedantic -mavx2 -DNNUE=1 -DENABLE_INCBIN=1  -DENABLE_TABLEBASES=1  -DEVALFILE=\"networks/default.nnue\" -pthread --static 
In file included from search.cpp:5:
evalbase.h:24:14: warning: ‘Phase GetPhase(const BoardBase&)’ defined but not used [-Wunused-function]
   24 | static Phase GetPhase(const BoardBase& board)
      |              ^~~~~~~~
searchhash.cpp: In member function ‘void TranspositionTable::Clear()’:
searchhash.cpp:69:16: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class TranspositionTableEntry’; use assignment or value-initialization instead [-Wclass-memaccess]
   69 |     std::memset(_entries.get(), 0, bytesToClear);
      |     ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from searchhash.cpp:1:
searchhash.h:21:23: note: ‘class TranspositionTableEntry’ declared here
   21 | class /*alignas(64)*/ TranspositionTableEntry
      |                       ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/ccRVBdDr.s: Assembler messages:
/tmp/ccRVBdDr.s:9: Error: file not found: networks/default.nnue
external/fathom/src/tbprobe.cpp: In function ‘void tb_expand_mate({anonymous}::Pos*, TbRootMove*, {anonymous}::Value, unsigned int)’:
external/fathom/src/tbprobe.cpp:2459:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
 2459 |   if (popcount(pos->white | pos->black) <= cardinalityDTM) {
      |                                         ^
make: *** [Makefile:61: build] Error 1