cc -O2 -pipe -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations dirent/struct-posix_dent-d_reclen.c -o dirent/struct-posix_dent-d_reclen -D_POSIX_C_SOURCE=202405L -lm -lpthread dirent/struct-posix_dent-d_reclen.c:2:17: error: declaration of 'struct posix_dent' will not be visible outside of this function [-Werror,-Wvisibility] void foo(struct posix_dent* bar) ^ dirent/struct-posix_dent-d_reclen.c:4:2: error: use of undeclared identifier 'reclen_t' reclen_t *qux = &bar->d_reclen; ^ dirent/struct-posix_dent-d_reclen.c:4:12: error: use of undeclared identifier 'qux' reclen_t *qux = &bar->d_reclen; ^ dirent/struct-posix_dent-d_reclen.c:4:22: error: incomplete definition of type 'struct posix_dent' reclen_t *qux = &bar->d_reclen; ~~~^ dirent/struct-posix_dent-d_reclen.c:2:17: note: forward declaration of 'struct posix_dent' void foo(struct posix_dent* bar) ^ dirent/struct-posix_dent-d_reclen.c:5:9: error: use of undeclared identifier 'qux' (void) qux; ^ 5 errors generated.