cc -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations wctype/iswgraph_l.c -o wctype/iswgraph_l -D_POSIX_C_SOURCE=202405L -lm -lpthread -liconv wctype/iswgraph_l.c:5:20: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] int (*foo)(wint_t, locale_t) = iswgraph_l; ^ wctype/iswgraph_l.c:5:32: error: use of undeclared identifier 'iswgraph_l'; did you mean 'iswgraph'? int (*foo)(wint_t, locale_t) = iswgraph_l; ^~~~~~~~~~ iswgraph /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wctype.h:81:1: note: 'iswgraph' declared here iswgraph(wint_t _wc) ^ wctype/iswgraph_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) = iswgraph_l; ^ ~~~~~~~~~~ 3 errors generated.