cc -O2 -pipe -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations wchar/vswprintf.c -o wchar/vswprintf -D_POSIX_C_SOURCE=202405L -lm -lpthread wchar/vswprintf.c:5:64: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] int (*foo)(wchar_t *restrict, size_t, const wchar_t *restrict, va_list) = vswprintf; ^ int wchar/vswprintf.c:5:7: error: incompatible function pointer types initializing 'int (*)(wchar_t *restrict, size_t, const wchar_t *restrict, int)' (aka 'int (*)(int *restrict, unsigned long, const int *restrict, int)') with an expression of type 'int (wchar_t *restrict, size_t, const wchar_t *restrict, struct __va_list_tag *)' (aka 'int (int *restrict, unsigned long, const int *restrict, struct __va_list_tag *)') [-Werror,-Wincompatible-function-pointer-types] int (*foo)(wchar_t *restrict, size_t, const wchar_t *restrict, va_list) = vswprintf; ^ ~~~~~~~~~ 2 errors generated.