../install/bin/musl-gcc -Isrc/common -Isrc/common -pipe -std=c99 -D_POSIX_C_SOURCE=200809L -Wall -Wno-unused-function -Wno-missing-braces -Wno-unused -Wno-overflow -Wno-unknown-pragmas -fno-builtin -frounding-math -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-sign -Werror=pointer-arith -g -D_FILE_OFFSET_BITS=64 -pedantic-errors -Werror -Wno-unused -D_XOPEN_SOURCE=700 -c -o src/api/unistd.o src/api/unistd.c 2>src/api/unistd.o.err || echo BUILDERROR src/api/unistd.o; cat src/api/unistd.o.err
BUILDERROR src/api/unistd.o
src/api/unistd.c: In function ‘f’:
src/api/unistd.c:87:3: error: ‘_CS_POSIX_V7_THREADS_CFLAGS’ undeclared (first use in this function)
87 | C(_CS_POSIX_V7_THREADS_CFLAGS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/api/unistd.c:5:21: note: in definition of macro ‘C’
5 | #define C(n) switch(n){case n:;}
| ^
src/api/unistd.c:87:3: note: each undeclared identifier is reported only once for each function it appears in
87 | C(_CS_POSIX_V7_THREADS_CFLAGS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/api/unistd.c:5:21: note: in definition of macro ‘C’
5 | #define C(n) switch(n){case n:;}
| ^
src/api/unistd.c:88:3: error: ‘_CS_POSIX_V7_THREADS_LDFLAGS’ undeclared (first use in this function)
88 | C(_CS_POSIX_V7_THREADS_LDFLAGS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/api/unistd.c:5:21: note: in definition of macro ‘C’
5 | #define C(n) switch(n){case n:;}
| ^
src/api/unistd.c:117:3: error: ‘_PC_TIMESTAMP_RESOLUTION’ undeclared (first use in this function)
117 | C(_PC_TIMESTAMP_RESOLUTION)
| ^~~~~~~~~~~~~~~~~~~~~~~~
src/api/unistd.c:5:21: note: in definition of macro ‘C’
5 | #define C(n) switch(n){case n:;}
| ^
src/api/unistd.c:238:3: error: ‘_SC_XOPEN_UUCP’ undeclared (first use in this function)
238 | C(_SC_XOPEN_UUCP)
| ^~~~~~~~~~~~~~
src/api/unistd.c:5:21: note: in definition of macro ‘C’
5 | #define C(n) switch(n){case n:;}
| ^
and this would cause the following main.exe and runtest.exe failed to be built.