g++
-std=c++20 -O3 -Wall -Wextra -Wpedantic -mavx2 -DNNUE=1 -DENABLE_INCBIN=1  -DENABLE_TABLEBASES=1  -DEVALFILE=\"/users/eleves-b/2023/luca-mihnea.metehau/OpenBench/Client/Networks/EDF1F4D2\"
-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 chess.cpp-F1FAC157-EDF1F4D2 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=\"/users/eleves-b/2023/luca-mihnea.metehau/OpenBench/Client/Networks/EDF1F4D2\" -pthread --static 
search.cpp: In member function ‘bool Search::IsRepetitionOr50Move(const Board&) const’:
search.cpp:155:57: warning: comparison of integer expressions of different signedness: ‘HistoryPly’ {aka ‘short int’} and ‘std::vector<UndoData>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  155 |     for (HistoryPly ply = board.FiftyMoveRuleIndex; ply < board.History.size(); ply++)
      |                                                     ~~~~^~~~~~~~~~~~~~~~~~~~~~
search.cpp: In member function ‘bool Search::IsRepetitionOr50MoveAfterMove(const Board&, Move) const’:
search.cpp:182:64: warning: comparison of integer expressions of different signedness: ‘HistoryPly’ {aka ‘short int’} and ‘std::vector<UndoData>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  182 |     for (HistoryPly ply = keyAnd50Move.FiftyMoveRuleIndex; ply < board.History.size(); ply++)
      |                                                            ~~~~^~~~~~~~~~~~~~~~~~~~~~
search.cpp: In member function ‘Score Search::AlphaBeta(ThreadState&, Board&, Ply, Ply, Score, Score, bool, bool)’:
search.cpp:832:62: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
  832 |             if (quiet && !inCheck && quietMovesEvaluated > 2 + depth * depth >> !improving)
      |                                                            ~~^~~~~~~~~~~~~~~
In file included from search.cpp:5:
evalbase.h: At global scope:
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
      |                       ^~~~~~~~~~~~~~~~~~~~~~~
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) {
      |                                         ^
/usr/bin/ld: cannot find -lstdc++
/usr/bin/ld: cannot find -lm
/usr/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
make: *** [Makefile:61: build] Error 1