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