fatal: not a git repository (or any of the parent directories): .git
gcc -std=gnu11 -Wall -Wextra -Wshadow -Werror -Wmissing-declarations -O3 -flto=auto -march=native -DNDEBUG *.c pyrrhic/tbprobe.c tuner/*.c query/*.c noobprobe/*.c onlinesyzygy/*.c -pthread -lm -o Weiss-ABC7249B -fprofile-generate="pgo"
In file included from search.c:33:
time.h: In function ‘Now’:
time.h:28:5: error: implicit declaration of function ‘clock_gettime’ [-Werror=implicit-function-declaration]
28 | clock_gettime(CLOCK_MONOTONIC, &t);
| ^~~~~~~~~~~~~
time.h:28:19: error: ‘CLOCK_MONOTONIC’ undeclared (first use in this function)
28 | clock_gettime(CLOCK_MONOTONIC, &t);
| ^~~~~~~~~~~~~~~
time.h:28:19: note: each undeclared identifier is reported only once for each function it appears in
cc1: all warnings being treated as errors
In file included from tests.c:30:
time.h: In function ‘Now’:
time.h:28:5: error: implicit declaration of function ‘clock_gettime’ [-Werror=implicit-function-declaration]
28 | clock_gettime(CLOCK_MONOTONIC, &t);
| ^~~~~~~~~~~~~
time.h:28:19: error: ‘CLOCK_MONOTONIC’ undeclared (first use in this function)
28 | clock_gettime(CLOCK_MONOTONIC, &t);
| ^~~~~~~~~~~~~~~
time.h:28:19: note: each undeclared identifier is reported only once for each function it appears in
cc1: all warnings being treated as errors
In file included from /usr/include/pthread.h:23,
from threads.c:19:
./time.h: In function ‘Now’:
./time.h:28:19: error: ‘CLOCK_MONOTONIC’ undeclared (first use in this function)
28 | clock_gettime(CLOCK_MONOTONIC, &t);
| ^~~~~~~~~~~~~~~
./time.h:28:19: note: each undeclared identifier is reported only once for each function it appears in
In file included from time.c:20:
time.h: In function ‘Now’:
time.h:27:21: error: storage size of ‘t’ isn’t known
27 | struct timespec t;
| ^
time.h:28:5: error: implicit declaration of function ‘clock_gettime’ [-Werror=implicit-function-declaration]
28 | clock_gettime(CLOCK_MONOTONIC, &t);
| ^~~~~~~~~~~~~
time.h:28:19: error: ‘CLOCK_MONOTONIC’ undeclared (first use in this function)
28 | clock_gettime(CLOCK_MONOTONIC, &t);
| ^~~~~~~~~~~~~~~
time.h:28:19: note: each undeclared identifier is reported only once for each function it appears in
time.h:27:21: error: unused variable ‘t’ [-Werror=unused-variable]
27 | struct timespec t;
| ^
time.h:30:1: error: control reaches end of non-void function [-Werror=return-type]
30 | }
| ^
cc1: all warnings being treated as errors
In file included from uci.c:32:
time.h: In function ‘Now’:
time.h:28:5: error: implicit declaration of function ‘clock_gettime’ [-Werror=implicit-function-declaration]
28 | clock_gettime(CLOCK_MONOTONIC, &t);
| ^~~~~~~~~~~~~
time.h:28:19: error: ‘CLOCK_MONOTONIC’ undeclared (first use in this function)
28 | clock_gettime(CLOCK_MONOTONIC, &t);
| ^~~~~~~~~~~~~~~
time.h:28:19: note: each undeclared identifier is reported only once for each function it appears in
cc1: all warnings being treated as errors
In file included from /usr/include/pthread.h:23,
from pyrrhic/tbprobe.c:55:
./time.h: In function ‘Now’:
./time.h:28:19: error: ‘CLOCK_MONOTONIC’ undeclared (first use in this function)
28 | clock_gettime(CLOCK_MONOTONIC, &t);
| ^~~~~~~~~~~~~~~
./time.h:28:19: note: each undeclared identifier is reported only once for each function it appears in
pyrrhic/tbprobe.c: At top level:
pyrrhic/tbprobe.c:312:8: error: redefinition of ‘struct PawnEntry’
312 | struct PawnEntry {
| ^~~~~~~~~
In file included from ./threads.h:24,
from ./time.h:23:
./evaluate.h:27:16: note: originally defined here
27 | typedef struct PawnEntry {
| ^~~~~~~~~
make: *** [Makefile:88: pgo] Error 1