gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wmrack.o wmrack.c
make[2]: Leaving directory '/<<PKGBUILDDIR>>/XPM'
wmrack.c: In function ‘redrawDisplay’:
wmrack.c:1238:12: warning: type defaults to ‘int’ in declaration of ‘flash’ [-Wimplicit-int]
1238 | static flash = 0;
| ^~~~~
wmrack.c:1295:29: error: implicit declaration of function ‘time’ [-Werror=implicit-function-declaration]
1295 | time_t flash_time = time (NULL);
| ^~~~
wmrack.c:39:1: note: ‘time’ is defined in header ‘<time.h>’; did you forget to ‘#include <time.h>’?
38 | #include "library.h"
+++ |+#include <time.h>
39 |
echo "Done" > .depend
cc1: some warnings being treated as errors
make[1]: *** [<builtin>: wmrack.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 04:53:55 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,335,947 |