cc -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations wchar/getwc.c -o wchar/getwc -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -lintl -liconv wchar/getwc.c:5:25: error: ‘getwc’ undeclared here (not in a function) 5 | wint_t (*foo)(FILE *) = getwc; | ^~~~~