clang -O2 -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations aio/lio_listio.c -o aio/lio_listio -D_POSIX_C_SOURCE=202405L -lm -lintl aio/lio_listio.c:5:7: error: incompatible pointer types initializing 'int (*)(int, struct aiocb *const restrict *restrict, int, struct sigevent *restrict)' with an expression of type 'int (int, struct aiocb *const *restrict, int, struct sigevent *restrict)' [-Werror,-Wincompatible-pointer-types] int (*foo)(int, struct aiocb *restrict const [restrict], int, struct sigevent *restrict) = lio_listio; ^ ~~~~~~~~~~ 1 error generated.