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