Log
29 lines 3 errors 3 warnings
1g++ code/main.cpp -o Simpler-5756EF1A -O3 -march=native
2In file included from code/board.h:48,
3from code/moveGeneration.h:9,
4from code/moveListGeneration.h:23,
5from code/searcher.h:8,
6from code/main.cpp:4:
7code/nnue.h: In member function ‘int NNUEevaluator::screlu(int)’:
8code/nnue.h:80:5: error: ‘clamp’ was not declared in this scope
980 | x=clamp(x,0,QA);
10| ^~~~~
11In file included from code/main.cpp:4:
12code/searcher.h: In member function ‘int Worker::quiescentSearch(Board&, int, int, int, int)’:
13code/searcher.h:117:8: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
14117 | auto [hashTableEvaluation, bestHashMove]=transpositionTableQuiescent.get(board,currentZobristKey,0,alpha,beta);
15| ^
16In file included from code/main.cpp:4:
17code/searcher.h: In member function ‘int Worker::search(Board&, int, int, int, int, int, int)’:
18code/searcher.h:290:8: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
19290 | auto [hashTableEvaluation, bestHashMove]=transpositionTable.get(board,currentZobristKey,depth,alpha,beta);
20| ^
21code/searcher.h: In member function ‘void Worker::getPvLine(Board&, int)’:
22code/searcher.h:721:8: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
23721 | auto [hashTableEvaluation, bestHashMove]=transpositionTable.get(board,currentZobristKey,0,0,0);
24| ^
25code/searcher.h: In member function ‘void Searcher::iterativeDeepeningSearch(int, int, int, int, int)’:
26code/searcher.h:908:32: error: ‘clamp’ was not declared in this scope
27908 | branchFactor=(branchFactor+clamp(float(dnodes[depth])/dnodes[depth-1],float(1.3),float(6)))/2;
28| ^~~~~
29make: *** [Makefile:4: all] Error 1
No lines match.