/opt/IBM/openxlC/17.1.1/bin/ibm-clang -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations time/timer_create.c -o time/timer_create -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -latomic time/timer_create.c:5:30: error: declaration of 'struct sigevent' will not be visible outside of this function [-Werror,-Wvisibility] int (*foo)(clockid_t, struct sigevent *restrict, timer_t *restrict) = timer_create; ^ time/timer_create.c:5:7: error: incompatible function pointer types initializing 'int (*)(clockid_t, struct sigevent *restrict, timer_t *restrict)' (aka 'int (*)(long long, struct sigevent *restrict, int *restrict)') with an expression of type 'int (clockid_t, void *restrict, timer_t *restrict)' (aka 'int (long long, void *restrict, int *restrict)') [-Werror,-Wincompatible-function-pointer-types] int (*foo)(clockid_t, struct sigevent *restrict, timer_t *restrict) = timer_create; ^ ~~~~~~~~~~~~ 2 errors generated.