gcc -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations dirent/struct-posix_dent-d_name.c -o dirent/struct-posix_dent-d_name -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -lxnet -lsocket -latomic dirent/struct-posix_dent-d_name.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_name.c: In function 'foo': dirent/struct-posix_dent-d_name.c:4:24: error: invalid use of undefined type 'struct posix_dent' 4 | char *qux = bar->d_name; | ^~ cc1: all warnings being treated as errors