cc -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations wctype/wctype_l.c -o wctype/wctype_l -D_POSIX_C_SOURCE=202405L -lm -lpthread -liconv wctype/wctype_l.c:5:31: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] wctype_t (*foo)(const char *, locale_t) = wctype_l; ^ wctype/wctype_l.c:5:43: error: use of undeclared identifier 'wctype_l'; did you mean 'wctype'? wctype_t (*foo)(const char *, locale_t) = wctype_l; ^~~~~~~~ wctype /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wctype.h:157:2: note: 'wctype' declared here wctype(const char *); ^ wctype/wctype_l.c:5:12: error: incompatible function pointer types initializing 'wctype_t (*)(const char *, int)' (aka 'unsigned int (*)(const char *, int)') with an expression of type 'wctype_t (const char *)' (aka 'unsigned int (const char *)') [-Werror,-Wincompatible-function-pointer-types] wctype_t (*foo)(const char *, locale_t) = wctype_l; ^ ~~~~~~~~ 3 errors generated.