cc -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations wctype/towctrans_l.c -o wctype/towctrans_l -D_POSIX_C_SOURCE=202405L -lm -lpthread -liconv wctype/towctrans_l.c:5:34: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 5 | wint_t (*foo)(wint_t, wctrans_t, locale_t) = towctrans_l; | ^ | int wctype/towctrans_l.c:5:46: error: use of undeclared identifier 'towctrans_l'; did you mean 'towctrans'? 5 | wint_t (*foo)(wint_t, wctrans_t, locale_t) = towctrans_l; | ^~~~~~~~~~~ | towctrans /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_wctype.h:121:8: note: 'towctrans' declared here 121 | wint_t towctrans(wint_t, wctrans_t); | ^ wctype/towctrans_l.c:5:10: error: incompatible function pointer types initializing 'wint_t (*)(wint_t, wctrans_t, int)' (aka 'int (*)(int, int, int)') with an expression of type 'wint_t (wint_t, wctrans_t)' (aka 'int (int, int)') [-Wincompatible-function-pointer-types] 5 | wint_t (*foo)(wint_t, wctrans_t, locale_t) = towctrans_l; | ^ ~~~~~~~~~~~ 3 errors generated.