./test-dirent-namlen.c:9:22: error: no member named 'd_namlen' in 'struct dirent'; did you mean 'd_name'? return sizeof(entry.d_namlen) == 0; ^~~~~~~~ d_name /usr/include/bits/dirent.h:33:10: note: 'd_name' declared here char d_name[256]; /* We must not include limits.h! */ ^ ./test-be32toh.c:2:10: fatal error: 'sys/endian.h' file not found #include ^~~~~~~~~~~~~~ ./test-EFTYPE.c:6:10: error: use of undeclared identifier 'EFTYPE' return !EFTYPE; ^ ./test-pledge.c:6:11: warning: call to undeclared function 'pledge'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return !!pledge("stdio", NULL); ^ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-text/mandoc-1.14.6/temp/test-pledge-7cee57.o: in function `main': test-pledge.c:(.text+0xd): undefined reference to `pledge' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ./test-sandbox_init.c:1:10: fatal error: 'sandbox.h' file not found #include ^~~~~~~~~~~ ./test-progname.c:8:13: warning: call to undeclared function 'getprogname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] progname = getprogname(); ^ ./test-progname.c:8:11: error: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Wint-conversion] progname = getprogname(); ^ ~~~~~~~~~~~~~ ./test-recallocarray.c:10:10: warning: call to undeclared function 'recallocarray'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return !recallocarray(p, 2, 3, 2); ^ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-text/mandoc-1.14.6/temp/test-recallocarray-7b1857.o: in function `main': test-recallocarray.c:(.text+0x2a): undefined reference to `recallocarray' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ./test-recallocarray.c:10:10: warning: call to undeclared function 'recallocarray'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return !recallocarray(p, 2, 3, 2); ^ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-text/mandoc-1.14.6/temp/test-recallocarray-cdfc4a.o: in function `main': test-recallocarray.c:(.text+0x2a): undefined reference to `recallocarray' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ./test-strcasestr.c:7:13: warning: call to undeclared function 'strcasestr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] char *cp = strcasestr(big, "Gst"); ^ ./test-strcasestr.c:7:8: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Wint-conversion] char *cp = strcasestr(big, "Gst"); ^ ~~~~~~~~~~~~~~~~~~~~~~ ./test-stringlist.c:19:10: fatal error: 'stringlist.h' file not found #include ^~~~~~~~~~~~~~ ./test-strlcat.c:7:12: warning: call to undeclared library function 'strlcat' with type 'unsigned long (char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return ! (strlcat(buf, "b", sizeof(buf)) == 2 && ^ ./test-strlcat.c:7:12: note: include the header or explicitly provide a declaration for 'strlcat' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-text/mandoc-1.14.6/temp/test-strlcat-9da16a.o: in function `main': test-strlcat.c:(.text+0x1f): undefined reference to `strlcat' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ./test-strlcpy.c:7:12: warning: call to undeclared library function 'strlcpy' with type 'unsigned long (char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return ! (strlcpy(buf, "a", sizeof(buf)) == 1 && ^ ./test-strlcpy.c:7:12: note: include the header or explicitly provide a declaration for 'strlcpy' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-text/mandoc-1.14.6/temp/test-strlcpy-b1fc4a.o: in function `main': test-strlcpy.c:(.text+0x1a): undefined reference to `strlcpy' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ./test-strptime.c:8:12: warning: call to undeclared function 'strptime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return ! (strptime(input, "%Y-%m-%d", &tm) == input + 10 && ^ ./test-strptime.c:8:45: error: comparison between pointer and integer ('int' and 'const char *') [-Werror,-Wpointer-integer-compare] return ! (strptime(input, "%Y-%m-%d", &tm) == input + 10 && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~ ./test-strtonum.c:25:6: warning: call to undeclared function 'strtonum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (strtonum("1", 0, 2, &errstr) != 1) ^ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-text/mandoc-1.14.6/temp/test-strtonum-14303d.o: in function `main': test-strtonum.c:(.text+0x15): undefined reference to `strtonum' /usr/bin/x86_64-pc-linux-gnu-ld: test-strtonum.c:(.text+0x47): undefined reference to `strtonum' /usr/bin/x86_64-pc-linux-gnu-ld: test-strtonum.c:(.text+0x71): undefined reference to `strtonum' /usr/bin/x86_64-pc-linux-gnu-ld: test-strtonum.c:(.text+0x9e): undefined reference to `strtonum' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ./test-strtonum.c:25:6: warning: call to undeclared function 'strtonum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (strtonum("1", 0, 2, &errstr) != 1) ^ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-text/mandoc-1.14.6/temp/test-strtonum-1c7e20.o: in function `main': test-strtonum.c:(.text+0x15): undefined reference to `strtonum' /usr/bin/x86_64-pc-linux-gnu-ld: test-strtonum.c:(.text+0x47): undefined reference to `strtonum' /usr/bin/x86_64-pc-linux-gnu-ld: test-strtonum.c:(.text+0x71): undefined reference to `strtonum' /usr/bin/x86_64-pc-linux-gnu-ld: test-strtonum.c:(.text+0x9e): undefined reference to `strtonum' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ./test-vasprintf.c:32:8: warning: call to undeclared function 'vasprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] irc = vasprintf(ret, format, ap); ^ ./test-fts.c:24:34: error: incompatible function pointer types passing 'int (const FTSENT *const *, const FTSENT *const *)' (aka 'int (const struct _ftsent *const *, const struct _ftsent *const *)') to parameter of type 'int (*)(const FTSENT **, const FTSENT **)' (aka 'int (*)(const struct _ftsent **, const struct _ftsent **)') [-Werror,-Wincompatible-function-pointer-types] FTS_PHYSICAL | FTS_NOCHDIR, fts_compare); ^~~~~~~~~~~ /usr/include/fts.h:185:12: note: passing argument to parameter here int (*)(const FTSENT **, const FTSENT **)); ^ ./test-wchar.c:46:15: warning: call to undeclared function 'wcwidth'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((width = wcwidth(L' ')) != 1) { ^ ./test-ohash.c:4:10: fatal error: 'ohash.h' file not found #include ^~~~~~~~~ ./test-ohash.c:4:10: fatal error: 'ohash.h' file not found #include ^~~~~~~~~ ./test-dirent-namlen.c:9:22: error: no member named 'd_namlen' in 'struct dirent'; did you mean 'd_name'? return sizeof(entry.d_namlen) == 0; ^~~~~~~~ d_name /usr/include/bits/dirent.h:33:10: note: 'd_name' declared here char d_name[256]; /* We must not include limits.h! */ ^ ./test-be32toh.c:2:10: fatal error: 'sys/endian.h' file not found #include ^~~~~~~~~~~~~~ ./test-EFTYPE.c:6:10: error: use of undeclared identifier 'EFTYPE' return !EFTYPE; ^ ./test-pledge.c:6:11: warning: call to undeclared function 'pledge'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return !!pledge("stdio", NULL); ^ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-text/mandoc-1.14.6/temp/test-pledge-bc6c77.o: in function `main': test-pledge.c:(.text+0xd): undefined reference to `pledge' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ./test-sandbox_init.c:1:10: fatal error: 'sandbox.h' file not found #include ^~~~~~~~~~~ ./test-progname.c:8:13: warning: call to undeclared function 'getprogname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] progname = getprogname(); ^ ./test-progname.c:8:11: error: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Wint-conversion] progname = getprogname(); ^ ~~~~~~~~~~~~~ ./test-recallocarray.c:10:10: warning: call to undeclared function 'recallocarray'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return !recallocarray(p, 2, 3, 2); ^ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-text/mandoc-1.14.6/temp/test-recallocarray-6856c4.o: in function `main': test-recallocarray.c:(.text+0x2a): undefined reference to `recallocarray' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ./test-recallocarray.c:10:10: warning: call to undeclared function 'recallocarray'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return !recallocarray(p, 2, 3, 2); ^ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-text/mandoc-1.14.6/temp/test-recallocarray-ad5357.o: in function `main': test-recallocarray.c:(.text+0x2a): undefined reference to `recallocarray' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ./test-strcasestr.c:7:13: warning: call to undeclared function 'strcasestr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] char *cp = strcasestr(big, "Gst"); ^ ./test-strcasestr.c:7:8: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Wint-conversion] char *cp = strcasestr(big, "Gst"); ^ ~~~~~~~~~~~~~~~~~~~~~~ ./test-stringlist.c:19:10: fatal error: 'stringlist.h' file not found #include ^~~~~~~~~~~~~~ ./test-strlcat.c:7:12: warning: call to undeclared library function 'strlcat' with type 'unsigned long (char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return ! (strlcat(buf, "b", sizeof(buf)) == 2 && ^ ./test-strlcat.c:7:12: note: include the header or explicitly provide a declaration for 'strlcat' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-text/mandoc-1.14.6/temp/test-strlcat-9dcae4.o: in function `main': test-strlcat.c:(.text+0x1f): undefined reference to `strlcat' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ./test-strlcpy.c:7:12: warning: call to undeclared library function 'strlcpy' with type 'unsigned long (char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return ! (strlcpy(buf, "a", sizeof(buf)) == 1 && ^ ./test-strlcpy.c:7:12: note: include the header or explicitly provide a declaration for 'strlcpy' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-text/mandoc-1.14.6/temp/test-strlcpy-c6e228.o: in function `main': test-strlcpy.c:(.text+0x1a): undefined reference to `strlcpy' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ./test-strptime.c:8:12: warning: call to undeclared function 'strptime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return ! (strptime(input, "%Y-%m-%d", &tm) == input + 10 && ^ ./test-strptime.c:8:45: error: comparison between pointer and integer ('int' and 'const char *') [-Werror,-Wpointer-integer-compare] return ! (strptime(input, "%Y-%m-%d", &tm) == input + 10 && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~ ./test-strtonum.c:25:6: warning: call to undeclared function 'strtonum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (strtonum("1", 0, 2, &errstr) != 1) ^ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-text/mandoc-1.14.6/temp/test-strtonum-594c99.o: in function `main': test-strtonum.c:(.text+0x15): undefined reference to `strtonum' /usr/bin/x86_64-pc-linux-gnu-ld: test-strtonum.c:(.text+0x47): undefined reference to `strtonum' /usr/bin/x86_64-pc-linux-gnu-ld: test-strtonum.c:(.text+0x71): undefined reference to `strtonum' /usr/bin/x86_64-pc-linux-gnu-ld: test-strtonum.c:(.text+0x9e): undefined reference to `strtonum' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ./test-strtonum.c:25:6: warning: call to undeclared function 'strtonum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (strtonum("1", 0, 2, &errstr) != 1) ^ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-text/mandoc-1.14.6/temp/test-strtonum-c03f0d.o: in function `main': test-strtonum.c:(.text+0x15): undefined reference to `strtonum' /usr/bin/x86_64-pc-linux-gnu-ld: test-strtonum.c:(.text+0x47): undefined reference to `strtonum' /usr/bin/x86_64-pc-linux-gnu-ld: test-strtonum.c:(.text+0x71): undefined reference to `strtonum' /usr/bin/x86_64-pc-linux-gnu-ld: test-strtonum.c:(.text+0x9e): undefined reference to `strtonum' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ./test-vasprintf.c:32:8: warning: call to undeclared function 'vasprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] irc = vasprintf(ret, format, ap); ^ ./test-fts.c:24:34: error: incompatible function pointer types passing 'int (const FTSENT *const *, const FTSENT *const *)' (aka 'int (const struct _ftsent *const *, const struct _ftsent *const *)') to parameter of type 'int (*)(const FTSENT **, const FTSENT **)' (aka 'int (*)(const struct _ftsent **, const struct _ftsent **)') [-Werror,-Wincompatible-function-pointer-types] FTS_PHYSICAL | FTS_NOCHDIR, fts_compare); ^~~~~~~~~~~ /usr/include/fts.h:185:12: note: passing argument to parameter here int (*)(const FTSENT **, const FTSENT **)); ^ ./test-wchar.c:46:15: warning: call to undeclared function 'wcwidth'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((width = wcwidth(L' ')) != 1) { ^ ./test-ohash.c:4:10: fatal error: 'ohash.h' file not found #include ^~~~~~~~~ ./test-ohash.c:4:10: fatal error: 'ohash.h' file not found #include ^~~~~~~~~