clang -O2 -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations strings/strcasecmp_l.c -o strings/strcasecmp_l -D_POSIX_C_SOURCE=202405L -lm -lintl strings/strcasecmp_l.c:5:40: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] int (*foo)(const char *, const char *, locale_t) = strcasecmp_l; ^ strings/strcasecmp_l.c:5:52: error: use of undeclared identifier 'strcasecmp_l'; did you mean 'strcasecmp'? int (*foo)(const char *, const char *, locale_t) = strcasecmp_l; ^~~~~~~~~~~~ strcasecmp /usr/include/strings.h:63:6: note: 'strcasecmp' declared here int strcasecmp(const char *, const char *); ^ strings/strcasecmp_l.c:5:7: error: incompatible pointer types initializing 'int (*)(const char *, const char *, int)' with an expression of type 'int (const char *, const char *)' [-Werror,-Wincompatible-pointer-types] int (*foo)(const char *, const char *, locale_t) = strcasecmp_l; ^ ~~~~~~~~~~~~ 3 errors generated.