x86_64-managarm-gcc -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations wchar/swscanf.c -o wchar/swscanf -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -lintl -liconv wchar/swscanf.c:5:69: error: initialization of ‘int (*)(const wchar_t * restrict, const wchar_t * restrict, ...)’ {aka ‘int (*)(const int * restrict, const int * restrict, ...)’} from incompatible pointer type ‘int (*)(wchar_t * restrict, const wchar_t * restrict, ...)’ {aka ‘int (*)(int * restrict, const int * restrict, ...)’} [-Wincompatible-pointer-types] 5 | int (*foo)(const wchar_t *restrict, const wchar_t *restrict, ...) = swscanf; | ^~~~~~~