The following packages will be installed: xli Fetching README... 0%100%100%100%100%100%Done Fetching patch-ac... 0%100%100%100%100%100%Done Fetching patch-ad... 0%100%100%100%100%100%Done Fetching patch-ae... 0%100%100%100%100%100%Done Fetching patch-af... 0%100%100%100%100%100%Done Fetching patch-ag... 0%100%100%100%100%100%Done Fetching patch-ah... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done Fetching xli.SlackBuild... 0%100%100%100%100%100%Done Fetching xli.info... 0%100%100%100%100%100%Done xli-2005-02-27/ xli-2005-02-27/ABOUTGAMMA xli-2005-02-27/CHANGES xli-2005-02-27/Makefile.std xli-2005-02-27/README xli-2005-02-27/README.xloadimage xli-2005-02-27/TODO xli-2005-02-27/bmp.c xli-2005-02-27/bmp.h xli-2005-02-27/bright.c xli-2005-02-27/buildshar.c xli-2005-02-27/chkgamma.jpg xli-2005-02-27/clip.c xli-2005-02-27/cmuwmrast.c xli-2005-02-27/cmuwmrast.h xli-2005-02-27/compress.c xli-2005-02-27/copyright.h xli-2005-02-27/ddxli.c xli-2005-02-27/ddxli.h xli-2005-02-27/dither.c xli-2005-02-27/faces.c xli-2005-02-27/fbm.c xli-2005-02-27/fbm.h xli-2005-02-27/fill.c xli-2005-02-27/g3.c xli-2005-02-27/g3.h xli-2005-02-27/gif.c xli-2005-02-27/gif.h xli-2005-02-27/halftone.c xli-2005-02-27/image.h xli-2005-02-27/imagetypes.c xli-2005-02-27/imagetypes.h xli-2005-02-27/img.c xli-2005-02-27/img.h xli-2005-02-27/jpeg.c xli-2005-02-27/kljcpyrght.h xli-2005-02-27/mac.c xli-2005-02-27/mac.h xli-2005-02-27/mc_tables.c xli-2005-02-27/mcidas.c xli-2005-02-27/mcidas.h xli-2005-02-27/merge.c xli-2005-02-27/misc.c xli-2005-02-27/mit.cpyrght xli-2005-02-27/mrmcpyrght.h xli-2005-02-27/new.c xli-2005-02-27/options.c xli-2005-02-27/options.h xli-2005-02-27/patchlevel xli-2005-02-27/path.c xli-2005-02-27/pbm.c xli-2005-02-27/pbm.h xli-2005-02-27/pcd.c xli-2005-02-27/pcd.h xli-2005-02-27/pcx.c xli-2005-02-27/png.c xli-2005-02-27/reduce.c xli-2005-02-27/rgbtab.h xli-2005-02-27/rle.c xli-2005-02-27/rle.h xli-2005-02-27/rlelib.c xli-2005-02-27/root.c xli-2005-02-27/rotate.c xli-2005-02-27/send.c xli-2005-02-27/smooth.c xli-2005-02-27/sunraster.c xli-2005-02-27/sunraster.h xli-2005-02-27/tga.c xli-2005-02-27/tga.h xli-2005-02-27/tgncpyrght.h xli-2005-02-27/value.c xli-2005-02-27/window.c xli-2005-02-27/xbitmap.c xli-2005-02-27/xli.c xli-2005-02-27/xli.h xli-2005-02-27/xli.man xli-2005-02-27/xliguide.man xli-2005-02-27/xlito.c xli-2005-02-27/xlito.h xli-2005-02-27/xlito.man xli-2005-02-27/xpixmap.c xli-2005-02-27/xwd.c xli-2005-02-27/xwd.h xli-2005-02-27/zio.c xli-2005-02-27/zoom.c xli-2005-02-27/Imakefile patching file faces.c patching file png.c patching file reduce.c patching file zoom.c patching file imagetypes.c patching file path.c imake -DUseInstalled -I/usr/lib64/X11/config make Makefiles make: Nothing to be done for 'Makefiles'. make includes make: Nothing to be done for 'includes'. make depend gccmakedep -- -I/usr/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 -- bright.c clip.c cmuwmrast.c compress.c dither.c faces.c fbm.c fill.c g3.c gif.c halftone.c imagetypes.c img.c mac.c mcidas.c mc_tables.c merge.c misc.c new.c options.c path.c pbm.c pcx.c reduce.c jpeg.c rle.c rlelib.c root.c rotate.c send.c smooth.c sunraster.c value.c window.c xbitmap.c xli.c xpixmap.c xwd.c zio.c zoom.c ddxli.c tga.c bmp.c pcd.c png.c xlito.c gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o bright.o bright.c 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o clip.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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] 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 ‘’ or provide a declaration of ‘memcpy’ 12 | #include "xli.h" +++ |+#include 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 ‘’ 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); | ^~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o cmuwmrast.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o compress.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o dither.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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 ‘’ or provide a declaration of ‘strlen’ 27 | #include "xli.h" +++ |+#include 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 ‘’ 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 ‘’ 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 ‘’ 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)); | ^~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o faces.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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 ‘’ or provide a declaration of ‘strcmp’ 12 | #include "xli.h" +++ |+#include 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 ‘’ 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)) | ^~ : 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 ‘’ 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 ‘’ 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)) | ^ : 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 ‘’ 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)) { | ^ : 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)) { | ^ : 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ or provide a declaration of ‘strlen’ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o fbm.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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 ‘’ or provide a declaration of ‘strncmp’ 20 | # include "fbm.h" +++ |+#include 21 | gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o fill.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o g3.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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 ‘’ or provide a declaration of ‘memset’ 27 | #include "g3.h" +++ |+#include 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 ‘’ 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 */ | ^~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o gif.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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 ‘’ or provide a declaration of ‘strcmp’ 19 | #include "gif.h" +++ |+#include 20 | gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o halftone.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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 ‘’ or provide a declaration of ‘strlen’ 17 | #include "xli.h" +++ |+#include 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 ‘’ or provide a declaration of ‘strlen’ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o imagetypes.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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 ‘’ or provide a declaration of ‘strlen’ 14 | #include +++ |+#include 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 ‘’ 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 ‘’ 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 ‘’ or provide a declaration of ‘strcpy’ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o img.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o mac.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o mcidas.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o mc_tables.o mc_tables.c gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o merge.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o misc.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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 ‘’ or provide a declaration of ‘strlen’ 14 | #include +++ |+#include 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 ‘’ 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 ‘’ 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)) | ^ : note: built-in ‘strncmp’ declared here gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o new.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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 ‘’ or provide a declaration of ‘strlen’ 12 | #include "xli.h" +++ |+#include 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 ‘’ 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 ‘’ 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 ‘’ or provide a declaration of ‘strcpy’ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o options.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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 ‘’ or provide a declaration of ‘strncmp’ 12 | #include "xli.h" +++ |+#include 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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) | ^~~~ : 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 ‘’ 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 ‘’ 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) | ^~~~ : note: built-in ‘strncmp’ declared here gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o path.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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 ‘’ or provide a declaration of ‘strlen’ 19 | #include +++ |+#include 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o pbm.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o pcx.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o reduce.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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 ‘’ or provide a declaration of ‘memset’ 23 | #include "xli.h" +++ |+#include 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 ‘’ 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 ‘’ 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 ‘’ 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 | ^~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o jpeg.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o rle.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o rlelib.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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 ‘’ or provide a declaration of ‘memset’ 16 | #include "rle.h" +++ |+#include 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 ‘’ 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 ‘’ 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 ‘’ 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 ); | ^~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o root.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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 ‘’ or provide a declaration of ‘strncmp’ 14 | #include "xli.h" +++ |+#include 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) && | ^~ : note: built-in ‘strncmp’ declared here gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o rotate.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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 ‘’ or provide a declaration of ‘strlen’ 9 | #include "xli.h" +++ |+#include 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 ‘’ or provide a declaration of ‘strlen’ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o send.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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 ‘’ or provide a declaration of ‘memcpy’ 14 | #include +++ |+#include 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 ‘’ or provide a declaration of ‘memcpy’ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o smooth.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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] 32 | dest->title= (char *)lmalloc(strlen(src->title) + 12); | ^~~~~~ smooth.c:14:1: note: include ‘’ or provide a declaration of ‘strlen’ 13 | #include "xli.h" +++ |+#include 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 ‘’ or provide a declaration of ‘strlen’ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o sunraster.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o value.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o window.o window.c 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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 ‘’ or provide a declaration of ‘strncpy’ 19 | #include +++ |+#include 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 ‘’ or provide a declaration of ‘strncpy’ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o xbitmap.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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 ‘’ or provide a declaration of ‘strlen’ 19 | #include +++ |+#include 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 ‘’ 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 ‘’ or provide a declaration of ‘strcmp’ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o xli.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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 ‘’ or provide a declaration of ‘strcmp’ 20 | #include +++ |+#include 21 | gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o xpixmap.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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 ‘’ or provide a declaration of ‘strcmp’ 21 | #include "imagetypes.h" +++ |+#include 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 ‘’ 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)) { | ^ : 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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); | ^~~~~ 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); | ^~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o xwd.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o zio.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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 ‘’ or provide a declaration of ‘memcpy’ 23 | #include +++ |+#include 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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) | ^ : 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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)) { | ^ : note: built-in ‘strncmp’ declared here gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o zoom.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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 ‘’ or provide a declaration of ‘strcpy’ 12 | #include "xli.h" +++ |+#include 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 ‘’ or provide a declaration of ‘strcpy’ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o ddxli.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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 ‘’ or provide a declaration of ‘strlen’ 110 | #include "rgbtab.h" /* Equivalent of an X color table */ +++ |+#include 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 ‘’ 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 ‘’ or provide a declaration of ‘strcmp’ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o tga.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o bmp.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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 ‘’ or provide a declaration of ‘memset’ 13 | #include "bmp.h" +++ |+#include 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 ‘’ 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 ‘’ 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, | ^~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o pcd.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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 ‘’ or provide a declaration of ‘memcpy’ 14 | #include "pcd.h" +++ |+#include 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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); | ^~~~~ gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o png.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # 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 ‘’ or provide a declaration of ‘strcmp’ 14 | #include +++ |+#include 15 | rm -f xli gcc -o xli -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -L/usr/lib64 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 -lXext -lX11 -ljpeg -lpng -lz -lm gcc -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -I/usr/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 -c -o xlito.o xlito.c In file included from /usr/include/fcntl.h:25, from xlito.c:1: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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 ‘’ or provide a declaration of ‘strlen’ 9 | #include +++ |+#include 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 ‘’ 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 ‘’ 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 ‘’ 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 ‘’ 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) | ^~~~ : 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) | ^~~~ : note: built-in ‘strncmp’ declared here rm -f xlito gcc -o xlito -O2 -fPIC -DHAVE_GUNZIP -DHAVE_BUNZIP2 -DSYSPATHFILE=\"/etc/X11/app-defaults/Xli\" -L/usr/lib64 xlito.o -lm 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/lib64/X11/app-defaults -D__appmansuffix__=1x -D__filemansuffix__=5x -D__libmansuffix__=3x -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/lib64/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 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/lib64/X11/app-defaults -D__appmansuffix__=1x -D__filemansuffix__=5x -D__libmansuffix__=3x -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/lib64/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 Slackware package maker, version 3.14159265. Searching for symbolic links: usr/bin/xsetbg xli usr/bin/xview xli usr/man/man1/xsetbg.1x.gz xli.1x.gz usr/man/man1/xview.1x.gz xli.1x.gz Making symbolic link creation script: ( cd usr/bin ; rm -rf xsetbg ) ( cd usr/bin ; ln -sf xli xsetbg ) ( cd usr/bin ; rm -rf xview ) ( cd usr/bin ; ln -sf xli xview ) ( cd usr/man/man1 ; rm -rf xsetbg.1x.gz ) ( cd usr/man/man1 ; ln -sf xli.1x.gz xsetbg.1x.gz ) ( cd usr/man/man1 ; rm -rf xview.1x.gz ) ( cd usr/man/man1 ; ln -sf xli.1x.gz xview.1x.gz ) It is recommended that you make these lines your new installation script. Would you like to make this stuff the install script for this package and remove the symbolic links ([y]es, [n]o)? y Removing symbolic links: removed './usr/bin/xview' removed './usr/bin/xsetbg' removed './usr/man/man1/xview.1x.gz' removed './usr/man/man1/xsetbg.1x.gz' Creating your new ./install/doinst.sh... This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src/graphics/xli/xli-1.17-x86_64-2salix15.0.txz ./ etc/ etc/X11/ etc/X11/app-defaults/ etc/X11/app-defaults/Xli install/ install/doinst.sh install/slack-desc usr/ usr/bin/ usr/bin/xli usr/bin/xlito usr/doc/ usr/doc/xli-1.17/ usr/doc/xli-1.17/ABOUTGAMMA usr/doc/xli-1.17/CHANGES usr/doc/xli-1.17/README usr/doc/xli-1.17/README.xloadimage usr/doc/xli-1.17/TODO usr/doc/xli-1.17/chkgamma.jpg usr/doc/xli-1.17/xli.SlackBuild usr/man/ usr/man/man1/ usr/man/man1/xli.1x.gz usr/man/man1/xlito.1x.gz usr/man/man5/ usr/man/man5/xliguide.5.gz Slackware package /usr/src/slapt-src/graphics/xli/xli-1.17-x86_64-2salix15.0.txz created. Installing package xli-1.17-x86_64-2salix15.0... | xli (X11 Image Loading Utility) | | This utility will view several types of images under X11, or load | images onto the X11 root window. Supported image formats include | GIF, JPEG, JFIF, Faces, PNG, PPM and friends, XPM, and XWUD. | | A variety of options are available to modify images prior to viewing. | These options include clipping, dithering, depth reduction, zoom | (either X or Y axis independently or both at once), brightening or | darkening, input gamma correction, and image merging. | | |