/opt/IBM/openxlC/17.1.1/bin/ibm-clang -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 -latomic dirent/struct-posix_dent-d_type.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_type.c:4:27: error: incomplete definition of type 'struct posix_dent' unsigned char *qux = &bar->d_type; ~~~^ dirent/struct-posix_dent-d_type.c:2:17: note: forward declaration of 'struct posix_dent' void foo(struct posix_dent* bar) ^ 2 errors generated.