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