cc -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations langinfo/nl_langinfo.c -o langinfo/nl_langinfo -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt relibc getrlimit(3, 0x7ffffffffc80): not implemented relibc getrlimit(3, 0x7ffffffffbb0): not implemented relibc getrlimit(9, 0x7ffffffffb70): not implemented relibc getrlimit(9, 0x7ffffffffba0): not implemented relibc getrlimit(5, 0x7ffffffffba0): not implemented relibc getrlimit(9, 0x7ffffffffb70): not implemented langinfo/nl_langinfo.c:5:25: error: initialization of 'char * (*)(nl_item)' {aka 'char * (*)(int)'} from incompatible pointer type 'const char * (*)(nl_item)' {aka 'const char * (*)(int)'} [-Werror=incompatible-pointer-types] 5 | char *(*foo)(nl_item) = nl_langinfo; | ^~~~~~~~~~~ cc1: all warnings being treated as errors