cc -pthread -Wall -Wextra -Werror=implicit-function-declaration stdio/tmpnam.c -o stdio/tmpnam -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lintl -liconv stdio/tmpnam.c: In function ‘main’: stdio/tmpnam.c:10:15: error: implicit declaration of function ‘tmpnam’ [-Wimplicit-function-declaration] 10 | if ( !tmpnam(NULL) ) | ^~~~~~ stdio/tmpnam.c:12:19: error: ‘L_tmpnam’ undeclared (first use in this function) 12 | char path[L_tmpnam]; | ^~~~~~~~ stdio/tmpnam.c:12:19: note: each undeclared identifier is reported only once for each function it appears in stdio/tmpnam.c:12:14: warning: unused variable ‘path’ [-Wunused-variable] 12 | char path[L_tmpnam]; | ^~~~