/opt/IBM/openxlC/17.1.1/bin/ibm-clang -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations sys_select/pselect.c -o sys_select/pselect -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -latomic sys_select/pselect.c:5:7: error: incompatible function pointer types initializing 'int (*)(int, fd_set *restrict, fd_set *restrict, fd_set *restrict, const struct timespec *restrict, const sigset_t *restrict)' (aka 'int (*)(int, struct fd_set *restrict, struct fd_set *restrict, struct fd_set *restrict, const struct timespec *restrict, const struct sigset_t *restrict)') with an expression of type 'int (int, void *restrict, void *restrict, void *restrict, const struct timespec *restrict, const sigset_t *restrict)' (aka 'int (int, void *restrict, void *restrict, void *restrict, const struct timespec *restrict, const struct sigset_t *restrict)') [-Werror,-Wincompatible-function-pointer-types] int (*foo)(int, fd_set *restrict, fd_set *restrict, fd_set *restrict, const struct timespec *restrict, const sigset_t *restrict) = pselect; ^ ~~~~~~~ 1 error generated.