cc -O2 -pipe -pthread -I/usr/local/include -Wall -Wextra -Werror=implicit-function-declaration libintl/dcgettext_l.c -o libintl/dcgettext_l -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -L/usr/local/lib -lintl libintl/dcgettext_l.c:19:17: error: call to undeclared function 'dcgettext_l'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] 19 | char* output = dcgettext_l("os-test", input, LC_NUMERIC, locale); | ^ libintl/dcgettext_l.c:19:17: note: did you mean 'dcgettext'? /usr/local/include/libintl.h:265:14: note: 'dcgettext' declared here 265 | extern char *dcgettext (const char *__domainname, const char *__msgid, | ^ libintl/dcgettext_l.c:19:8: warning: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Wint-conversion] 19 | char* output = dcgettext_l("os-test", input, LC_NUMERIC, locale); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated.