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