/opt/IBM/openxlC/17.1.1/bin/ibm-clang -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations pwd/getpwuid_r.c -o pwd/getpwuid_r -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -latomic pwd/getpwuid_r.c:5:7: error: incompatible function pointer types initializing 'int (*)(uid_t, struct passwd *, char *, size_t, struct passwd **)' (aka 'int (*)(unsigned int, struct passwd *, char *, unsigned long, struct passwd **)') with an expression of type 'int (uid_t, struct passwd *, char *, int, struct passwd **)' (aka 'int (unsigned int, struct passwd *, char *, int, struct passwd **)') [-Werror,-Wincompatible-function-pointer-types] int (*foo)(uid_t, struct passwd *, char *, size_t, struct passwd **) = getpwuid_r; ^ ~~~~~~~~~~ 1 error generated.