cc -O2 -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations aio/lio_listio.c -o aio/lio_listio -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -lintl -lcrypt aio/lio_listio.c:5:92: error: initialization of 'int (*)(int, struct aiocb * const restrict* restrict, int, struct sigevent * restrict)' from incompatible pointer type 'int (*)(int, struct aiocb * const* restrict, int, struct sigevent * restrict)' [-Werror=incompatible-pointer-types] 5 | int (*foo)(int, struct aiocb *restrict const [restrict], int, struct sigevent *restrict) = lio_listio; | ^~~~~~~~~~ cc1: all warnings being treated as errors