cc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DSYSPATHFILE=\"/usr/lib/X11/Xli\" -Wdate-time -D_FORTIFY_SOURCE=2 fill.c
dither.c: In function ‘dither’:SOURCE=2 g3.c
dither.c:77:36: error: implicit declaration of function ‘strlen’ [-Werror=implicit-function-declaration]
77 | image->title = (char *)lmalloc(strlen(cimage->title) + 12);
| ^~~~~~
dither.c:28:1: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
27 | #include "xli.h"
+++ |+#include <string.h>
28 |
dither.c:77:36: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch]
77 | image->title = (char *)lmalloc(strlen(cimage->title) + 12);
| ^~~~~~
dither.c:77:36: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
cc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DSYSPATHFILE=\"/usr/lib/X11/Xli\" -Wdate-time -D_FORTIFY_
cc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DSYSPATHFILE=\"/usr/lib/X11/Xli\" -Wdate-time -D_FORTIFY_SOURCE=2 gif.c
cc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DSYSPATHFILE=\"/usr/lib/X11/Xli\" -Wdate-time -D_FORTIFY_SOURCE=2 halftone.c
cc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DSYSPATHFILE=\"/usr/lib/X11/Xli\" -Wdate-time -D_FORTIFY_SOURCE=2 imagetypes.c
cc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DSYSPATHFILE=\"/usr/lib/X11/Xli\" -Wdate-time -D_FORTIFY_SOURCE=2 img.c
gif.c: In function ‘gifin_open_file’:SOURCE=2 mac.c
gif.c:193:7: error: implicit declaration of function ‘strcmp’ [-Werror=implicit-function-declaration]
193 | if (strcmp((char *) buf, GIF_SIG) == 0)
| ^~~~~~
gif.c:21:1: note: include ‘<string.h>’ or provide a declaration of ‘strcmp’
20 | #include "imagetypes.h"
+++ |+#include <string.h>
21 |
cc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O -DSYSPATHFILE=\"/usr/lib/X11/Xli\" -Wdate-time -D_FORTIFY_
cc1: some warnings being treated as errors
imagetypes.c: In function ‘loadImage’:
imagetypes.c:66:39: error: implicit declaration of function ‘strlen’ [-Werror=implicit-function-declaration]
66 | image_ops->fullname = lmalloc(strlen(fullname) + 1);
| ^~~~~~
imagetypes.c:15:1: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
14 | #include <errno.h>
+++ |+#include <string.h>
15 |
imagetypes.c:66:39: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch]
66 | image_ops->fullname = lmalloc(strlen(fullname) + 1);
| ^~~~~~
imagetypes.c:66:39: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
imagetypes.c:67:9: error: implicit declaration of function ‘strcpy’ [-Werror=implicit-function-declaration]
67 | strcpy(image_ops->fullname, fullname);
| ^~~~~~
imagetypes.c:67:9: note: include ‘<string.h>’ or provide a declaration of ‘strcpy’
imagetypes.c:67:9: warning: incompatible implicit declaration of built-in function ‘strcpy’ [-Wbuiltin-declaration-mismatch]
imagetypes.c:67:9: note: include ‘<string.h>’ or provide a declaration of ‘strcpy’
make[2]: *** [Makefile.std:101: dither.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 08:43:14 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,260 |