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