Log
46 lines 10 errors
1mkdir obj
2g++ -std=c++23 -c -o obj/benchmark.o source/benchmark.cpp -O3 -lpthread
3g++ -std=c++23 -c -o obj/bitboards.o source/bitboards.cpp -O3 -lpthread
4g++ -std=c++23 -c -o obj/board.o source/board.cpp -O3 -lpthread
5g++ -std=c++23 -c -o obj/evaluate.o source/evaluate.cpp -O3 -lpthread
6g++ -std=c++23 -c -o obj/main.o source/main.cpp -O3 -lpthread
7g++ -std=c++23 -c -o obj/movegen.o source/movegen.cpp -O3 -lpthread
8g++ -std=c++23 -c -o obj/perft.o source/perft.cpp -O3 -lpthread
9g++ -std=c++23 -c -o obj/search.o source/search.cpp -O3 -lpthread
10g++ -std=c++23 -c -o obj/tt.o source/tt.cpp -O3 -lpthread
11g++ -std=c++23 -c -o obj/uci.o source/uci.cpp -O3 -lpthread
12g++ -std=c++23 -c -o obj/utils.o source/utils.cpp -O3 -lpthread
13In file included from source/tt.h:3,
14from source/board.cpp:3:
15source/search.h: In member function 'void History::Update(bool, Move, int)':
16source/search.h:42:33: error: 'clamp' is not a member of 'std'
1742 | int clampedBonus = std::clamp(bonus, -maxHistory, maxHistory);
18| ^~~~~
19In file included from source/tt.h:3,
20from source/main.cpp:4:
21source/search.h: In member function 'void History::Update(bool, Move, int)':
22source/search.h:42:33: error: 'clamp' is not a member of 'std'
2342 | int clampedBonus = std::clamp(bonus, -maxHistory, maxHistory);
24| ^~~~~
25In file included from source/tt.h:3,
26from source/tt.cpp:1:
27source/search.h: In member function 'void History::Update(bool, Move, int)':
28source/search.h:42:33: error: 'clamp' is not a member of 'std'
2942 | int clampedBonus = std::clamp(bonus, -maxHistory, maxHistory);
30| ^~~~~
31In file included from source/benchmark.cpp:2:
32source/search.h: In member function 'void History::Update(bool, Move, int)':
33source/search.h:42:33: error: 'clamp' is not a member of 'std'
3442 | int clampedBonus = std::clamp(bonus, -maxHistory, maxHistory);
35| ^~~~~
36In file included from source/search.cpp:1:
37source/search.h: In member function 'void History::Update(bool, Move, int)':
38source/search.h:42:33: error: 'clamp' is not a member of 'std'
3942 | int clampedBonus = std::clamp(bonus, -maxHistory, maxHistory);
40| ^~~~~
41make: *** [Makefile:36: obj/main.o] Error 1
42make: *** Waiting for unfinished jobs....
43make: *** [Makefile:36: obj/tt.o] Error 1
44make: *** [Makefile:36: obj/board.o] Error 1
45make: *** [Makefile:36: obj/benchmark.o] Error 1
46make: *** [Makefile:36: obj/search.o] Error 1
No lines match.