+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xli-1.17.0nb13/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xli-1.17.0nb13/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xli-1.17.0nb13 --- bright.o --- --- clip.o --- --- bright.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c bright.c --- clip.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c clip.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from clip.c:12: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- bright.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from bright.c:12: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- clip.o --- In file included from xli.h:20, from clip.c:12: clip.c: In function 'clip': ddxli.h:40:22: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ clip.c:233:7: note: in expansion of macro 'bcopy' 233 | bcopy(sp,dp,simage->pixlen * dclipw); | ^~~~~ clip.c:13:1: note: include '<string.h>' or provide a declaration of 'memcpy' 12 | #include "xli.h" +++ |+#include <string.h> 13 | In file included from xli.h:20, from clip.c:12: ddxli.h:40:22: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ clip.c:233:7: note: in expansion of macro 'bcopy' 233 | bcopy(sp,dp,simage->pixlen * dclipw); | ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ clip.c:233:7: note: in expansion of macro 'bcopy' 233 | bcopy(sp,dp,simage->pixlen * dclipw); | ^~~~~ --- cmuwmrast.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c cmuwmrast.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from cmuwmrast.c:13: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- compress.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c compress.c --- dither.o --- --- compress.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from compress.c:11: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- dither.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c dither.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from dither.c:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ dither.c: In function 'dither': dither.c:77:36: warning: implicit declaration of function 'strlen' [-Wimplicit-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' In file included from xli.h:20, from dither.c:27: ddxli.h:43:20: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ dither.c:114:3: note: in expansion of macro 'bzero' 114 | bzero ((char *)curr, cimage->width * sizeof(*curr)); | ^~~~~ ddxli.h:43:20: note: include '<string.h>' or provide a declaration of 'memset' 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ dither.c:114:3: note: in expansion of macro 'bzero' 114 | bzero ((char *)curr, cimage->width * sizeof(*curr)); | ^~~~~ ddxli.h:43:20: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ dither.c:114:3: note: in expansion of macro 'bzero' 114 | bzero ((char *)curr, cimage->width * sizeof(*curr)); | ^~~~~ ddxli.h:43:20: note: include '<string.h>' or provide a declaration of 'memset' 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ dither.c:114:3: note: in expansion of macro 'bzero' 114 | bzero ((char *)curr, cimage->width * sizeof(*curr)); | ^~~~~ --- faces.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c faces.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from faces.c:12: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ faces.c: In function 'isFaces': faces.c:54:11: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 54 | if (! strcmp(buf, "\n")) | ^~~~~~ faces.c:13:1: note: include '<string.h>' or provide a declaration of 'strcmp' 12 | #include "xli.h" +++ |+#include <string.h> 13 | faces.c:56:10: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 56 | if (!strncmp(buf, "FirstName:", 10)) | ^~~~~~~ faces.c:56:10: note: include '<string.h>' or provide a declaration of 'strncmp' faces.c:56:37: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 56 | if (!strncmp(buf, "FirstName:", 10)) | ^~ <built-in>: note: built-in 'strncmp' declared here faces.c:58:9: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 58 | strncpy(fname, buf + 11, BUFSIZ - 1); | ^~~~~~~ faces.c:58:9: note: include '<string.h>' or provide a declaration of 'strncpy' faces.c:58:9: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] faces.c:58:9: note: include '<string.h>' or provide a declaration of 'strncpy' faces.c:61:41: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 61 | else if (!strncmp(buf, "LastName:", 9)) | ^ <built-in>: note: built-in 'strncmp' declared here faces.c:63:9: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 63 | strncpy(lname, buf + 10, BUFSIZ - 1); | ^~~~~~~ faces.c:63:9: note: include '<string.h>' or provide a declaration of 'strncpy' faces.c:66:38: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 66 | else if (!strncmp(buf, "Image:", 6)) { | ^ <built-in>: note: built-in 'strncmp' declared here faces.c:72:40: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 72 | else if (!strncmp(buf, "PicData:", 8)) { | ^ <built-in>: note: built-in 'strncmp' declared here faces.c: In function 'facesLoad': faces.c:130:13: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 130 | fname[strlen(fname) - 1] = ' '; | ^~~~~~ faces.c:130:13: note: include '<string.h>' or provide a declaration of 'strlen' faces.c:130:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] faces.c:130:13: note: include '<string.h>' or provide a declaration of 'strlen' faces.c:133:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 133 | lname[strlen(lname) - 1] = '\0'; | ^~~~~~ faces.c:133:13: note: include '<string.h>' or provide a declaration of 'strlen' faces.c:135:5: warning: implicit declaration of function 'strncat' [-Wimplicit-function-declaration] 135 | strncat(fname, lname, sizeof(fname) - strlen(fname) - 1); | ^~~~~~~ faces.c:135:5: note: include '<string.h>' or provide a declaration of 'strncat' faces.c:135:5: warning: incompatible implicit declaration of built-in function 'strncat' [-Wbuiltin-declaration-mismatch] faces.c:135:5: note: include '<string.h>' or provide a declaration of 'strncat' faces.c:135:43: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 135 | strncat(fname, lname, sizeof(fname) - strlen(fname) - 1); | ^~~~~~ faces.c:135:43: note: include '<string.h>' or provide a declaration of 'strlen' --- fbm.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c fbm.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from fbm.c:17: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- fill.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c fill.c --- fbm.o --- fbm.c: In function 'fbmin_open_image': fbm.c:87:7: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 87 | if (strncmp(FBM_MAGIC, phdr.magic, sizeof(FBM_MAGIC)) != 0) | ^~~~~~~ fbm.c:21:1: note: include '<string.h>' or provide a declaration of 'strncmp' 20 | # include "fbm.h" +++ |+#include <string.h> 21 | --- fill.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from fill.c:13: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- g3.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c g3.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from g3.c:24: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- gif.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c gif.c --- g3.o --- In file included from xli.h:20, from g3.c:24: g3.c: In function 'g3_getfaxrow': ddxli.h:43:20: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ g3.c:137:9: note: in expansion of macro 'bzero' 137 | bzero((char *) bitrow, maxlinelen); /* was memset -- jimf 09.11.90 */ | ^~~~~ g3.c:28:1: note: include '<string.h>' or provide a declaration of 'memset' 27 | #include "g3.h" +++ |+#include <string.h> 28 | In file included from xli.h:20, from g3.c:24: ddxli.h:43:20: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ g3.c:137:9: note: in expansion of macro 'bzero' 137 | bzero((char *) bitrow, maxlinelen); /* was memset -- jimf 09.11.90 */ | ^~~~~ ddxli.h:43:20: note: include '<string.h>' or provide a declaration of 'memset' 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ g3.c:137:9: note: in expansion of macro 'bzero' 137 | bzero((char *) bitrow, maxlinelen); /* was memset -- jimf 09.11.90 */ | ^~~~~ --- gif.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from gif.c:18: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gif.c: In function 'gifin_open_file': gif.c:192:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 192 | if (strcmp((char *) buf, GIF_SIG) == 0) | ^~~~~~ gif.c:20:1: note: include '<string.h>' or provide a declaration of 'strcmp' 19 | #include "gif.h" +++ |+#include <string.h> 20 | --- halftone.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c halftone.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from halftone.c:17: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ halftone.c: In function 'halftone': halftone.c:189:49: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 189 | image->title = (char *) lmalloc(strlen(cimage->title) + 13); | ^~~~~~ halftone.c:18:1: note: include '<string.h>' or provide a declaration of 'strlen' 17 | #include "xli.h" +++ |+#include <string.h> 18 | halftone.c:189:49: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 189 | image->title = (char *) lmalloc(strlen(cimage->title) + 13); | ^~~~~~ halftone.c:189:49: note: include '<string.h>' or provide a declaration of 'strlen' --- imagetypes.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c imagetypes.c --- img.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c img.c --- imagetypes.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from imagetypes.c:12: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- img.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from img.c:14: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- imagetypes.o --- imagetypes.c: In function 'loadImage': imagetypes.c:64:39: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 64 | 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:64:39: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 64 | image_ops->fullname = lmalloc(strlen(fullname) + 1); | ^~~~~~ imagetypes.c:64:39: note: include '<string.h>' or provide a declaration of 'strlen' imagetypes.c:65:9: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 65 | strcpy(image_ops->fullname, fullname); | ^~~~~~ imagetypes.c:65:9: note: include '<string.h>' or provide a declaration of 'strcpy' imagetypes.c:65:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] imagetypes.c:65:9: note: include '<string.h>' or provide a declaration of 'strcpy' --- mac.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c mac.c --- mcidas.o --- --- mac.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from mac.c:21: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- mcidas.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c mcidas.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from mcidas.c:7: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- mc_tables.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c mc_tables.c --- merge.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c merge.c --- misc.o --- --- merge.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from merge.c:12: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- misc.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c misc.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from misc.c:12: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ misc.c: In function 'xlistrstr': misc.c:272:18: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 272 | for (n = strlen(s2), p = s1;; p++) { | ^~~~~~ misc.c:15:1: note: include '<string.h>' or provide a declaration of 'strlen' 14 | #include <signal.h> +++ |+#include <string.h> 15 | misc.c:272:18: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 272 | for (n = strlen(s2), p = s1;; p++) { | ^~~~~~ misc.c:272:18: note: include '<string.h>' or provide a declaration of 'strlen' misc.c:275:22: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 275 | if (!strncmp(p, s2, n)) | ^~~~~~~ misc.c:275:22: note: include '<string.h>' or provide a declaration of 'strncmp' misc.c:275:37: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 275 | if (!strncmp(p, s2, n)) | ^ <built-in>: note: built-in 'strncmp' declared here --- new.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c new.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from new.c:12: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- options.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c options.c --- new.o --- new.c: In function 'dupString': new.c:71:30: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 71 | d = (char *) lmalloc(strlen(s) + 1); | ^~~~~~ new.c:13:1: note: include '<string.h>' or provide a declaration of 'strlen' 12 | #include "xli.h" +++ |+#include <string.h> 13 | new.c:71:30: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 71 | d = (char *) lmalloc(strlen(s) + 1); | ^~~~~~ new.c:71:30: note: include '<string.h>' or provide a declaration of 'strlen' new.c:72:9: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 72 | strcpy(d, s); | ^~~~~~ new.c:72:9: note: include '<string.h>' or provide a declaration of 'strcpy' new.c:72:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] new.c:72:9: note: include '<string.h>' or provide a declaration of 'strcpy' --- options.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from options.c:12: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ options.c: In function 'optionNumber': options.c:225:22: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 225 | if (!strncmp(arg + 1, Options[a].name, strlen(arg) - 1)) { | ^~~~~~~ options.c:13:1: note: include '<string.h>' or provide a declaration of 'strncmp' 12 | #include "xli.h" +++ |+#include <string.h> 13 | options.c:225:56: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 225 | if (!strncmp(arg + 1, Options[a].name, strlen(arg) - 1)) { | ^~~~~~ options.c:225:56: note: include '<string.h>' or provide a declaration of 'strlen' options.c:225:56: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] options.c:225:56: note: include '<string.h>' or provide a declaration of 'strlen' options.c: In function 'listOptions': options.c:243:26: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 243 | width += strlen(Options[a].name) + 2; | ^~~~~~ options.c:243:26: note: include '<string.h>' or provide a declaration of 'strlen' options.c: In function 'helpOnOption': options.c:260:55: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 260 | if (!strncmp(Options[a].name, option, strlen(option))) { | ^~~~~~ options.c:260:55: note: include '<string.h>' or provide a declaration of 'strlen' options.c: In function 'help': options.c:306:28: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 306 | while (buf[strlen(buf) - 1] == '\n') | ^~~~~~ options.c:306:28: note: include '<string.h>' or provide a declaration of 'strlen' options.c:312:22: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 312 | if (!strcmp(buf, "")) { | ^~~~~~ options.c:312:22: note: include '<string.h>' or provide a declaration of 'strcmp' options.c: In function 'read_trail_opt': options.c:774:24: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 774 | klen = strlen(key); | ^~~~~~ options.c:774:24: note: include '<string.h>' or provide a declaration of 'strlen' options.c:784:46: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 784 | if (strncmp(key, pp, klen) == 0) | ^~~~ <built-in>: note: built-in 'strncmp' declared here In file included from xli.h:20, from options.c:12: ddxli.h:40:22: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ options.c:789:17: note: in expansion of macro 'bcopy' 789 | bcopy(pp, buf, nib); | ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ options.c:789:17: note: in expansion of macro 'bcopy' 789 | bcopy(pp, buf, nib); | ^~~~~ ddxli.h:40:22: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ options.c:789:17: note: in expansion of macro 'bcopy' 789 | bcopy(pp, buf, nib); | ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ options.c:789:17: note: in expansion of macro 'bcopy' 789 | bcopy(pp, buf, nib); | ^~~~~ options.c:802:58: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 802 | if (strncmp(key, &buf[tlen + klen + 10], klen) != 0) | ^~~~ <built-in>: note: built-in 'strncmp' declared here --- path.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c path.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from path.c:12: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ path.c: In function 'readPathsAndExts': path.c:49:21: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 49 | l = strlen(tokenbuf); | ^~~~~~ path.c:20:1: note: include '<string.h>' or provide a declaration of 'strlen' 19 | #include <errno.h> +++ |+#include <string.h> 20 | path.c:49:21: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 49 | l = strlen(tokenbuf); | ^~~~~~ path.c:49:21: note: include '<string.h>' or provide a declaration of 'strlen' path.c:65:22: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 65 | if (!strncmp(tokenbuf, PathToken, strlen(PathToken))) { | ^~~~~~~ path.c:65:22: note: include '<string.h>' or provide a declaration of 'strncmp' path.c:75:25: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 75 | strcpy(buf, tokenbuf); | ^~~~~~ path.c:75:25: note: include '<string.h>' or provide a declaration of 'strcpy' path.c:75:25: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] path.c:75:25: note: include '<string.h>' or provide a declaration of 'strcpy' path.c: In function 'loadPathsAndExts': path.c:140:17: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 140 | strncpy(buf, homedir, BUFSIZ); | ^~~~~~~ path.c:140:17: note: include '<string.h>' or provide a declaration of 'strncpy' path.c:140:17: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] path.c:140:17: note: include '<string.h>' or provide a declaration of 'strncpy' path.c:141:17: warning: implicit declaration of function 'strncat' [-Wimplicit-function-declaration] 141 | strncat(buf, "/.xlirc", BUFSIZ); | ^~~~~~~ path.c:141:17: note: include '<string.h>' or provide a declaration of 'strncat' path.c:141:17: warning: incompatible implicit declaration of built-in function 'strncat' [-Wbuiltin-declaration-mismatch] path.c:141:17: note: include '<string.h>' or provide a declaration of 'strncat' path.c: In function 'findImage': path.c:178:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 178 | strcpy(fullname, name); | ^~~~~~ path.c:178:9: note: include '<string.h>' or provide a declaration of 'strcpy' path.c:179:14: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 179 | if (!strcmp(name, "stdin")) /* stdin is special name */ | ^~~~~~ path.c:179:14: note: include '<string.h>' or provide a declaration of 'strcmp' path.c:186:9: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 186 | strcat(fullname, ".Z"); | ^~~~~~ path.c:186:9: note: include '<string.h>' or provide a declaration of 'strcat' path.c:186:9: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] path.c:186:9: note: include '<string.h>' or provide a declaration of 'strcat' path.c: In function 'expandPath': path.c:297:25: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 297 | strcat(buf1, getenv("HOME")); | ^~~~~~ path.c:297:25: note: include '<string.h>' or provide a declaration of 'strcat' path.c:298:30: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 298 | b1 = strlen(buf1); | ^~~~~~ path.c:298:30: note: include '<string.h>' or provide a declaration of 'strlen' path.c:304:33: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 304 | strcat(buf1, getenv(buf2)); | ^~~~~~ path.c:304:33: note: include '<string.h>' or provide a declaration of 'strcat' path.c:305:38: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 305 | b1 = strlen(buf1); | ^~~~~~ path.c:305:38: note: include '<string.h>' or provide a declaration of 'strlen' path.c:328:19: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 328 | if ((b2 = strlen(buf1)) > 0) { | ^~~~~~ path.c:328:19: note: include '<string.h>' or provide a declaration of 'strlen' path.c:330:17: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 330 | strcpy(ptr, buf1); | ^~~~~~ path.c:330:17: note: include '<string.h>' or provide a declaration of 'strcpy' path.c: In function 'loadPathsAndExts': path.c:141:17: warning: 'strncat' specified bound 8192 equals destination size [-Wstringop-overflow=] 141 | strncat(buf, "/.xlirc", BUFSIZ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- pbm.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c pbm.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from pbm.c:14: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- pcx.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c pcx.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from pcx.c:31: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- reduce.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c reduce.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from reduce.c:23: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from xli.h:20, from reduce.c:23: reduce.c: In function 'QuantHistogram': ddxli.h:43:20: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ reduce.c:231:9: note: in expansion of macro 'bzero' 231 | bzero(rf, ColormaxI * sizeof(unsigned long)); | ^~~~~ reduce.c:24:1: note: include '<string.h>' or provide a declaration of 'memset' 23 | #include "xli.h" +++ |+#include <string.h> 24 | In file included from xli.h:20, from reduce.c:23: ddxli.h:43:20: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ reduce.c:231:9: note: in expansion of macro 'bzero' 231 | bzero(rf, ColormaxI * sizeof(unsigned long)); | ^~~~~ ddxli.h:43:20: note: include '<string.h>' or provide a declaration of 'memset' 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ reduce.c:231:9: note: in expansion of macro 'bzero' 231 | bzero(rf, ColormaxI * sizeof(unsigned long)); | ^~~~~ reduce.c: In function 'UpdateFrequencies': ddxli.h:43:20: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ reduce.c:543:9: note: in expansion of macro 'bzero' 543 | bzero(b1f0, ColormaxI * sizeof(unsigned long)); | ^~~~~ ddxli.h:43:20: note: include '<string.h>' or provide a declaration of 'memset' 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ reduce.c:543:9: note: in expansion of macro 'bzero' 543 | bzero(b1f0, ColormaxI * sizeof(unsigned long)); | ^~~~~ reduce.c: In function 'ComputeRGBMap': ddxli.h:46:22: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 46 | #define bfill(P,N,C) memset((P),(C),(N)) | ^~~~~~ reduce.c:610:17: note: in expansion of macro 'bfill' 610 | bfill((char *) rgbmap, ColormaxI * ColormaxI * ColormaxI | ^~~~~ ddxli.h:46:22: note: include '<string.h>' or provide a declaration of 'memset' 46 | #define bfill(P,N,C) memset((P),(C),(N)) | ^~~~~~ reduce.c:610:17: note: in expansion of macro 'bfill' 610 | bfill((char *) rgbmap, ColormaxI * ColormaxI * ColormaxI | ^~~~~ --- jpeg.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c jpeg.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from jpeg.c:6: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- rle.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c rle.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from rle.c:14: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- rlelib.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c rlelib.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from rlelib.c:14: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ rlelib.c: In function 'buildmap': rlelib.c:331:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 331 | cmap[0] = (rle_pixel *)(nmap +1); | ^ rlelib.c:355:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 355 | cmap[0] = (rle_pixel *)(nmap+1); | ^ rlelib.c:371:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 371 | cmap[0] = (rle_pixel *)(nmap+1); | ^ rlelib.c:391:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 391 | cmap[0] = (rle_pixel *)(nmap+1); | ^ rlelib.c: In function 'freemap': rlelib.c:437:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 437 | j = (int)cmap[-1]-1; /* recover size of cmap */ | ^ In file included from xli.h:20, from rlelib.c:14: rlelib.c: In function 'rle_getrow': ddxli.h:46:22: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 46 | #define bfill(P,N,C) memset((P),(C),(N)) | ^~~~~~ rlelib.c:837:13: note: in expansion of macro 'bfill' 837 | bfill( (char *)scanline[-1], globals->sv_xmax + 1, 0 ); | ^~~~~ rlelib.c:17:1: note: include '<string.h>' or provide a declaration of 'memset' 16 | #include "rle.h" +++ |+#include <string.h> 17 | In file included from xli.h:20, from rlelib.c:14: ddxli.h:46:22: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 46 | #define bfill(P,N,C) memset((P),(C),(N)) | ^~~~~~ rlelib.c:837:13: note: in expansion of macro 'bfill' 837 | bfill( (char *)scanline[-1], globals->sv_xmax + 1, 0 ); | ^~~~~ ddxli.h:46:22: note: include '<string.h>' or provide a declaration of 'memset' 46 | #define bfill(P,N,C) memset((P),(C),(N)) | ^~~~~~ rlelib.c:837:13: note: in expansion of macro 'bfill' 837 | bfill( (char *)scanline[-1], globals->sv_xmax + 1, 0 ); | ^~~~~ ddxli.h:46:22: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 46 | #define bfill(P,N,C) memset((P),(C),(N)) | ^~~~~~ rlelib.c:840:17: note: in expansion of macro 'bfill' 840 | bfill( (char *)scanline[nc], globals->sv_xmax+1, | ^~~~~ ddxli.h:46:22: note: include '<string.h>' or provide a declaration of 'memset' 46 | #define bfill(P,N,C) memset((P),(C),(N)) | ^~~~~~ rlelib.c:840:17: note: in expansion of macro 'bfill' 840 | bfill( (char *)scanline[nc], globals->sv_xmax+1, | ^~~~~ ddxli.h:46:22: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 46 | #define bfill(P,N,C) memset((P),(C),(N)) | ^~~~~~ rlelib.c:990:21: note: in expansion of macro 'bfill' 990 | bfill( (char *)scanc, nc + 1, word ); | ^~~~~ ddxli.h:46:22: note: include '<string.h>' or provide a declaration of 'memset' 46 | #define bfill(P,N,C) memset((P),(C),(N)) | ^~~~~~ rlelib.c:990:21: note: in expansion of macro 'bfill' 990 | bfill( (char *)scanc, nc + 1, word ); | ^~~~~ --- root.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c root.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from root.c:14: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- rotate.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c rotate.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from rotate.c:9: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- root.o --- root.c: In function 'imageOnRoot': root.c:149:30: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 149 | if (!strncmp(s, "DECWINDOWS", 10) && | ^~~~~~~ root.c:15:1: note: include '<string.h>' or provide a declaration of 'strncmp' 14 | #include "xli.h" +++ |+#include <string.h> 15 | root.c:149:55: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 149 | if (!strncmp(s, "DECWINDOWS", 10) && | ^~ <built-in>: note: built-in 'strncmp' declared here --- rotate.o --- rotate.c: In function 'rotate': rotate.c:171:42: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 171 | dimage->title = (char *) lmalloc(strlen(iimage->title) + 40); | ^~~~~~ rotate.c:10:1: note: include '<string.h>' or provide a declaration of 'strlen' 9 | #include "xli.h" +++ |+#include <string.h> 10 | rotate.c:171:42: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 171 | dimage->title = (char *) lmalloc(strlen(iimage->title) + 40); | ^~~~~~ rotate.c:171:42: note: include '<string.h>' or provide a declaration of 'strlen' --- send.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c send.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from send.c:13: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- smooth.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c smooth.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from smooth.c:13: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- send.o --- send.c: In function 'imageToXImage': send.c:593:9: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 593 | memcpy(dst, src, rowbytes); | ^~~~~~ send.c:15:1: note: include '<string.h>' or provide a declaration of 'memcpy' 14 | #include <assert.h> +++ |+#include <string.h> 15 | send.c:593:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 593 | memcpy(dst, src, rowbytes); | ^~~~~~ send.c:593:9: note: include '<string.h>' or provide a declaration of 'memcpy' --- smooth.o --- smooth.c: In function 'doSmooth': smooth.c:32:32: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 32 | dest->title= (char *)lmalloc(strlen(src->title) + 12); | ^~~~~~ smooth.c:14:1: note: include '<string.h>' or provide a declaration of 'strlen' 13 | #include "xli.h" +++ |+#include <string.h> 14 | smooth.c:32:32: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 32 | dest->title= (char *)lmalloc(strlen(src->title) + 12); | ^~~~~~ smooth.c:32:32: note: include '<string.h>' or provide a declaration of 'strlen' --- sunraster.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c sunraster.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from sunraster.c:12: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- value.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c value.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from value.c:15: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- window.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c window.c --- xbitmap.o --- --- window.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from window.c:13: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- xbitmap.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c xbitmap.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from xbitmap.c:17: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ xbitmap.c: In function 'isXbitmap': xbitmap.c:75:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 75 | if (strlen(line) == MAX_SIZE-1) { | ^~~~~~ xbitmap.c:20:1: note: include '<string.h>' or provide a declaration of 'strlen' 19 | #include <ctype.h> +++ |+#include <string.h> 20 | xbitmap.c:75:9: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 75 | if (strlen(line) == MAX_SIZE-1) { | ^~~~~~ xbitmap.c:75:9: note: include '<string.h>' or provide a declaration of 'strlen' xbitmap.c:88:12: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 88 | if (!strcmp("width", type)) | ^~~~~~ xbitmap.c:88:12: note: include '<string.h>' or provide a declaration of 'strcmp' --- window.o --- window.c: In function 'setViewportColormap': window.c:212:16: warning: type defaults to 'int' in declaration of 'cmap_atom' [-Wimplicit-int] 212 | static cmap_atom = None; | ^~~~~~~~~ window.c: In function 'iconName': window.c:252:9: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 252 | strncpy(buf, s, BUFSIZ - 1); | ^~~~~~~ window.c:20:1: note: include '<string.h>' or provide a declaration of 'strncpy' 19 | #include <sys/time.h> +++ |+#include <string.h> 20 | #endif window.c:252:9: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 252 | strncpy(buf, s, BUFSIZ - 1); | ^~~~~~~ window.c:252:9: note: include '<string.h>' or provide a declaration of 'strncpy' --- xli.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c xli.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from xli.c:18: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ xli.c: In function 'main': xli.c:127:14: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 127 | if (!strcmp(tail(argv[0]), "xview")) { | ^~~~~~ xli.c:21:1: note: include '<string.h>' or provide a declaration of 'strcmp' 20 | #include <signal.h> +++ |+#include <string.h> 21 | --- xpixmap.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c xpixmap.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from xpixmap.c:20: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ xpixmap.c: In function 'xpmoption': xpixmap.c:76:22: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 76 | if (!strcmp(s, xpmkeys[i])) | ^~~~~~ xpixmap.c:22:1: note: include '<string.h>' or provide a declaration of 'strcmp' 21 | #include "imagetypes.h" +++ |+#include <string.h> 22 | xpixmap.c: In function 'isXpixmap': xpixmap.c:116:22: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 116 | if (!strncmp(buf, "#define", 7)) { | ^~~~~~~ xpixmap.c:116:22: note: include '<string.h>' or provide a declaration of 'strncmp' xpixmap.c:116:46: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 116 | if (!strncmp(buf, "#define", 7)) { | ^ <built-in>: note: built-in 'strncmp' declared here xpixmap.c:153:42: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 153 | zunread(zf, buf, strlen(buf)); /* stuff it back so we can read it again */ | ^~~~~~ xpixmap.c:153:42: note: include '<string.h>' or provide a declaration of 'strlen' xpixmap.c:153:42: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] xpixmap.c:153:42: note: include '<string.h>' or provide a declaration of 'strlen' xpixmap.c:179:37: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 179 | if (strlen(what) >= (unsigned) 2 && what[strlen(what) - 2] == '[' | ^~~~~~ xpixmap.c:179:37: note: include '<string.h>' or provide a declaration of 'strlen' xpixmap.c:182:37: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 182 | if (strlen(what) > (unsigned) 0) /* if not titleless */ | ^~~~~~ xpixmap.c:182:37: note: include '<string.h>' or provide a declaration of 'strlen' In file included from xli.h:20, from xpixmap.c:20: xpixmap.c: In function 'xpixmapLoad': ddxli.h:43:20: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ xpixmap.c:356:17: note: in expansion of macro 'bzero' 356 | bzero(ctable, sizeof(char *) * ncolors); | ^~~~~ ddxli.h:43:20: note: include '<string.h>' or provide a declaration of 'memset' 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ xpixmap.c:356:17: note: in expansion of macro 'bzero' 356 | bzero(ctable, sizeof(char *) * ncolors); | ^~~~~ ddxli.h:43:20: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ xpixmap.c:356:17: note: in expansion of macro 'bzero' 356 | bzero(ctable, sizeof(char *) * ncolors); | ^~~~~ ddxli.h:43:20: note: include '<string.h>' or provide a declaration of 'memset' 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ xpixmap.c:356:17: note: in expansion of macro 'bzero' 356 | bzero(ctable, sizeof(char *) * ncolors); | ^~~~~ ddxli.h:43:20: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ xpixmap.c:491:9: note: in expansion of macro 'bzero' 491 | bzero(clookup, sizeof(int) * cmax - cmin); | ^~~~~ ddxli.h:43:20: note: include '<string.h>' or provide a declaration of 'memset' 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ xpixmap.c:491:9: note: in expansion of macro 'bzero' 491 | bzero(clookup, sizeof(int) * cmax - cmin); | ^~~~~ --- xwd.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c xwd.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from xwd.c:16: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- xpixmap.o --- ddxli.h:43:20: warning: 'memset' specified bound 18446744072635809796 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~~~~~~~~~~~~~~~ xpixmap.c:491:9: note: in expansion of macro 'bzero' 491 | bzero(clookup, sizeof(int) * cmax - cmin); | ^~~~~ --- zio.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c zio.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from zio.c:22: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from xli.h:20, from zio.c:22: zio.c: In function 'zread': ddxli.h:40:22: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ zio.c:55:25: note: in expansion of macro 'bcopy' 55 | bcopy(zf->bufptr, buf, readlen); | ^~~~~ zio.c:24:1: note: include '<string.h>' or provide a declaration of 'memcpy' 23 | #include <ctype.h> +++ |+#include <string.h> 24 | In file included from xli.h:20, from zio.c:22: ddxli.h:40:22: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ zio.c:55:25: note: in expansion of macro 'bcopy' 55 | bcopy(zf->bufptr, buf, readlen); | ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ zio.c:55:25: note: in expansion of macro 'bcopy' 55 | bcopy(zf->bufptr, buf, readlen); | ^~~~~ zio.c: In function '_zaptocache': ddxli.h:40:22: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ zio.c:157:17: note: in expansion of macro 'bcopy' 157 | bcopy(cbuf, newdat->buf, len); | ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ zio.c:157:17: note: in expansion of macro 'bcopy' 157 | bcopy(cbuf, newdat->buf, len); | ^~~~~ zio.c: In function 'zreset': zio.c:210:38: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 210 | if (zf->filename && !strcmp(filename, zf->filename)) | ^~~~~~ zio.c:210:38: note: include '<string.h>' or provide a declaration of 'strcmp' zio.c: In function '_zopen': zio.c:373:26: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 373 | (strlen(name) > 3 && | ^~~~~~ zio.c:373:26: note: include '<string.h>' or provide a declaration of 'strlen' zio.c:373:26: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] zio.c:373:26: note: include '<string.h>' or provide a declaration of 'strlen' zio.c:388:21: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 388 | if (strlen(name) > 4 && | ^~~~~~ zio.c:388:21: note: include '<string.h>' or provide a declaration of 'strlen' zio.c:402:33: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 402 | strlen(cmd) + 1 + 5 * strlen(name) + 1 + 1); | ^~~~~~ zio.c:402:33: note: include '<string.h>' or provide a declaration of 'strlen' zio.c:403:25: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 403 | strcpy(buf, cmd); | ^~~~~~ zio.c:403:25: note: include '<string.h>' or provide a declaration of 'strcpy' zio.c:403:25: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] zio.c:403:25: note: include '<string.h>' or provide a declaration of 'strcpy' zio.c:447:30: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 447 | if (!strncmp(uuibuf, "begin ", 6) | ^~~~~~~ zio.c:447:30: note: include '<string.h>' or provide a declaration of 'strncmp' zio.c:447:56: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 447 | if (!strncmp(uuibuf, "begin ", 6) | ^ <built-in>: note: built-in 'strncmp' declared here In file included from xli.h:20, from zio.c:22: zio.c: In function 'zgets': ddxli.h:40:22: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ zio.c:498:33: note: in expansion of macro 'bcopy' 498 | bcopy(zf->bufptr, buf, bp - zf->bufptr); | ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ zio.c:498:33: note: in expansion of macro 'bcopy' 498 | bcopy(zf->bufptr, buf, bp - zf->bufptr); | ^~~~~ zio.c: In function 'zunread': ddxli.h:40:22: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ zio.c:546:17: note: in expansion of macro 'bcopy' 546 | bcopy(buf, zf->bufptr, len); | ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ zio.c:546:17: note: in expansion of macro 'bcopy' 546 | bcopy(buf, zf->bufptr, len); | ^~~~~ ddxli.h:40:22: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ zio.c:552:17: note: in expansion of macro 'bcopy' 552 | bcopy(buf, new + extra, len); /* copy new aux data */ | ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ zio.c:552:17: note: in expansion of macro 'bcopy' 552 | bcopy(buf, new + extra, len); /* copy new aux data */ | ^~~~~ zio.c: In function 'uuread': ddxli.h:40:22: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ zio.c:670:17: note: in expansion of macro 'bcopy' 670 | bcopy(zf->uunext, buf, cl); | ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ zio.c:670:17: note: in expansion of macro 'bcopy' 670 | bcopy(zf->uunext, buf, cl); | ^~~~~ zio.c: In function 'uugetline': zio.c:699:23: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 699 | len = strlen((char *) ibuf) - 2; | ^~~~~~ zio.c:699:23: note: include '<string.h>' or provide a declaration of 'strlen' zio.c:772:63: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 772 | if (len != 2 || strncmp((char *) ibuf, "end", 3)) { | ^ <built-in>: note: built-in 'strncmp' declared here --- zoom.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c zoom.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from zoom.c:12: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ zoom.c: In function 'zoom': zoom.c:79:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 79 | strcpy(buf,oimage->title); | ^~~~~~ zoom.c:13:1: note: include '<string.h>' or provide a declaration of 'strcpy' 12 | #include "xli.h" +++ |+#include <string.h> 13 | zoom.c:79:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 79 | strcpy(buf,oimage->title); | ^~~~~~ zoom.c:79:5: note: include '<string.h>' or provide a declaration of 'strcpy' --- ddxli.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c ddxli.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from ddxli.c:7: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- tga.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c tga.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from tga.c:13: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- ddxli.o --- ddxli.c: In function 'saParseXColor': ddxli.c:135:13: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 135 | n = strlen(spec); | ^~~~~~ ddxli.c:111:1: note: include '<string.h>' or provide a declaration of 'strlen' 110 | #include "rgbtab.h" /* Equivalent of an X color table */ +++ |+#include <string.h> 111 | ddxli.c:135:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 135 | n = strlen(spec); | ^~~~~~ ddxli.c:135:13: note: include '<string.h>' or provide a declaration of 'strlen' ddxli.c:198:37: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 198 | if (strcmp(spec, tp->name) == 0) { | ^~~~~~ ddxli.c:198:37: note: include '<string.h>' or provide a declaration of 'strcmp' --- bmp.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c bmp.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from bmp.c:11: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from xli.h:20, from bmp.c:11: bmp.c: In function 'bmpLoad': ddxli.h:43:20: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ bmp.c:254:25: note: in expansion of macro 'bzero' 254 | bzero((char *) image->data, | ^~~~~ bmp.c:14:1: note: include '<string.h>' or provide a declaration of 'memset' 13 | #include "bmp.h" +++ |+#include <string.h> 14 | In file included from xli.h:20, from bmp.c:11: ddxli.h:43:20: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ bmp.c:254:25: note: in expansion of macro 'bzero' 254 | bzero((char *) image->data, | ^~~~~ ddxli.h:43:20: note: include '<string.h>' or provide a declaration of 'memset' 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ bmp.c:254:25: note: in expansion of macro 'bzero' 254 | bzero((char *) image->data, | ^~~~~ ddxli.h:43:20: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ bmp.c:370:25: note: in expansion of macro 'bzero' 370 | bzero((char *) image->data, | ^~~~~ ddxli.h:43:20: note: include '<string.h>' or provide a declaration of 'memset' 43 | #define bzero(P,N) memset((P),'\0',(N)) | ^~~~~~ bmp.c:370:25: note: in expansion of macro 'bzero' 370 | bzero((char *) image->data, | ^~~~~ --- pcd.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c pcd.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from pcd.c:12: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from xli.h:20, from pcd.c:12: pcd.c: In function 'read_pcdHeader': ddxli.h:40:22: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ pcd.c:130:9: note: in expansion of macro 'bcopy' 130 | bcopy(&hp->buf[0x0800 & PCDBMASK], hp->magic, 7); | ^~~~~ pcd.c:15:1: note: include '<string.h>' or provide a declaration of 'memcpy' 14 | #include "pcd.h" +++ |+#include <string.h> 15 | In file included from xli.h:20, from pcd.c:12: ddxli.h:40:22: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ pcd.c:130:9: note: in expansion of macro 'bcopy' 130 | bcopy(&hp->buf[0x0800 & PCDBMASK], hp->magic, 7); | ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ pcd.c:130:9: note: in expansion of macro 'bcopy' 130 | bcopy(&hp->buf[0x0800 & PCDBMASK], hp->magic, 7); | ^~~~~ pcd.c:132:13: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 132 | if (strcmp(hp->magic, "PCD_IPI") != 0) | ^~~~~~ pcd.c:132:13: note: include '<string.h>' or provide a declaration of 'strcmp' In file included from xli.h:20, from pcd.c:12: pcd.c: In function 'gethufftable': ddxli.h:46:22: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 46 | #define bfill(P,N,C) memset((P),(C),(N)) | ^~~~~~ pcd.c:783:9: note: in expansion of macro 'bfill' 783 | bfill(hufftab, sizeof(huff) * (1 << 12), 0xff); | ^~~~~ ddxli.h:46:22: note: include '<string.h>' or provide a declaration of 'memset' 46 | #define bfill(P,N,C) memset((P),(C),(N)) | ^~~~~~ pcd.c:783:9: note: in expansion of macro 'bfill' 783 | bfill(hufftab, sizeof(huff) * (1 << 12), 0xff); | ^~~~~ ddxli.h:46:22: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 46 | #define bfill(P,N,C) memset((P),(C),(N)) | ^~~~~~ pcd.c:783:9: note: in expansion of macro 'bfill' 783 | bfill(hufftab, sizeof(huff) * (1 << 12), 0xff); | ^~~~~ ddxli.h:46:22: note: include '<string.h>' or provide a declaration of 'memset' 46 | #define bfill(P,N,C) memset((P),(C),(N)) | ^~~~~~ pcd.c:783:9: note: in expansion of macro 'bfill' 783 | bfill(hufftab, sizeof(huff) * (1 << 12), 0xff); | ^~~~~ ddxli.h:40:22: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ pcd.c:803:41: note: in expansion of macro 'bcopy' 803 | bcopy((byte *) hufftab, ((byte *) hufftab) + sz, sz); | ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' 40 | #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) | ^~~~~~ pcd.c:803:41: note: in expansion of macro 'bcopy' 803 | bcopy((byte *) hufftab, ((byte *) hufftab) + sz, sz); | ^~~~~ --- png.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c png.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xli.h:13, from png.c:10: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ png.c: In function 'pngLoad': png.c:317:30: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 317 | if (!strcmp(text[i].key, TITLE_KEYWORD)) | ^~~~~~ png.c:15:1: note: include '<string.h>' or provide a declaration of 'strcmp' 14 | #include <assert.h> +++ |+#include <string.h> 15 | --- xlito.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/include -I/include -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -I/usr/pkg/include -c xlito.c In file included from /usr/include/fcntl.h:25, from xlito.c:1: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- xli._man --- rm -f xli._man if test -z "" ; then cd `dirname xli` && ln -s `basename xli.man` `basename xli._man`; else cpp -undef -traditional -D__apploaddir__=/usr/share/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xli.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xli._man; fi --- xlito._man --- rm -f xlito._man if test -z "" ; then cd `dirname xlito` && ln -s `basename xlito.man` `basename xlito._man`; else cpp -undef -traditional -D__apploaddir__=/usr/share/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xlito.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xlito._man; fi --- xli --- rm -f xli cc -o xli -O2 -fno-strength-reduce -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib bright.o clip.o cmuwmrast.o compress.o dither.o faces.o fbm.o fill.o g3.o gif.o halftone.o imagetypes.o img.o mac.o mcidas.o mc_tables.o merge.o misc.o new.o options.o path.o pbm.o pcx.o reduce.o jpeg.o rle.o rlelib.o root.o rotate.o send.o smooth.o sunraster.o value.o window.o xbitmap.o xli.o xpixmap.o xwd.o zio.o zoom.o ddxli.o tga.o bmp.o pcd.o png.o -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2 -lXext -lX11 -L/lib -Wl,-R/usr/pkg/lib -L/lib -Wl,-R/usr/pkg/lib -ljpeg -lpng -lz -lm -Wl,-rpath,/usr/pkg/lib -Wl,-rpath-link,./exports/lib --- xlito.o --- xlito.c: In function 'main': xlito.c:53:16: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 53 | klen = strlen(key); | ^~~~~~ xlito.c:10:1: note: include '<string.h>' or provide a declaration of 'strlen' 9 | #include <unistd.h> +++ |+#include <string.h> 10 | #endif xlito.c:53:16: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 53 | klen = strlen(key); | ^~~~~~ xlito.c:53:16: note: include '<string.h>' or provide a declaration of 'strlen' xlito.c:122:36: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 122 | if(strcmp("-name",fname)==0) | ^~~~~~ xlito.c:122:36: note: include '<string.h>' or provide a declaration of 'strcmp' xlito.c: In function 'find_text': xlito.c:256:16: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 256 | klen = strlen(key); | ^~~~~~ xlito.c:256:16: note: include '<string.h>' or provide a declaration of 'strlen' xlito.c:279:21: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 279 | if (strncmp(key,pp - klen + 1,klen) ==0) | ^~~~~~~ xlito.c:279:21: note: include '<string.h>' or provide a declaration of 'strncmp' xlito.c:279:47: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 279 | if (strncmp(key,pp - klen + 1,klen) ==0) | ^~~~ <built-in>: note: built-in 'strncmp' declared here xlito.c:317:29: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 317 | if (strncmp(key,buf,klen) !=0) | ^~~~ <built-in>: note: built-in 'strncmp' declared here --- xlito --- rm -f xlito cc -o xlito -O2 -fno-strength-reduce -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib xlito.o -lm -Wl,-rpath,/usr/pkg/lib -Wl,-rpath-link,./exports/lib