cc -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations dirent/struct-posix_dent-d_type.c -o dirent/struct-posix_dent-d_type -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -lcrypt -latomic dirent/struct-posix_dent-d_type.c:2:17: error: ‘struct posix_dent’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 2 | void foo(struct posix_dent* bar) | ^~~~~~~~~~ dirent/struct-posix_dent-d_type.c: In function ‘foo’: dirent/struct-posix_dent-d_type.c:4:34: error: invalid use of undefined type ‘struct posix_dent’ 4 | unsigned char *qux = &bar->d_type; | ^~ cc1: all warnings being treated as errors