/opt/IBM/openxlC/17.1.1/bin/ibm-clang -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations stdio/vasprintf.c -o stdio/vasprintf -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -latomic stdio/vasprintf.c:5:62: error: use of undeclared identifier 'vasprintf'; did you mean 'vsprintf'? int (*foo)(char **restrict, const char *restrict, va_list) = vasprintf; ^~~~~~~~~ vsprintf /usr/include/stdio.h:334:21: note: 'vsprintf' declared here extern int _NOTHROW(vsprintf, (char *__restrict__, const char *__restrict__, va_list)); ^ stdio/vasprintf.c:5:7: error: incompatible function pointer types initializing 'int (*)(char **restrict, const char *restrict, va_list)' (aka 'int (*)(char **restrict, const char *restrict, char *)') with an expression of type 'int (char *, const char *, __builtin_va_list)' [-Werror,-Wincompatible-function-pointer-types] int (*foo)(char **restrict, const char *restrict, va_list) = vasprintf; ^ ~~~~~~~~~ 2 errors generated.