cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o callbacks.o callbacks.c
callbacks.c: In function ‘cb_quit’:
callbacks.c:61:5: error: implicit declaration of function ‘exit’ [-Werror=implicit-function-declaration]
61 | exit (0);
| ^~~~
callbacks.c:30:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
29 | #include "xcolmix.h"
+++ |+#include <stdlib.h>
30 |
callbacks.c:61:5: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
61 | exit (0);
| ^~~~
callbacks.c:61:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
cc1: some warnings being treated as errors
make[2]: *** [<builtin>: callbacks.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 11:41:16 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,377 |