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