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