cc -pthread -Wall -Wextra -Werror=implicit-function-declaration time/getdate.c -o time/getdate -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lintl -liconv relibc getrlimit(3, 0x7ffffffffc80): not implemented relibc getrlimit(3, 0x7ffffffffba0): not implemented relibc getrlimit(9, 0x7ffffffffb60): not implemented relibc getrlimit(9, 0x7ffffffffb90): not implemented relibc getrlimit(5, 0x7ffffffffb90): not implemented relibc getrlimit(9, 0x7ffffffffb60): not implemented time/getdate.c: In function 'main': time/getdate.c:44:25: error: implicit declaration of function 'getdate' [-Werror=implicit-function-declaration] 44 | struct tm* tm = getdate("2000-01-01 02:03:04"); | ^~~~~~~ time/getdate.c:44:25: warning: initialization of 'struct tm *' from 'int' makes pointer from integer without a cast [-Wint-conversion] cc1: some warnings being treated as errors