cc -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 -liconv 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] 2 | void foo(struct posix_dent* bar) | ^ dirent/struct-posix_dent-d_reclen.c:4:2: error: use of undeclared identifier 'reclen_t' 4 | reclen_t *qux = &bar->d_reclen; | ^ dirent/struct-posix_dent-d_reclen.c:4:12: error: use of undeclared identifier 'qux' 4 | reclen_t *qux = &bar->d_reclen; | ^ dirent/struct-posix_dent-d_reclen.c:4:22: error: incomplete definition of type 'struct posix_dent' 4 | reclen_t *qux = &bar->d_reclen; | ~~~^ dirent/struct-posix_dent-d_reclen.c:2:17: note: forward declaration of 'struct posix_dent' 2 | void foo(struct posix_dent* bar) | ^ dirent/struct-posix_dent-d_reclen.c:5:9: error: use of undeclared identifier 'qux' 5 | (void) qux; | ^ 5 errors generated.