mkdir -p ".tmp" ".tmp/Source"
gcc -funroll-loops -fomit-frame-pointer -O3 -flto -fno-exceptions -DIS_64BIT -DNDEBUG -Wall -Wextra -Wno-unused-variable -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -march=native -MMD -MP -c bench.c -o .tmp/bench.o -pthread -lm
gcc -funroll-loops -fomit-frame-pointer -O3 -flto -fno-exceptions -DIS_64BIT -DNDEBUG -Wall -Wextra -Wno-unused-variable -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -march=native -MMD -MP -c bit_manipulation.c -o .tmp/bit_manipulation.o -pthread -lm
gcc -funroll-loops -fomit-frame-pointer -O3 -flto -fno-exceptions -DIS_64BIT -DNDEBUG -Wall -Wextra -Wno-unused-variable -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -march=native -MMD -MP -c board_constants.c -o .tmp/board_constants.o -pthread -lm
gcc -funroll-loops -fomit-frame-pointer -O3 -flto -fno-exceptions -DIS_64BIT -DNDEBUG -Wall -Wextra -Wno-unused-variable -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -march=native -MMD -MP -c evaluation.c -o .tmp/evaluation.o -pthread -lm
gcc -funroll-loops -fomit-frame-pointer -O3 -flto -fno-exceptions -DIS_64BIT -DNDEBUG -Wall -Wextra -Wno-unused-variable -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -march=native -MMD -MP -c fen.c -o .tmp/fen.o -pthread -lm
gcc -funroll-loops -fomit-frame-pointer -O3 -flto -fno-exceptions -DIS_64BIT -DNDEBUG -Wall -Wextra -Wno-unused-variable -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -march=native -MMD -MP -c generate_fen.c -o .tmp/generate_fen.o -pthread -lm
gcc -funroll-loops -fomit-frame-pointer -O3 -flto -fno-exceptions -DIS_64BIT -DNDEBUG -Wall -Wextra -Wno-unused-variable -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -march=native -MMD -MP -c history.c -o .tmp/history.o -pthread -lm
gcc -funroll-loops -fomit-frame-pointer -O3 -flto -fno-exceptions -DIS_64BIT -DNDEBUG -Wall -Wextra -Wno-unused-variable -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -march=native -MMD -MP -c magic.c -o .tmp/magic.o -pthread -lm
gcc -funroll-loops -fomit-frame-pointer -O3 -flto -fno-exceptions -DIS_64BIT -DNDEBUG -Wall -Wextra -Wno-unused-variable -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -march=native -MMD -MP -c mask.c -o .tmp/mask.o -pthread -lm
gcc -funroll-loops -fomit-frame-pointer -O3 -flto -fno-exceptions -DIS_64BIT -DNDEBUG -Wall -Wextra -Wno-unused-variable -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -march=native -MMD -MP -c move.c -o .tmp/move.o -pthread -lm
gcc -funroll-loops -fomit-frame-pointer -O3 -flto -fno-exceptions -DIS_64BIT -DNDEBUG -Wall -Wextra -Wno-unused-variable -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -march=native -MMD -MP -c perft.c -o .tmp/perft.o -pthread -lm
gcc -funroll-loops -fomit-frame-pointer -O3 -flto -fno-exceptions -DIS_64BIT -DNDEBUG -Wall -Wextra -Wno-unused-variable -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -march=native -MMD -MP -c potential.c -o .tmp/potential.o -pthread -lm
gcc -funroll-loops -fomit-frame-pointer -O3 -flto -fno-exceptions -DIS_64BIT -DNDEBUG -Wall -Wextra -Wno-unused-variable -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -march=native -MMD -MP -c search.c -o .tmp/search.o -pthread -lm
gcc -funroll-loops -fomit-frame-pointer -O3 -flto -fno-exceptions -DIS_64BIT -DNDEBUG -Wall -Wextra -Wno-unused-variable -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -march=native -MMD -MP -c see.c -o .tmp/see.o -pthread -lm
gcc -funroll-loops -fomit-frame-pointer -O3 -flto -fno-exceptions -DIS_64BIT -DNDEBUG -Wall -Wextra -Wno-unused-variable -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -march=native -MMD -MP -c table.c -o .tmp/table.o -pthread -lm
gcc -funroll-loops -fomit-frame-pointer -O3 -flto -fno-exceptions -DIS_64BIT -DNDEBUG -Wall -Wextra -Wno-unused-variable -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -march=native -MMD -MP -c timeman.c -o .tmp/timeman.o -pthread -lm
gcc -funroll-loops -fomit-frame-pointer -O3 -flto -fno-exceptions -DIS_64BIT -DNDEBUG -Wall -Wextra -Wno-unused-variable -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -march=native -MMD -MP -c uci.c -o .tmp/uci.o -pthread -lm
gcc -funroll-loops -fomit-frame-pointer -O3 -flto -fno-exceptions -DIS_64BIT -DNDEBUG -Wall -Wextra -Wno-unused-variable -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -march=native -MMD -MP -c utils.c -o .tmp/utils.o -pthread -lm
board_constants.c:31:24: warning: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (13 chars into 12 available) [-Wunterminated-string-initialization]
31 | char asciiPieces[12] = "PNBRQKpnbrqk";
| ^~~~~~~~~~~~~~
table.c: In function ‘init_hash_table’:
table.c:349:71: error: ‘ANONYMOUS’ undeclared (first use in this function); did you mean ‘MAP_ANONYMOUS’?
349 | ptr = mmap(NULL, bytes, PROT_READ | PROT_WRITE, MAP_PRIVATE | ANONYMOUS | MAP_HUGETLB, -1, 0);
| ^~~~~~~~~
| MAP_ANONYMOUS
table.c:349:71: note: each undeclared identifier is reported only once for each function it appears in
make: *** [makefile:190: .tmp/table.o] Error 1
make: *** Waiting for unfinished jobs....
uci.c: In function ‘uciProtocol’:
uci.c:436:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int *’, but argument 3 has type ‘uint64_t *’ {aka ‘long unsigned int *’} [-Wformat=]
436 | int items_scanned = sscanf(command, "genfens %llu seed %llu book %s %[^\n]",
| ~~~^
| |
| long long unsigned int *
| %lu
437 | &how_many_fens_to_create, &seed, book_path, extra_args);
| ~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint64_t * {aka long unsigned int *}
uci.c:436:67: warning: format ‘%llu’ expects argument of type ‘long long unsigned int *’, but argument 4 has type ‘uint64_t *’ {aka ‘long unsigned int *’} [-Wformat=]
436 | int items_scanned = sscanf(command, "genfens %llu seed %llu book %s %[^\n]",
| ~~~^
| |
| long long unsigned int *
| %lu
437 | &how_many_fens_to_create, &seed, book_path, extra_args);
| ~~~~~
| |
| uint64_t * {aka long unsigned int *}
uci.c:443:61: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
443 | fprintf(stderr, " How Many FENs To Create: %llu\n", how_many_fens_to_create);
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | uint64_t {aka long unsigned int}
| long long unsigned int
| %lu
uci.c:444:41: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
444 | fprintf(stderr, " Seed: %llu\n", seed);
| ~~~^ ~~~~
| | |
| | uint64_t {aka long unsigned int}
| long long unsigned int
| %lu