cc -pthread -Wall -Wextra -Werror=implicit-function-declaration time/strftime_l.c -o time/strftime_l -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -liconv time/strftime_l.c:24:18: error: call to undeclared function 'strftime_l'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | size_t length = strftime_l(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", &tm, loc); | ^ time/strftime_l.c:24:18: note: did you mean 'strftime'? /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_time.h:119:8: note: 'strftime' declared here 119 | size_t strftime(char *_LIBC_COUNT(__maxsize) __restrict, size_t __maxsize, const char * __restrict, const struct tm * __restrict) __DARWIN_ALIAS(strftime); | ^ 1 error generated.