cc -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations wchar/wscanf.c -o wchar/wscanf -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -lintl -liconv wchar/wscanf.c:5:44: error: ‘wscanf’ undeclared here (not in a function) 5 | int (*foo)(const wchar_t *restrict, ...) = wscanf; | ^~~~~~