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