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