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 -lnetwork -lbsd -latomic wchar/open_wmemstream.c: In function 'main': wchar/open_wmemstream.c:11:20: error: implicit declaration of function 'open_wmemstream'; did you mean 'open_memstream'? [-Werror=implicit-function-declaration] 11 | FILE* fp = open_wmemstream(&buf, &size); | ^~~~~~~~~~~~~~~ | open_memstream wchar/open_wmemstream.c:11:20: warning: initialization of 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion] cc1: some warnings being treated as errors