/opt/IBM/openxlC/17.1.1/bin/ibm-clang -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations poll/ppoll.c -o poll/ppoll -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -latomic poll/ppoll.c:5:51: error: declaration of 'struct timespec' will not be visible outside of this function [-Werror,-Wvisibility] int (*foo)(struct pollfd [], nfds_t, const struct timespec *restrict, const sigset_t *restrict) = ppoll; ^ poll/ppoll.c:5:99: error: use of undeclared identifier 'ppoll'; did you mean 'poll'? int (*foo)(struct pollfd [], nfds_t, const struct timespec *restrict, const sigset_t *restrict) = ppoll; ^~~~~ poll /usr/include/sys/poll.h:167:12: note: 'poll' declared here static int poll(void *__listptr, ulong_t __nfds, long __timeout) ^ poll/ppoll.c:5:7: error: incompatible function pointer types initializing 'int (*)(struct pollfd *, nfds_t, const struct timespec *restrict, const sigset_t *restrict)' (aka 'int (*)(struct pollfd *, unsigned int, const struct timespec *restrict, const struct sigset_t *restrict)') with an expression of type 'int (void *, ulong_t, long)' (aka 'int (void *, unsigned long, long)') [-Werror,-Wincompatible-function-pointer-types] int (*foo)(struct pollfd [], nfds_t, const struct timespec *restrict, const sigset_t *restrict) = ppoll; ^ ~~~~~ 3 errors generated.