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