cc -pipe -O -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations sys_resource/setpriority.c -o sys_resource/setpriority -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -lrt -lcrypt sys_resource/setpriority.c:11:30: error: initialization of 'int (*)(int, id_t, int)' {aka 'int (*)(int, long int, int)'} from incompatible pointer type 'int (*)(int, int, int)' [-Werror=incompatible-pointer-types] int (*foo)(int, id_t, int) = setpriority; ^~~~~~~~~~~ cc1: all warnings being treated as errors