+ 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.0nb14/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xli-1.17.0nb14/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xli-1.17.0nb14 --- 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 --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- clip.o --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ 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] #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ clip.c:233:7: note: in expansion of macro 'bcopy' bcopy(sp,dp,simage->pixlen * dclipw); ^~~~~ ddxli.h:40:22: warning: incompatible implicit declaration of built-in function 'memcpy' #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ clip.c:233:7: note: in expansion of macro 'bcopy' bcopy(sp,dp,simage->pixlen * dclipw); ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ clip.c:233:7: note: in expansion of macro 'bcopy' 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # 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 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # 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] image->title = (char *)lmalloc(strlen(cimage->title) + 12); ^~~~~~ dither.c:77:36: warning: incompatible implicit declaration of built-in function 'strlen' dither.c:77:36: note: include '<string.h>' or provide a declaration of 'strlen' dither.c:28:1: +#include <string.h> dither.c:77:36: image->title = (char *)lmalloc(strlen(cimage->title) + 12); ^~~~~~ In file included from xli.h:20, from dither.c:27: ddxli.h:43:20: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ dither.c:114:3: note: in expansion of macro 'bzero' bzero ((char *)curr, cimage->width * sizeof(*curr)); ^~~~~ ddxli.h:43:20: warning: incompatible implicit declaration of built-in function 'memset' #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ dither.c:114:3: note: in expansion of macro 'bzero' bzero ((char *)curr, cimage->width * sizeof(*curr)); ^~~~~ ddxli.h:43:20: note: include '<string.h>' or provide a declaration of 'memset' #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ dither.c:114:3: note: in expansion of macro 'bzero' 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 --- fbm.o --- --- faces.o --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- faces.o --- faces.c: In function 'isFaces': faces.c:54:11: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (! strcmp(buf, "\n")) ^~~~~~ faces.c:56:10: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (!strncmp(buf, "FirstName:", 10)) ^~~~~~~ faces.c:58:2: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(fname, buf + 11, BUFSIZ - 1); ^~~~~~~ faces.c:58:2: warning: incompatible implicit declaration of built-in function 'strncpy' faces.c:58:2: note: include '<string.h>' or provide a declaration of 'strncpy' faces.c:13:1: +#include <string.h> faces.c:58:2: strncpy(fname, buf + 11, BUFSIZ - 1); ^~~~~~~ faces.c:63:2: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(lname, buf + 10, BUFSIZ - 1); ^~~~~~~ faces.c:63:2: note: include '<string.h>' or provide a declaration of 'strncpy' faces.c: In function 'facesLoad': faces.c:130:13: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] fname[strlen(fname) - 1] = ' '; ^~~~~~ faces.c:130:13: warning: incompatible implicit declaration of built-in function 'strlen' 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' 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] strncat(fname, lname, sizeof(fname) - strlen(fname) - 1); ^~~~~~~ faces.c:135:5: warning: incompatible implicit declaration of built-in function 'strncat' 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' strncat(fname, lname, sizeof(fname) - strlen(fname) - 1); ^~~~~~ faces.c:135:43: note: include '<string.h>' or provide a declaration of 'strlen' --- fbm.o --- fbm.c: In function 'fbmin_open_image': fbm.c:87:7: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (strncmp(FBM_MAGIC, phdr.magic, sizeof(FBM_MAGIC)) != 0) ^~~~~~~ --- 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 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- g3.o --- --- gif.o --- --- 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 --- 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 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- g3.o --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- gif.o --- gif.c: In function 'gifin_open_file': gif.c:192:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp((char *) buf, GIF_SIG) == 0) ^~~~~~ --- 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] #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ g3.c:137:2: note: in expansion of macro 'bzero' bzero((char *) bitrow, maxlinelen); /* was memset -- jimf 09.11.90 */ ^~~~~ ddxli.h:43:20: warning: incompatible implicit declaration of built-in function 'memset' #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ g3.c:137:2: note: in expansion of macro 'bzero' bzero((char *) bitrow, maxlinelen); /* was memset -- jimf 09.11.90 */ ^~~~~ ddxli.h:43:20: note: include '<string.h>' or provide a declaration of 'memset' #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ g3.c:137:2: note: in expansion of macro 'bzero' bzero((char *) bitrow, maxlinelen); /* was memset -- jimf 09.11.90 */ ^~~~~ --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ halftone.c: In function 'halftone': halftone.c:189:35: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] image->title = (char *) lmalloc(strlen(cimage->title) + 13); ^~~~~~ halftone.c:189:35: warning: incompatible implicit declaration of built-in function 'strlen' halftone.c:189:35: note: include '<string.h>' or provide a declaration of 'strlen' halftone.c:18:1: +#include <string.h> halftone.c:189:35: image->title = (char *) lmalloc(strlen(cimage->title) + 13); ^~~~~~ --- 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 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- 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 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- imagetypes.o --- imagetypes.c: In function 'loadImage': imagetypes.c:64:32: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] image_ops->fullname = lmalloc(strlen(fullname) + 1); ^~~~~~ imagetypes.c:64:32: warning: incompatible implicit declaration of built-in function 'strlen' imagetypes.c:64:32: note: include '<string.h>' or provide a declaration of 'strlen' imagetypes.c:15:1: +#include <string.h> imagetypes.c:64:32: image_ops->fullname = lmalloc(strlen(fullname) + 1); ^~~~~~ imagetypes.c:65:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(image_ops->fullname, fullname); ^~~~~~ imagetypes.c:65:2: warning: incompatible implicit declaration of built-in function 'strcpy' imagetypes.c:65:2: 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 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- mc_tables.o --- --- merge.o --- --- 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 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- 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 --- misc.o --- misc.c: In function 'xlistrstr': misc.c:272:11: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] for (n = strlen(s2), p = s1;; p++) { ^~~~~~ misc.c:272:11: warning: incompatible implicit declaration of built-in function 'strlen' misc.c:272:11: note: include '<string.h>' or provide a declaration of 'strlen' misc.c:15:1: +#include <string.h> misc.c:272:11: for (n = strlen(s2), p = s1;; p++) { ^~~~~~ misc.c:275:8: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (!strncmp(p, s2, n)) ^~~~~~~ --- new.o --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ new.c: In function 'dupString': new.c:71:23: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] d = (char *) lmalloc(strlen(s) + 1); ^~~~~~ new.c:71:23: warning: incompatible implicit declaration of built-in function 'strlen' new.c:71:23: note: include '<string.h>' or provide a declaration of 'strlen' new.c:13:1: +#include <string.h> new.c:71:23: d = (char *) lmalloc(strlen(s) + 1); ^~~~~~ new.c:72:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(d, s); ^~~~~~ new.c:72:2: warning: incompatible implicit declaration of built-in function 'strcpy' new.c:72:2: note: include '<string.h>' or provide a declaration of 'strcpy' --- 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 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- options.o --- options.c: In function 'optionNumber': options.c:225:8: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (!strncmp(arg + 1, Options[a].name, strlen(arg) - 1)) { ^~~~~~~ options.c:225:42: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if (!strncmp(arg + 1, Options[a].name, strlen(arg) - 1)) { ^~~~~~ options.c:225:42: warning: incompatible implicit declaration of built-in function 'strlen' options.c:225:42: note: include '<string.h>' or provide a declaration of 'strlen' options.c:13:1: +#include <string.h> options.c:225:42: if (!strncmp(arg + 1, Options[a].name, strlen(arg) - 1)) { ^~~~~~ options.c: In function 'listOptions': options.c:243:12: warning: incompatible implicit declaration of built-in function 'strlen' width += strlen(Options[a].name) + 2; ^~~~~~ options.c:243:12: note: include '<string.h>' or provide a declaration of 'strlen' options.c: In function 'helpOnOption': options.c:260:41: warning: incompatible implicit declaration of built-in function 'strlen' if (!strncmp(Options[a].name, option, strlen(option))) { ^~~~~~ options.c:260:41: note: include '<string.h>' or provide a declaration of 'strlen' options.c: In function 'help': options.c:306:14: warning: incompatible implicit declaration of built-in function 'strlen' while (buf[strlen(buf) - 1] == '\n') ^~~~~~ options.c:306:14: note: include '<string.h>' or provide a declaration of 'strlen' options.c:312:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp(buf, "")) { ^~~~~~ options.c: In function 'read_trail_opt': options.c:774:10: warning: incompatible implicit declaration of built-in function 'strlen' klen = strlen(key); ^~~~~~ options.c:774:10: note: include '<string.h>' or provide a declaration of 'strlen' In file included from xli.h:20, from options.c:12: ddxli.h:40:22: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ options.c:789:3: note: in expansion of macro 'bcopy' bcopy(pp, buf, nib); ^~~~~ ddxli.h:40:22: warning: incompatible implicit declaration of built-in function 'memcpy' #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ options.c:789:3: note: in expansion of macro 'bcopy' bcopy(pp, buf, nib); ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ options.c:789:3: note: in expansion of macro 'bcopy' bcopy(pp, buf, nib); ^~~~~ --- path.o --- path.c: In function 'readPathsAndExts': path.c:49:7: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] l = strlen(tokenbuf); ^~~~~~ path.c:49:7: warning: incompatible implicit declaration of built-in function 'strlen' path.c:49:7: note: include '<string.h>' or provide a declaration of 'strlen' path.c:20:1: +#include <string.h> path.c:49:7: l = strlen(tokenbuf); ^~~~~~ path.c:65:8: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (!strncmp(tokenbuf, PathToken, strlen(PathToken))) { ^~~~~~~ path.c:75:4: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(buf, tokenbuf); ^~~~~~ path.c:75:4: warning: incompatible implicit declaration of built-in function 'strcpy' path.c:75:4: note: include '<string.h>' or provide a declaration of 'strcpy' path.c: In function 'loadPathsAndExts': path.c:140:3: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(buf, homedir, BUFSIZ); ^~~~~~~ path.c:140:3: warning: incompatible implicit declaration of built-in function 'strncpy' path.c:140:3: note: include '<string.h>' or provide a declaration of 'strncpy' path.c:141:3: warning: implicit declaration of function 'strncat' [-Wimplicit-function-declaration] strncat(buf, "/.xlirc", BUFSIZ); ^~~~~~~ path.c:141:3: warning: incompatible implicit declaration of built-in function 'strncat' path.c:141:3: note: include '<string.h>' or provide a declaration of 'strncat' path.c: In function 'findImage': path.c:178:2: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(fullname, name); ^~~~~~ path.c:178:2: note: include '<string.h>' or provide a declaration of 'strcpy' path.c:179:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp(name, "stdin")) /* stdin is special name */ ^~~~~~ path.c:186:2: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat(fullname, ".Z"); ^~~~~~ path.c:186:2: warning: incompatible implicit declaration of built-in function 'strcat' path.c:186:2: note: include '<string.h>' or provide a declaration of 'strcat' path.c: In function 'expandPath': path.c:297:4: warning: incompatible implicit declaration of built-in function 'strcat' strcat(buf1, getenv("HOME")); ^~~~~~ path.c:297:4: note: include '<string.h>' or provide a declaration of 'strcat' path.c:298:9: warning: incompatible implicit declaration of built-in function 'strlen' b1 = strlen(buf1); ^~~~~~ path.c:298:9: note: include '<string.h>' or provide a declaration of 'strlen' path.c:304:5: warning: incompatible implicit declaration of built-in function 'strcat' strcat(buf1, getenv(buf2)); ^~~~~~ path.c:304:5: note: include '<string.h>' or provide a declaration of 'strcat' path.c:305:10: warning: incompatible implicit declaration of built-in function 'strlen' b1 = strlen(buf1); ^~~~~~ path.c:305:10: note: include '<string.h>' or provide a declaration of 'strlen' path.c:328:12: warning: incompatible implicit declaration of built-in function 'strlen' if ((b2 = strlen(buf1)) > 0) { ^~~~~~ path.c:328:12: note: include '<string.h>' or provide a declaration of 'strlen' path.c:330:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(ptr, buf1); ^~~~~~ path.c:330:3: note: include '<string.h>' or provide a declaration of 'strcpy' path.c: In function 'loadPathsAndExts': path.c:141:3: warning: 'strncat' specified bound 8192 equals destination size [-Wstringop-overflow=] 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 --- pcx.o --- --- pbm.o --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # 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] #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ reduce.c:231:2: note: in expansion of macro 'bzero' bzero(rf, ColormaxI * sizeof(unsigned long)); ^~~~~ ddxli.h:43:20: warning: incompatible implicit declaration of built-in function 'memset' #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ reduce.c:231:2: note: in expansion of macro 'bzero' bzero(rf, ColormaxI * sizeof(unsigned long)); ^~~~~ ddxli.h:43:20: note: include '<string.h>' or provide a declaration of 'memset' #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ reduce.c:231:2: note: in expansion of macro 'bzero' bzero(rf, ColormaxI * sizeof(unsigned long)); ^~~~~ reduce.c: In function 'UpdateFrequencies': ddxli.h:43:20: warning: incompatible implicit declaration of built-in function 'memset' #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ reduce.c:543:2: note: in expansion of macro 'bzero' bzero(b1f0, ColormaxI * sizeof(unsigned long)); ^~~~~ ddxli.h:43:20: note: include '<string.h>' or provide a declaration of 'memset' #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ reduce.c:543:2: note: in expansion of macro 'bzero' bzero(b1f0, ColormaxI * sizeof(unsigned long)); ^~~~~ reduce.c: In function 'ComputeRGBMap': ddxli.h:46:22: warning: incompatible implicit declaration of built-in function 'memset' #define bfill(P,N,C) memset((P),(C),(N)) ^~~~~~ reduce.c:610:3: note: in expansion of macro 'bfill' bfill((char *) rgbmap, ColormaxI * ColormaxI * ColormaxI ^~~~~ ddxli.h:46:22: note: include '<string.h>' or provide a declaration of 'memset' #define bfill(P,N,C) memset((P),(C),(N)) ^~~~~~ reduce.c:610:3: note: in expansion of macro 'bfill' 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rlelib.c: In function 'buildmap': rlelib.c:331:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cmap[0] = (rle_pixel *)(nmap +1); ^ rlelib.c:355:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cmap[0] = (rle_pixel *)(nmap+1); ^ rlelib.c:371:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cmap[0] = (rle_pixel *)(nmap+1); ^ rlelib.c:391:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cmap[0] = (rle_pixel *)(nmap+1); ^ rlelib.c: In function 'freemap': rlelib.c:437:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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] #define bfill(P,N,C) memset((P),(C),(N)) ^~~~~~ rlelib.c:837:6: note: in expansion of macro 'bfill' bfill( (char *)scanline[-1], globals->sv_xmax + 1, 0 ); ^~~~~ ddxli.h:46:22: warning: incompatible implicit declaration of built-in function 'memset' #define bfill(P,N,C) memset((P),(C),(N)) ^~~~~~ rlelib.c:837:6: note: in expansion of macro 'bfill' bfill( (char *)scanline[-1], globals->sv_xmax + 1, 0 ); ^~~~~ ddxli.h:46:22: note: include '<string.h>' or provide a declaration of 'memset' #define bfill(P,N,C) memset((P),(C),(N)) ^~~~~~ rlelib.c:837:6: note: in expansion of macro 'bfill' bfill( (char *)scanline[-1], globals->sv_xmax + 1, 0 ); ^~~~~ ddxli.h:46:22: warning: incompatible implicit declaration of built-in function 'memset' #define bfill(P,N,C) memset((P),(C),(N)) ^~~~~~ rlelib.c:840:3: note: in expansion of macro 'bfill' bfill( (char *)scanline[nc], globals->sv_xmax+1, ^~~~~ ddxli.h:46:22: note: include '<string.h>' or provide a declaration of 'memset' #define bfill(P,N,C) memset((P),(C),(N)) ^~~~~~ rlelib.c:840:3: note: in expansion of macro 'bfill' bfill( (char *)scanline[nc], globals->sv_xmax+1, ^~~~~ ddxli.h:46:22: warning: incompatible implicit declaration of built-in function 'memset' #define bfill(P,N,C) memset((P),(C),(N)) ^~~~~~ rlelib.c:990:7: note: in expansion of macro 'bfill' bfill( (char *)scanc, nc + 1, word ); ^~~~~ ddxli.h:46:22: note: include '<string.h>' or provide a declaration of 'memset' #define bfill(P,N,C) memset((P),(C),(N)) ^~~~~~ rlelib.c:990:7: note: in expansion of macro 'bfill' 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ root.c: In function 'imageOnRoot': root.c:149:9: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (!strncmp(s, "DECWINDOWS", 10) && ^~~~~~~ --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rotate.c: In function 'rotate': rotate.c:171:35: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] dimage->title = (char *) lmalloc(strlen(iimage->title) + 40); ^~~~~~ rotate.c:171:35: warning: incompatible implicit declaration of built-in function 'strlen' rotate.c:171:35: note: include '<string.h>' or provide a declaration of 'strlen' rotate.c:10:1: +#include <string.h> rotate.c:171:35: dimage->title = (char *) lmalloc(strlen(iimage->title) + 40); ^~~~~~ --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- smooth.o --- --- send.o --- send.c: In function 'imageToXImage': send.c:593:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(dst, src, rowbytes); ^~~~~~ send.c:593:2: warning: incompatible implicit declaration of built-in function 'memcpy' send.c:593:2: note: include '<string.h>' or provide a declaration of 'memcpy' send.c:15:1: +#include <string.h> send.c:593:2: memcpy(dst, src, rowbytes); ^~~~~~ --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ smooth.c: In function 'doSmooth': smooth.c:32:32: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] dest->title= (char *)lmalloc(strlen(src->title) + 12); ^~~~~~ smooth.c:32:32: warning: incompatible implicit declaration of built-in function 'strlen' smooth.c:32:32: note: include '<string.h>' or provide a declaration of 'strlen' smooth.c:14:1: +#include <string.h> smooth.c:32:32: dest->title= (char *)lmalloc(strlen(src->title) + 12); ^~~~~~ --- 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 --- 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 --- sunraster.o --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- value.o --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # 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 --- 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 --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- xbitmap.o --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- window.o --- window.c: In function 'setViewportColormap': window.c:212:9: warning: type defaults to 'int' in declaration of 'cmap_atom' [-Wimplicit-int] static cmap_atom = None; ^~~~~~~~~ window.c: In function 'iconName': window.c:252:2: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(buf, s, BUFSIZ - 1); ^~~~~~~ window.c:252:2: warning: incompatible implicit declaration of built-in function 'strncpy' window.c:252:2: note: include '<string.h>' or provide a declaration of 'strncpy' window.c:20:1: +#include <string.h> #endif window.c:252:2: strncpy(buf, s, BUFSIZ - 1); ^~~~~~~ --- xbitmap.o --- xbitmap.c: In function 'isXbitmap': xbitmap.c:75:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if (strlen(line) == MAX_SIZE-1) { ^~~~~~ xbitmap.c:75:9: warning: incompatible implicit declaration of built-in function 'strlen' xbitmap.c:75:9: note: include '<string.h>' or provide a declaration of 'strlen' xbitmap.c:20:1: +#include <string.h> xbitmap.c:75:9: if (strlen(line) == MAX_SIZE-1) { ^~~~~~ xbitmap.c:88:12: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp("width", type)) ^~~~~~ --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- xpixmap.o --- --- xli.o --- xli.c: In function 'main': xli.c:127:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp(tail(argv[0]), "xview")) { ^~~~~~ --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xpixmap.c: In function 'xpmoption': xpixmap.c:76:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp(s, xpmkeys[i])) ^~~~~~ xpixmap.c: In function 'isXpixmap': xpixmap.c:116:8: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (!strncmp(buf, "#define", 7)) { ^~~~~~~ xpixmap.c:153:21: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] zunread(zf, buf, strlen(buf)); /* stuff it back so we can read it again */ ^~~~~~ xpixmap.c:153:21: warning: incompatible implicit declaration of built-in function 'strlen' xpixmap.c:153:21: note: include '<string.h>' or provide a declaration of 'strlen' xpixmap.c:22:1: +#include <string.h> xpixmap.c:153:21: zunread(zf, buf, strlen(buf)); /* stuff it back so we can read it again */ ^~~~~~ xpixmap.c:179:9: warning: incompatible implicit declaration of built-in function 'strlen' if (strlen(what) >= (unsigned) 2 && what[strlen(what) - 2] == '[' ^~~~~~ xpixmap.c:179:9: note: include '<string.h>' or provide a declaration of 'strlen' xpixmap.c:182:9: warning: incompatible implicit declaration of built-in function 'strlen' if (strlen(what) > (unsigned) 0) /* if not titleless */ ^~~~~~ xpixmap.c:182:9: 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] #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ xpixmap.c:356:3: note: in expansion of macro 'bzero' bzero(ctable, sizeof(char *) * ncolors); ^~~~~ ddxli.h:43:20: warning: incompatible implicit declaration of built-in function 'memset' #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ xpixmap.c:356:3: note: in expansion of macro 'bzero' bzero(ctable, sizeof(char *) * ncolors); ^~~~~ ddxli.h:43:20: note: include '<string.h>' or provide a declaration of 'memset' #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ xpixmap.c:356:3: note: in expansion of macro 'bzero' bzero(ctable, sizeof(char *) * ncolors); ^~~~~ ddxli.h:43:20: warning: incompatible implicit declaration of built-in function 'memset' #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ xpixmap.c:491:2: note: in expansion of macro 'bzero' bzero(clookup, sizeof(int) * cmax - cmin); ^~~~~ ddxli.h:43:20: note: include '<string.h>' or provide a declaration of 'memset' #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ xpixmap.c:491:2: note: in expansion of macro 'bzero' bzero(clookup, sizeof(int) * cmax - cmin); ^~~~~ ddxli.h:43:20: warning: 'memset' specified size 18446744072635809796 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~~~~~~~~~~~~~~~ xpixmap.c:491:2: note: in expansion of macro 'bzero' 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # 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] #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ zio.c:55:4: note: in expansion of macro 'bcopy' bcopy(zf->bufptr, buf, readlen); ^~~~~ ddxli.h:40:22: warning: incompatible implicit declaration of built-in function 'memcpy' #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ zio.c:55:4: note: in expansion of macro 'bcopy' bcopy(zf->bufptr, buf, readlen); ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ zio.c:55:4: note: in expansion of macro 'bcopy' bcopy(zf->bufptr, buf, readlen); ^~~~~ zio.c: In function '_zaptocache': ddxli.h:40:22: warning: incompatible implicit declaration of built-in function 'memcpy' #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ zio.c:157:3: note: in expansion of macro 'bcopy' bcopy(cbuf, newdat->buf, len); ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ zio.c:157:3: note: in expansion of macro 'bcopy' bcopy(cbuf, newdat->buf, len); ^~~~~ zio.c: In function 'zreset': zio.c:210:24: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (zf->filename && !strcmp(filename, zf->filename)) ^~~~~~ zio.c: In function '_zopen': zio.c:373:5: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] (strlen(name) > 3 && ^~~~~~ zio.c:373:5: warning: incompatible implicit declaration of built-in function 'strlen' zio.c:373:5: note: include '<string.h>' or provide a declaration of 'strlen' zio.c:388:7: warning: incompatible implicit declaration of built-in function 'strlen' if (strlen(name) > 4 && ^~~~~~ zio.c:388:7: note: include '<string.h>' or provide a declaration of 'strlen' zio.c:402:5: warning: incompatible implicit declaration of built-in function 'strlen' strlen(cmd) + 1 + 5 * strlen(name) + 1 + 1); ^~~~~~ zio.c:402:5: note: include '<string.h>' or provide a declaration of 'strlen' zio.c:403:4: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(buf, cmd); ^~~~~~ zio.c:403:4: warning: incompatible implicit declaration of built-in function 'strcpy' zio.c:403:4: note: include '<string.h>' or provide a declaration of 'strcpy' zio.c:447:9: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (!strncmp(uuibuf, "begin ", 6) ^~~~~~~ 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' #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ zio.c:498:5: note: in expansion of macro 'bcopy' bcopy(zf->bufptr, buf, bp - zf->bufptr); ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ zio.c:498:5: note: in expansion of macro 'bcopy' 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' #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ zio.c:546:3: note: in expansion of macro 'bcopy' bcopy(buf, zf->bufptr, len); ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ zio.c:546:3: note: in expansion of macro 'bcopy' bcopy(buf, zf->bufptr, len); ^~~~~ ddxli.h:40:22: warning: incompatible implicit declaration of built-in function 'memcpy' #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ zio.c:552:3: note: in expansion of macro 'bcopy' bcopy(buf, new + extra, len); /* copy new aux data */ ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ zio.c:552:3: note: in expansion of macro 'bcopy' 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' #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ zio.c:670:3: note: in expansion of macro 'bcopy' bcopy(zf->uunext, buf, cl); ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ zio.c:670:3: note: in expansion of macro 'bcopy' bcopy(zf->uunext, buf, cl); ^~~~~ zio.c: In function 'uugetline': zio.c:699:9: warning: incompatible implicit declaration of built-in function 'strlen' len = strlen((char *) ibuf) - 2; ^~~~~~ zio.c:699:9: note: include '<string.h>' or provide a declaration of 'strlen' --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- zoom.o --- zoom.c: In function 'zoom': zoom.c:79:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(buf,oimage->title); ^~~~~~ zoom.c:79:5: warning: incompatible implicit declaration of built-in function 'strcpy' zoom.c:79:5: note: include '<string.h>' or provide a declaration of 'strcpy' zoom.c:13:1: +#include <string.h> zoom.c:79:5: strcpy(buf,oimage->title); ^~~~~~ --- ddxli.o --- ddxli.c: In function 'saParseXColor': ddxli.c:135:6: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] n = strlen(spec); ^~~~~~ ddxli.c:135:6: warning: incompatible implicit declaration of built-in function 'strlen' ddxli.c:135:6: note: include '<string.h>' or provide a declaration of 'strlen' ddxli.c:111:1: +#include <string.h> ddxli.c:135:6: n = strlen(spec); ^~~~~~ ddxli.c:198:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(spec, tp->name) == 0) { ^~~~~~ --- 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 --- bmp.o --- --- tga.o --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # 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] #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ bmp.c:254:4: note: in expansion of macro 'bzero' bzero((char *) image->data, ^~~~~ ddxli.h:43:20: warning: incompatible implicit declaration of built-in function 'memset' #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ bmp.c:254:4: note: in expansion of macro 'bzero' bzero((char *) image->data, ^~~~~ ddxli.h:43:20: note: include '<string.h>' or provide a declaration of 'memset' #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ bmp.c:254:4: note: in expansion of macro 'bzero' bzero((char *) image->data, ^~~~~ ddxli.h:43:20: warning: incompatible implicit declaration of built-in function 'memset' #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ bmp.c:370:4: note: in expansion of macro 'bzero' bzero((char *) image->data, ^~~~~ ddxli.h:43:20: note: include '<string.h>' or provide a declaration of 'memset' #define bzero(P,N) memset((P),'\0',(N)) ^~~~~~ bmp.c:370:4: note: in expansion of macro 'bzero' 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # 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] #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ pcd.c:130:2: note: in expansion of macro 'bcopy' bcopy(&hp->buf[0x0800 & PCDBMASK], hp->magic, 7); ^~~~~ ddxli.h:40:22: warning: incompatible implicit declaration of built-in function 'memcpy' #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ pcd.c:130:2: note: in expansion of macro 'bcopy' bcopy(&hp->buf[0x0800 & PCDBMASK], hp->magic, 7); ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ pcd.c:130:2: note: in expansion of macro 'bcopy' bcopy(&hp->buf[0x0800 & PCDBMASK], hp->magic, 7); ^~~~~ pcd.c:132:6: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(hp->magic, "PCD_IPI") != 0) ^~~~~~ 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] #define bfill(P,N,C) memset((P),(C),(N)) ^~~~~~ pcd.c:783:2: note: in expansion of macro 'bfill' bfill(hufftab, sizeof(huff) * (1 << 12), 0xff); ^~~~~ ddxli.h:46:22: warning: incompatible implicit declaration of built-in function 'memset' #define bfill(P,N,C) memset((P),(C),(N)) ^~~~~~ pcd.c:783:2: note: in expansion of macro 'bfill' bfill(hufftab, sizeof(huff) * (1 << 12), 0xff); ^~~~~ ddxli.h:46:22: note: include '<string.h>' or provide a declaration of 'memset' #define bfill(P,N,C) memset((P),(C),(N)) ^~~~~~ pcd.c:783:2: note: in expansion of macro 'bfill' bfill(hufftab, sizeof(huff) * (1 << 12), 0xff); ^~~~~ ddxli.h:40:22: warning: incompatible implicit declaration of built-in function 'memcpy' #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ pcd.c:803:6: note: in expansion of macro 'bcopy' bcopy((byte *) hufftab, ((byte *) hufftab) + sz, sz); ^~~~~ ddxli.h:40:22: note: include '<string.h>' or provide a declaration of 'memcpy' #define bcopy(S,D,N) memcpy((char *)(D),(char *)(S),(N)) ^~~~~~ pcd.c:803:6: note: in expansion of macro 'bcopy' 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ png.c: In function 'pngLoad': png.c:317:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp(text[i].key, TITLE_KEYWORD)) ^~~~~~ --- 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xlito.c: In function 'main': xlito.c:53:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] klen = strlen(key); ^~~~~~ xlito.c:53:9: warning: incompatible implicit declaration of built-in function 'strlen' xlito.c:53:9: note: include '<string.h>' or provide a declaration of 'strlen' xlito.c:10:1: +#include <string.h> #endif xlito.c:53:9: klen = strlen(key); ^~~~~~ xlito.c:122:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if(strcmp("-name",fname)==0) ^~~~~~ xlito.c: In function 'find_text': xlito.c:256:9: warning: incompatible implicit declaration of built-in function 'strlen' klen = strlen(key); ^~~~~~ xlito.c:256:9: note: include '<string.h>' or provide a declaration of 'strlen' xlito.c:279:7: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (strncmp(key,pp - klen + 1,klen) ==0) ^~~~~~~ --- 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 --- 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