./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: error: call to undeclared function 'pledge'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return !!pledge("stdio", NULL); ^ ./test-sandbox_init.c:1:10: fatal error: 'sandbox.h' file not found #include ^~~~~~~~~~~ ./test-progname.c:8:13: error: call to undeclared function 'getprogname'; ISO C99 and later do not support implicit function declarations [-Werror,-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(); ^ ~~~~~~~~~~~~~ 2 errors generated. ./test-recallocarray.c:10:10: error: call to undeclared function 'recallocarray'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return !recallocarray(p, 2, 3, 2); ^ ./test-recallocarray.c:10:10: note: did you mean 'reallocarray'? /usr/include/stdlib.h:569:14: note: 'reallocarray' declared here extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) ^ ./test-recallocarray.c:10:10: error: call to undeclared function 'recallocarray'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return !recallocarray(p, 2, 3, 2); ^ ./test-recallocarray.c:10:10: note: did you mean 'reallocarray'? /usr/include/stdlib.h:569:14: note: 'reallocarray' declared here extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) ^ ./test-strcasestr.c:7:13: error: call to undeclared function 'strcasestr'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] char *cp = strcasestr(big, "Gst"); ^ ./test-strcasestr.c:7:13: note: did you mean 'strcasecmp'? /usr/include/strings.h:116:12: note: 'strcasecmp' declared here extern int strcasecmp (const char *__s1, const char *__s2) ^ ./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"); ^ ~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. ./test-stringlist.c:19:10: fatal error: 'stringlist.h' file not found #include ^~~~~~~~~~~~~~ ./test-strlcat.c:7:12: error: 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 [-Werror,-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' ./test-strlcpy.c:7:12: error: 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 [-Werror,-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' ./test-strptime.c:8:12: error: call to undeclared function 'strptime'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return ! (strptime(input, "%Y-%m-%d", &tm) == input + 10 && ^ ./test-strptime.c:8:12: note: did you mean 'strftime'? /usr/include/time.h:100:14: note: 'strftime' declared here extern size_t strftime (char *__restrict __s, size_t __maxsize, ^ ./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 && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~ 2 errors generated. ./test-strtonum.c:25:6: error: call to undeclared function 'strtonum'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (strtonum("1", 0, 2, &errstr) != 1) ^ ./test-strtonum.c:25:6: error: call to undeclared function 'strtonum'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (strtonum("1", 0, 2, &errstr) != 1) ^ ./test-vasprintf.c:32:8: error: call to undeclared function 'vasprintf'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] irc = vasprintf(ret, format, ap); ^ ./test-vasprintf.c:32:8: note: did you mean 'vsprintf'? /usr/include/stdio.h:373:12: note: 'vsprintf' declared here extern int vsprintf (char *__restrict __s, const char *__restrict __format, ^ ./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:14: error: call to undeclared function 'wcwidth'; ISO C99 and later do not support implicit function declarations [-Werror,-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: error: call to undeclared function 'pledge'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return !!pledge("stdio", NULL); ^ ./test-sandbox_init.c:1:10: fatal error: 'sandbox.h' file not found #include ^~~~~~~~~~~ ./test-progname.c:8:13: error: call to undeclared function 'getprogname'; ISO C99 and later do not support implicit function declarations [-Werror,-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(); ^ ~~~~~~~~~~~~~ 2 errors generated. ./test-recallocarray.c:10:10: error: call to undeclared function 'recallocarray'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return !recallocarray(p, 2, 3, 2); ^ ./test-recallocarray.c:10:10: note: did you mean 'reallocarray'? /usr/include/stdlib.h:569:14: note: 'reallocarray' declared here extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) ^ ./test-recallocarray.c:10:10: error: call to undeclared function 'recallocarray'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return !recallocarray(p, 2, 3, 2); ^ ./test-recallocarray.c:10:10: note: did you mean 'reallocarray'? /usr/include/stdlib.h:569:14: note: 'reallocarray' declared here extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) ^ ./test-strcasestr.c:7:13: error: call to undeclared function 'strcasestr'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] char *cp = strcasestr(big, "Gst"); ^ ./test-strcasestr.c:7:13: note: did you mean 'strcasecmp'? /usr/include/strings.h:116:12: note: 'strcasecmp' declared here extern int strcasecmp (const char *__s1, const char *__s2) ^ ./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"); ^ ~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. ./test-stringlist.c:19:10: fatal error: 'stringlist.h' file not found #include ^~~~~~~~~~~~~~ ./test-strlcat.c:7:12: error: 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 [-Werror,-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' ./test-strlcpy.c:7:12: error: 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 [-Werror,-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' ./test-strptime.c:8:12: error: call to undeclared function 'strptime'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return ! (strptime(input, "%Y-%m-%d", &tm) == input + 10 && ^ ./test-strptime.c:8:12: note: did you mean 'strftime'? /usr/include/time.h:100:14: note: 'strftime' declared here extern size_t strftime (char *__restrict __s, size_t __maxsize, ^ ./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 && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~ 2 errors generated. ./test-strtonum.c:25:6: error: call to undeclared function 'strtonum'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (strtonum("1", 0, 2, &errstr) != 1) ^ ./test-strtonum.c:25:6: error: call to undeclared function 'strtonum'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (strtonum("1", 0, 2, &errstr) != 1) ^ ./test-vasprintf.c:32:8: error: call to undeclared function 'vasprintf'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] irc = vasprintf(ret, format, ap); ^ ./test-vasprintf.c:32:8: note: did you mean 'vsprintf'? /usr/include/stdio.h:373:12: note: 'vsprintf' declared here extern int vsprintf (char *__restrict __s, const char *__restrict __format, ^ ./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:14: error: call to undeclared function 'wcwidth'; ISO C99 and later do not support implicit function declarations [-Werror,-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 ^~~~~~~~~