g++ code/main.cpp -o Simpler-05F8B65B -O3 -march=native
In file included from code/board.h:48,
from code/moveGeneration.h:9,
from code/moveListGeneration.h:23,
from code/searcher.h:8,
from code/main.cpp:4:
code/nnue.h: In member function ‘int NNUEevaluator::screlu(int)’:
code/nnue.h:80:5: error: ‘clamp’ was not declared in this scope
80 | x=clamp(x,0,QA);
| ^~~~~
In file included from code/main.cpp:4:
code/searcher.h: In member function ‘int Worker::quiescentSearch(Board&, int, int, int, int)’:
code/searcher.h:117:8: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
117 | auto [hashTableEvaluation, bestHashMove]=transpositionTableQuiescent.get(board,currentZobristKey,0,alpha,beta);
| ^
In file included from code/main.cpp:4:
code/searcher.h: In member function ‘int Worker::search(Board&, int, int, int, int, int, int)’:
code/searcher.h:290:8: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
290 | auto [hashTableEvaluation, bestHashMove]=transpositionTable.get(board,currentZobristKey,depth,alpha,beta);
| ^
code/searcher.h: In member function ‘void Worker::getPvLine(Board&, int)’:
code/searcher.h:721:8: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
721 | auto [hashTableEvaluation, bestHashMove]=transpositionTable.get(board,currentZobristKey,0,0,0);
| ^
code/searcher.h: In member function ‘void Searcher::iterativeDeepeningSearch(int, int, int, int, int)’:
code/searcher.h:908:32: error: ‘clamp’ was not declared in this scope
908 | branchFactor=(branchFactor+clamp(float(dnodes[depth])/dnodes[depth-1],float(1.3),float(6)))/2;
| ^~~~~
make: *** [Makefile:4: all] Error 1