cc -pthread -Wall -Wextra -Werror=implicit-function-declaration wchar/open_wmemstream.c -o wchar/open_wmemstream -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lintl -liconv [cc@relibc::platform::sys:590 INFO] TODO: getrlimit(3, 0x7ffffffffbf0): not implemented [cc1@relibc::platform::sys:590 INFO] TODO: getrlimit(3, 0x7ffffffffb00): not implemented [cc1@relibc::platform::sys:590 INFO] TODO: getrlimit(9, 0x7ffffffffad0): not implemented [cc1@relibc::platform::sys:590 INFO] TODO: getrlimit(9, 0x7ffffffffb00): not implemented [cc1@relibc::platform::sys:590 INFO] TODO: getrlimit(5, 0x7ffffffffb00): not implemented [cc1@relibc::platform::sys:590 INFO] TODO: getrlimit(9, 0x7ffffffffad0): not implemented wchar/open_wmemstream.c: In function 'main': wchar/open_wmemstream.c:11:20: error: implicit declaration of function 'open_wmemstream' [-Werror=implicit-function-declaration] 11 | FILE* fp = open_wmemstream(&buf, &size); | ^~~~~~~~~~~~~~~ wchar/open_wmemstream.c:11:20: warning: initialization of 'FILE *' {aka 'struct FILE *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] cc1: some warnings being treated as errors