gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -funroll-loops -DTURBO_MEDIAN -DTURBO_BUFFER -Wdate-time -D_FORTIFY_SOURCE=2 -c -o reclp_main.o reclp_main.c
gramofile.c: In function ‘finishmenu’:D_FORTIFY_SOURCE=2 -c -o scrollmenu.o scrollmenu.c
gramofile.c:42:3: error: implicit declaration of function ‘exit’ [-Werror=implicit-function-declaration]
42 | exit (0);
| ^~~~
gramofile.c:17:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
16 | #include <ncurses.h>
+++ |+#include <stdlib.h>
17 | #else
gramofile.c:42:3: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
42 | exit (0);
| ^~~~
gramofile.c:42:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -funroll-loops -DTURBO_MEDIAN -DTURBO_BUFFER -Wdate-time -
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -funroll-loops -DTURBO_MEDIAN -DTURBO_BUFFER -Wdate-time -D_FORTIFY_SOURCE=2 -c -o stringinput.o stringinput.c
cc1: some warnings being treated as errors
make[1]: *** [<builtin>: gramofile.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 01:11:01 |
Calls: | 6,666 |
Calls today: | 4 |
Files: | 12,212 |
Messages: | 5,335,472 |