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