clang -O2 -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations stdio/vasprintf.c -o stdio/vasprintf -D_POSIX_C_SOURCE=202405L -lm -lintl 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:271:6: note: 'vsprintf' declared here int vsprintf(char * __restrict, const char * __restrict, ^ stdio/vasprintf.c:5:7: error: incompatible pointer types initializing 'int (*)(char **restrict, const char *restrict, va_list)' with an expression of type 'int (char *, const char *, __builtin_va_list)' [-Werror,-Wincompatible-pointer-types] int (*foo)(char **restrict, const char *restrict, va_list) = vasprintf; ^ ~~~~~~~~~ 2 errors generated.