cc -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 -Wl,-z,relro -Wl,-z,now aa3d.c -oaa3d
aa3d.c: In function ‘main’:
aa3d.c:37:30: error: implicit declaration of function ‘strcmp’ [-Werror=implicit-function-declaration]
37 | if (s < argc - 1 && !strcmp(argv[s], "-w"))
| ^~~~~~
aa3d.c:25:1: note: include ‘<string.h>’ or provide a declaration of ‘strcmp’
24 | #include <stdlib.h>
+++ |+#include <string.h>
25 | static char data[65536 / 2];
aa3d.c:98:68: error: implicit declaration of function ‘strlen’ [-Werror=implicit-function-declaration]
98 | s = string == NULL ? letter : string[(x + shift) % strlen(string)];
| ^~~~~~
aa3d.c:98:68: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
aa3d.c:98:68: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch]
aa3d.c:98:68: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
cc1: some warnings being treated as errors
make[1]: *** [<builtin>: aa3d] Error 1
tags -1 patchBug #1066274 [src:aa3d] aa3d: FTBFS: aa3d.c:37:30: error: implicit declaration of function ‘strcmp’ [-Werror=implicit-function-declaration]
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 05:58:02 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,021 |