mkdir -p obj
clang++ -std=c++20 -c -o obj/accumulator.o source/accumulator.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/tt.o source/tt.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/search.o source/search.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/nnue.o source/nnue.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/utils.o source/utils.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/uci.o source/uci.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/datagen.o source/datagen.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/benchmark.o source/benchmark.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/board.o source/board.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/tests.o source/tests.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/perft.o source/perft.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/bitboard.o source/bitboard.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/movegen.o source/movegen.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/main.o source/main.cpp -O3 -march=native -flto -static
In file included from source/board.cpp:3:
source/tt.h:46:34: warning: implicit conversion from 'int' to 'const int16_t' (aka 'const short') changes value from 111111 to -19961 [-Wconstant-conversion]
constexpr int16_t invalidEntry = 111111;
                  ~~~~~~~~~~~~   ^~~~~~
source/board.cpp:5:10: fatal error: 'ranges' file not found
#include <ranges>
         ^~~~~~~~
In file included from source/main.cpp:6:
In file included from source/search.h:8:
source/tt.h:46:34: warning: implicit conversion from 'int' to 'const int16_t' (aka 'const short') changes value from 111111 to -19961 [-Wconstant-conversion]
constexpr int16_t invalidEntry = 111111;
                  ~~~~~~~~~~~~   ^~~~~~
1 warning and 1 error generated.
make: *** [Makefile:33: obj/board.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from source/tt.cpp:1:
source/tt.h:46:34: warning: implicit conversion from 'int' to 'const int16_t' (aka 'const short') changes value from 111111 to -19961 [-Wconstant-conversion]
constexpr int16_t invalidEntry = 111111;
                  ~~~~~~~~~~~~   ^~~~~~
In file included from source/search.cpp:1:
In file included from source/search.h:8:
source/tt.h:46:34: warning: implicit conversion from 'int' to 'const int16_t' (aka 'const short') changes value from 111111 to -19961 [-Wconstant-conversion]
constexpr int16_t invalidEntry = 111111;
                  ~~~~~~~~~~~~   ^~~~~~
In file included from source/nnue.cpp:8:
In file included from source/search.h:8:
source/tt.h:46:34: warning: implicit conversion from 'int' to 'const int16_t' (aka 'const short') changes value from 111111 to -19961 [-Wconstant-conversion]
constexpr int16_t invalidEntry = 111111;
                  ~~~~~~~~~~~~   ^~~~~~
1 warning generated.
1 warning generated.
In file included from source/benchmark.cpp:6:
In file included from source/search.h:8:
source/tt.h:46:34: warning: implicit conversion from 'int' to 'const int16_t' (aka 'const short') changes value from 111111 to -19961 [-Wconstant-conversion]
constexpr int16_t invalidEntry = 111111;
                  ~~~~~~~~~~~~   ^~~~~~
In file included from source/tests.cpp:6:
In file included from source/search.h:8:
source/tt.h:46:34: warning: implicit conversion from 'int' to 'const int16_t' (aka 'const short') changes value from 111111 to -19961 [-Wconstant-conversion]
constexpr int16_t invalidEntry = 111111;
                  ~~~~~~~~~~~~   ^~~~~~
In file included from source/uci.cpp:9:
In file included from source/search.h:8:
source/tt.h:46:34: warning: implicit conversion from 'int' to 'const int16_t' (aka 'const short') changes value from 111111 to -19961 [-Wconstant-conversion]
constexpr int16_t invalidEntry = 111111;
                  ~~~~~~~~~~~~   ^~~~~~
1 warning generated.
In file included from source/datagen.cpp:9:
In file included from source/search.h:8:
source/tt.h:46:34: warning: implicit conversion from 'int' to 'const int16_t' (aka 'const short') changes value from 111111 to -19961 [-Wconstant-conversion]
constexpr int16_t invalidEntry = 111111;
                  ~~~~~~~~~~~~   ^~~~~~
1 warning generated.
source/nnue.cpp:55:9: warning: Using AVX2 NNUE inference [-W#pragma-messages]
#pragma message("Using AVX2 NNUE inference")
        ^
2 warnings generated.
1 warning generated.
1 warning generated.
1 warning generated.