>>> Building on exopi-6 under misc/magicpoint BDEPENDS = [devel/imake-cf;devel/imake;devel/metaauto;graphics/png;devel/autoconf/2.13;graphics/giflib;graphics/libmng] DIST = [misc/magicpoint:magicpoint-1.13a.tar.gz] FULLPKGNAME = magicpoint-1.13av0 RDEPENDS = [graphics/giflib;graphics/libmng;devel/gettext,-runtime;graphics/png;print/ghostscript/gnu-fonts;graphics/netpbm] (Junk lock obtained for exopi-6 at 1731876685.44) >>> Running depends in misc/magicpoint at 1731876685.49 last junk was in emulators/mame /usr/sbin/pkg_add -aI -Drepair autoconf-2.13p4 giflib-5.2.2 imake-1.0.9 imake-cf-1.0.7p0 libmng-1.0.10p3 png-1.6.44 was: /usr/sbin/pkg_add -aI -Drepair autoconf-2.13p4 giflib-5.2.2 imake-1.0.9 imake-cf-1.0.7p0 libmng-1.0.10p3 metaauto-1.0p4 png-1.6.44 /usr/sbin/pkg_add -aI -Drepair autoconf-2.13p4 giflib-5.2.2 imake-1.0.9 imake-cf-1.0.7p0 libmng-1.0.10p3 png-1.6.44 >>> Running show-prepare-results in misc/magicpoint at 1731876688.57 ===> misc/magicpoint ===> Building from scratch magicpoint-1.13av0 ===> magicpoint-1.13av0 depends on: metaauto-* -> metaauto-1.0p4 ===> magicpoint-1.13av0 depends on: autoconf-2.13 -> autoconf-2.13p4 ===> magicpoint-1.13av0 depends on: imake-* -> imake-1.0.9 ===> magicpoint-1.13av0 depends on: imake-cf-* -> imake-cf-1.0.7p0 ===> magicpoint-1.13av0 depends on: png-* -> png-1.6.44 ===> magicpoint-1.13av0 depends on: libmng-* -> libmng-1.0.10p3 ===> magicpoint-1.13av0 depends on: giflib-* -> giflib-5.2.2 ===> Verifying specs: ICE SM X11 Xau Xdmcp Xext Xft Xmu Xt Xtst c gif iconv m mng png util ===> found ICE.11.0 SM.9.0 X11.18.2 Xau.10.0 Xdmcp.11.0 Xext.13.0 Xft.12.0 Xmu.11.0 Xt.11.1 Xtst.11.0 c.100.3 gif.9.1 iconv.7.1 m.10.1 mng.3.1 png.18.0 util.18.0 autoconf-2.13p4 giflib-5.2.2 imake-1.0.9 imake-cf-1.0.7p0 libmng-1.0.10p3 metaauto-1.0p4 png-1.6.44 (Junk lock released for exopi-6 at 1731876689.89) distfiles size=890670 >>> Running build in misc/magicpoint at 1731876689.93 ===> misc/magicpoint ===> Checking files for magicpoint-1.13av0 `/exopi-cvs/ports/distfiles/magicpoint-1.13a.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for magicpoint-1.13av0 ===> Patching for magicpoint-1.13av0 perl -pi -e 's|malloc.h|stdlib.h|' /exopi-obj/pobj/magicpoint-1.13a/magicpoint-1.13a/image/new.c ===> Applying OpenBSD patch patch-contrib_mgpnet_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- contrib/mgpnet.in.orig Sun Feb 15 19:14:34 2009 |+++ contrib/mgpnet.in Sun Feb 15 19:15:32 2009 -------------------------- Patching file contrib/mgpnet.in using Plan A... Hunk #1 succeeded at 256. Hunk #2 succeeded at 402. done ===> Applying OpenBSD patch patch-contrib_xmindpath_Makefile_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- contrib/xmindpath/Makefile.in.orig Fri Sep 27 01:41:37 2002 |+++ contrib/xmindpath/Makefile.in Fri Sep 27 01:43:19 2002 -------------------------- Patching file contrib/xmindpath/Makefile.in using Plan A... Hunk #1 succeeded at 24. done ===> Applying OpenBSD patch patch-contrib_xmindpath_main_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |For strlen() declaration. | |--- contrib/xmindpath/main.c.orig Thu Nov 20 01:09:11 2014 |+++ contrib/xmindpath/main.c Thu Nov 20 01:09:08 2014 -------------------------- Patching file contrib/xmindpath/main.c using Plan A... Hunk #1 succeeded at 39. done ===> Applying OpenBSD patch patch-contrib_xmindpath_pathnames_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- contrib/xmindpath/pathnames.h.orig Fri Sep 27 01:36:26 2002 |+++ contrib/xmindpath/pathnames.h Fri Sep 27 01:37:26 2002 -------------------------- Patching file contrib/xmindpath/pathnames.h using Plan A... Hunk #1 succeeded at 38. done ===> Applying OpenBSD patch patch-grammar_y Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: grammar.y |--- grammar.y.orig |+++ grammar.y -------------------------- Patching file grammar.y using Plan A... Hunk #1 succeeded at 73. Hunk #2 succeeded at 145. Hunk #3 succeeded at 176. Hunk #4 succeeded at 228. Hunk #5 succeeded at 246. done ===> Applying OpenBSD patch patch-image_gif_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |support giflib 5.0+ | |--- image/gif.c.orig Tue Mar 7 06:59:56 2000 |+++ image/gif.c Sat Mar 28 17:26:33 2015 -------------------------- Patching file image/gif.c using Plan A... Hunk #1 succeeded at 15. Hunk #2 succeeded at 51. Hunk #3 succeeded at 88. Hunk #4 succeeded at 114. Hunk #5 succeeded at 123. Hunk #6 succeeded at 132. Hunk #7 succeeded at 142. Hunk #8 succeeded at 180. Hunk #9 succeeded at 197. done ===> Applying OpenBSD patch patch-image_misc_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |For abort() declaration. | |Index: image/misc.c |--- image/misc.c.orig |+++ image/misc.c -------------------------- Patching file image/misc.c using Plan A... Hunk #1 succeeded at 12. done ===> Applying OpenBSD patch patch-image_png_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix build with png-1.5. | |--- image/png.c.orig Wed Apr 11 02:37:00 2001 |+++ image/png.c Thu Jul 7 09:09:50 2011 -------------------------- Patching file image/png.c using Plan A... Hunk #1 succeeded at 86. Hunk #2 succeeded at 134. done ===> Applying OpenBSD patch patch-mgp_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix with clang 15: invalid pointer to integer conversion. | |Index: mgp.c |--- mgp.c.orig |+++ mgp.c -------------------------- Patching file mgp.c using Plan A... Hunk #1 succeeded at 506. done ===> Applying OpenBSD patch patch-mgp_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: mgp.h |--- mgp.h.orig |+++ mgp.h -------------------------- Patching file mgp.h using Plan A... Hunk #1 succeeded at 310. Hunk #2 succeeded at 328. done ===> Applying OpenBSD patch patch-mgpembed_pl_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- mgpembed.pl.in.orig Tue Jan 5 04:44:00 1999 |+++ mgpembed.pl.in Sun Jun 23 15:15:34 2013 -------------------------- Patching file mgpembed.pl.in using Plan A... Hunk #1 succeeded at 16. Hunk #2 succeeded at 38. Hunk #3 succeeded at 77. Hunk #4 succeeded at 117. Hunk #5 succeeded at 129. done ===> Applying OpenBSD patch patch-mng_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: mng.c |--- mng.c.orig |+++ mng.c -------------------------- Patching file mng.c using Plan A... Hunk #1 succeeded at 45. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for magicpoint-1.13av0 >>> Can't find autoconf 2.13 signature in /exopi-obj/pobj/magicpoint-1.13a/magicpoint-1.13a/configure: # Generated by GNU Autoconf 2.61. generated by GNU Autoconf 2.61 generated by GNU Autoconf 2.61. Invocation command line was generated by GNU Autoconf 2.61. Invocation command line was configured by $0, generated by GNU Autoconf 2.61, Running autoconf-2.13 in /exopi-obj/pobj/magicpoint-1.13a/magicpoint-1.13a ===> Configuring for magicpoint-1.13av0 Using /exopi-obj/pobj/magicpoint-1.13a/config.site (generated) loading site script /exopi-obj/pobj/magicpoint-1.13a/config.site creating cache ./config.cache checking whether make sets ${MAKE}... (cached) yes checking host system type... x86_64-unknown-openbsd7.6 checking how to run the C preprocessor... cc -E checking for mawk... (cached) awk checking for bison... yacc checking for flex... (cached) flex checking for yywrap in -lfl... (cached) yes checking for perl5... no checking for perl... /usr/bin/perl checking for uuencode... /usr/bin/uuencode checking for gzip... /usr/bin/gzip checking for uudecode... /usr/bin/uudecode checking for gunzip... /usr/bin/gunzip checking if debugging is enabled... no checking if setlocale() should be used... yes checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for fcntl.h... (cached) yes checking for strings.h... (cached) yes checking for sys/file.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/select.h... (cached) yes checking for stdarg.h... (cached) yes checking for varargs.h... no checking for termios.h... (cached) yes checking for locale.h... (cached) yes checking for working const... (cached) yes checking for inline... inline checking for pid_t... (cached) yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for u_int... yes checking for u_char... yes checking for 8-bit clean memcmp... (cached) yes checking return type of signal handlers... (cached) void checking for poll... (cached) yes checking for strstr... (cached) yes checking for _setbufend... no checking for usleep... (cached) yes checking for strsep... (cached) yes checking for strdup... (cached) yes checking for mkstemp... (cached) yes checking for snprintf... (cached) yes checking for memcmp... (cached) yes checking for strlcpy... (cached) yes checking for strlcat... (cached) yes checking if freetype1 is used... no checking if vflib is used... no checking for png_read_image in -lpng... yes checking for mng_initialize in -lmng... yes checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include checking if Xft2 is used... yes checking for iconv..... checking for iconv_open... no checking for iconv_open in -liconv... no checking for libiconv_open in -liconv... yes checking for fontconfig/fontconfig.h... no checking if gif handling is enabled... yes checking for DGifOpenFileHandle in -lungif... no checking for DGifOpenFileHandle in -lgif... yes checking if imlib is used... yes updating cache ./config.cache creating ./config.status creating Imakefile creating image/Imakefile creating sample/Imakefile creating contrib/mgp2html.pl creating contrib/mgp2latex.pl creating contrib/mgpnet creating mgpembed.pl be sure to generate Makefile from Imakefile, by xmkmf and make Makefiles imake -DPorts -DUseInstalled -I/usr/local/lib/X11/config make Makefiles making Makefiles in image... In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/OpenBSD.cf:423:3: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:17:2: /usr/local/lib/X11/config/Imake.tmpl:1081:16: Warning: value of undefined symbol LinuxBinUtilsMajorVersion is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 making Makefiles in sample... In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/OpenBSD.cf:423:3: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:17:2: /usr/local/lib/X11/config/Imake.tmpl:1081:16: Warning: value of undefined symbol LinuxBinUtilsMajorVersion is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 making Makefiles in contrib... In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/OpenBSD.cf:423:3: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:17:2: /usr/local/lib/X11/config/Imake.tmpl:1081:16: Warning: value of undefined symbol LinuxBinUtilsMajorVersion is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 making Makefiles in contrib/xwintoppm... In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/OpenBSD.cf:423:3: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:17:2: /usr/local/lib/X11/config/Imake.tmpl:1081:16: Warning: value of undefined symbol LinuxBinUtilsMajorVersion is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 make includes including in ./image... including in ./sample... including in ./contrib... including in contrib/xwintoppm... make depend rm -f .depend gccmakedep -f- -- -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -- mgp.c draw.c parse.c plist.c print.c globals.c x11.c x11dummy.c font.c background.c scanner.c grammar.c postscript.c tfont.c embed.c unimap.c mng.c m17n.c > .depend cc: error: no such file or directory: 'scanner.c' cc: error: no such file or directory: 'grammar.c' creating cache ./config.cache checking for gcc... no checking for cc... cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for a BSD compatible install... (cached) install -c checking how to run the C preprocessor... cc -E checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XextAddDisplay in -lXext... yes checking for XTestFakeKeyEvent in -lXtst... yes checking for uu_lock in -lutil... yes checking for uu_lock... yes checking for fcntl.h... yes checking for paths.h... yes checking for sys/file.h... yes checking for sys/time.h... yes checking for unistd.h... yes checking whether time.h and sys/time.h may both be included... yes checking for ANSI C header files... yes checking for off_t... yes checking for uid_t in sys/types.h... yes checking return type of signal handlers... void checking for select... yes checking for setreuid... yes updating cache ./config.cache creating ./config.status creating Makefile ===> Building for magicpoint-1.13av0 cc -o ./ctlwords ./ctlwords.c ./ctlwords.c:28:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(int argc, char *argv[]) ^ int ./ctlwords.c:40:24: warning: call to undeclared library function 'isalnum' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] for (q = p; *q && (isalnum(*q) || *q=='_'); q++) ^ ./ctlwords.c:40:24: note: include the header or explicitly provide a declaration for 'isalnum' ./ctlwords.c:47:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit(0); ^ ./ctlwords.c:47:2: note: include the header or explicitly provide a declaration for 'exit' 3 warnings generated. ./ctlwords < ./globals.c > ctlwords.h rm -f mgp.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include mgp.c In file included from mgp.c:34: In file included from ./mgp.h:73: ./image/xloadimage.h:79:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] char *expandPath(); /* path.c */ ^ mgp.c:114:14: note: conflicting prototype is here extern char *expandPath __P((char *)); ^ mgp.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ mgp.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] genhtml(start_page) ^ mgp.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mgp_show_version(name) ^ mgp.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mgp_usage(name) ^ mgp.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main_loop(start_page) ^ mgp.c:1258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rakugaki_update(state, e) ^ mgp.c:1299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rakugaki_updatecolor(cursor) ^ mgp.c:1332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkchild(key) ^ mgp.c:1347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkchildwin(key) ^ mgp.c:1362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regchild(pid, key, window_id, flag) ^ mgp.c:1387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] purgechild(flag) ^ mgp.c:1402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] waitkids(sig) ^ 13 warnings generated. rm -f draw.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include draw.c draw.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ispsfilename(p0) ^ draw.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] state_goto(state, page, repaint) ^ draw.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] state_next(state) ^ draw.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] state_init(state) ^ draw.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] state_newpage(state) ^ draw.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_page(state, lastcp) ^ draw.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_one(state, e) ^ draw.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_direc(state, seenpause) ^ draw.c:996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_position(state) ^ draw.c:1022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_line_start(state) ^ draw.c:1038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_line_itemsize(state, ascent, descent, flheight) ^ draw.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_line_output(state, data) ^ draw.c:1076:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_line_end(state) ^ draw.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cutin(state, lx, ly, dir) ^ draw.c:1274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_string(state, data) ^ draw.c:1387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_fragment(state, p, len, registry, charset16) ^ draw.c:1619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] iskinsokuchar(code) ^ draw.c:1632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_alloc(state) ^ draw.c:1650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_free(state, obj) ^ draw.c:1679:12: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(obj->data.image.image); ^ draw.c:1765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_new_xfont(state, x, y, size, code, registry) ^ draw.c:1792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_new_image(state, x, y, image, xzoom, yzoom) ^ draw.c:1846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_new_icon(state, x, y, itype, isize, color, npoint, xpoint) ^ draw.c:1891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_image_color(image, bimage, d, inithist) ^ draw.c:1950:16: warning: passing arguments to 'newRGBMapData' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newRGBMapData(&rgb, depthToColors(image->depth)); ^ draw.c:1957:17: warning: passing arguments to 'freeRGBMapData' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeRGBMapData(&image->rgb); ^ draw.c:1970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_image_trans(image, x, y) ^ draw.c:2004:10: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal(p, pl) == d) ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ draw.c:2005:7: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(n, p, pl); ^ ./image/image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ draw.c:2021:17: warning: passing arguments to 'expand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = expand(image); ^ draw.c:2023:13: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(timage); ^ draw.c:2043:8: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal(p, pl) != trans) ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ draw.c:2045:8: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = memToVal(b, bpl); ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ draw.c:2053:4: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(n, p, pl); ^ ./image/image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ draw.c:2079:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_draw_image(target, x, y, obj, page) ^ draw.c:2093:15: warning: passing arguments to 'zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = zoom(image, ^ draw.c:2100:12: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(timage); ^ draw.c:2105:27: warning: passing arguments to 'imageToXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximageinfo= imageToXImage(display, screen, visual, depth, image, ^ draw.c:2122:12: warning: passing arguments to 'freeXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeXImage(image, ximageinfo); ^ draw.c:2126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_draw(state, target, xpos, ypos) ^ draw.c:2506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x_fontname(buf, bufsiz, seed, siz, registry) ^ draw.c:2564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x_parsefont(xfont, pixel, truescalable) ^ draw.c:2616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x_setfont(xfont, csize, registry, truescalable) ^ draw.c:2833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_onechar_x(state, code, x, y, size, argregistry, lastchar) ^ draw.c:2849:60: warning: address of array 'mgp_charset' will always evaluate to 'true' [-Wpointer-bool-conversion] if (code >= 0xa0 && ((!argregistry || !argregistry[0]) && mgp_charset)) ~~ ^~~~~~~~~~~ draw.c:2887:11: warning: format specifies type 'int' but the argument has type 'u_int *' (aka 'unsigned int *') [-Wformat] seed, char_size, registry?registry:"NULL", ^~~~~~~~~ draw.c:2925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] back_gradation(state, cg0) ^ draw.c:3055:19: warning: passing arguments to 'reduce' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myimage = reduce(myimage, numcolor, verbose); ^ draw.c:3062:46: warning: format specifies type 'int' but the argument has type 'u_int *' (aka 'unsigned int *') [-Wformat] srcwidth, srcheight, dstwidth, dstheight, b_quality); ^~~~~~~~~ draw.c:3067:17: warning: passing arguments to 'zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myimage = zoom(image, xzoomrate, yzoomrate, verbose); ^ draw.c:3073:12: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ draw.c:3079:28: warning: passing arguments to 'imageToXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximageinfo = imageToXImage(display, screen, visual, depth, myimage, ^ draw.c:3103:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte *rot_data = lmalloc(new_linelen * new_height); ^ draw.c:3112:8: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = memToVal(src, pl); ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ draw.c:3113:4: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(d, tgt, pl); ^ ./image/image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ draw.c:3121:7: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(image->data); ^ draw.c:3095:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rotate_image_p90(image) ^ draw.c:3135:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte *rot_data = lmalloc(new_linelen * new_height); ^ draw.c:3142:8: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = memToVal(src, pl); ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ draw.c:3143:4: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(d, tgt, pl); ^ ./image/image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ draw.c:3151:7: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(image->data); ^ draw.c:3127:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rotate_image_m90(image) ^ draw.c:3167:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte *rot_data = lmalloc(new_linelen * new_height); ^ draw.c:3174:8: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = memToVal(src, pl); ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ draw.c:3175:4: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(d, tgt, pl); ^ ./image/image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ draw.c:3183:7: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(image->data); ^ draw.c:3159:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rotate_image_180(image) ^ draw.c:3191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image_load(state, filename, numcolor, ximagesize, yimagesize, backflag, zoomflag, centerflag, raise, rotate, zoomonclk) ^ draw.c:3225:26: warning: passing arguments to 'loadImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((myimage = loadImage(filename, verbose)) == NULL) { ^ draw.c:3268:19: warning: passing arguments to 'reduce' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myimage = reduce(myimage, numcolor, verbose); ^ draw.c:3313:18: warning: passing arguments to 'zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myimage = zoom(image, xzoomrate, yzoomrate, verbose); ^ draw.c:3316:6: warning: format specifies type 'int' but the argument has type 'float' [-Wformat] xzoomrate, yzoomrate); ^~~~~~~~~ draw.c:3316:17: warning: format specifies type 'int' but the argument has type 'float' [-Wformat] xzoomrate, yzoomrate); ^~~~~~~~~ draw.c:3319:13: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ draw.c:3325:28: warning: passing arguments to 'imageToXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximageinfo= imageToXImage(display, screen, visual, depth, ^ draw.c:3393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image_load_ps(state, filename, numcolor, ximagesize, yimagesize, backflag, zoomflag, centerflag, raise, rotate,zoomonclk) ^ draw.c:3420:15: warning: passing arguments to 'findImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (findImage(filename, fullname) < 0) { ^ draw.c:3513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] timebar(state) ^ draw.c:3560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_icon(state, cp) ^ draw.c:3659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_bar(state, cp) ^ draw.c:3704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_system(state, cp) ^ draw.c:3830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_xsystem(state, cp) ^ draw.c:3998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_tsystem(state, cp) ^ draw.c:4283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reparent_child_window(child_window, x, y) ^ draw.c:4307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_reinit(state) ^ draw.c:4317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] epstoimage(state, epsfile, x, y, width, height, xzoom, yzoom) ^ draw.c:4526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image_setcolor(state) ^ draw.c:4588:8: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = memToVal(p, bpl); ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ draw.c:4613:18: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->trans = memToVal(image->data, image->pixlen); ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ draw.c:4665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x_registerseed(state, seed, registry) ^ draw.c:4754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x_findseed(state, registry) ^ draw.c:4772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cache_page(state, page) ^ draw.c:4809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_from_cache(state) ^ draw.c:4862:14: warning: passing arguments to 'freeXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeXImage(bgpixmap[i].image, bgpixmap[i].ximageinfo); ^ draw.c:4863:13: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(bgpixmap[i].image); ^ draw.c:4926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcache_process(page) ^ draw.c:4951:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] predraw(state) ^ draw.c:4965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_background_pixmap(ctl, state) ^ draw.c:5003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regist_background_pixmap(ximageinfo, image) ^ draw.c:5019:13: warning: passing arguments to 'freeXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeXImage(bgpixmap[MAXBGPIXMAP -1].image, ^ draw.c:5021:12: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(bgpixmap[MAXBGPIXMAP -1].image); ^ draw.c:5032:25: warning: passing arguments to 'ximageToPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pixmap = ximageToPixmap(display, ^ draw.c:5042:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_background_pixmap(ctl) ^ draw.c:5075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XClearPixmap(display, target) ^ draw.c:5115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_regid(registry) ^ draw.c:5131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_new_anim(state, x, y, width, height, filename, key) ^ draw.c:5158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_draw_anim(state, x, y, obj) ^ draw.c:5166:3: warning: call to undeclared function 'mngload'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] mngload(obj->data.anim.filename, x, y, ^ draw.c:5174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_anim(state, cp) ^ draw.c:5186:2: warning: call to undeclared function 'mngpreload'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] mngpreload(state, cp->ctc_value, &width, &height); ^ draw.c:5209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_xrender_color(value, opaque) ^ draw.c:5230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xft_draw_fragment(state, p, len, registry, charset16) ^ draw.c:5271:23: warning: format string contains '\0' within the string body [-Wformat] sprintf(buf16, "%s%s\0", prefix[i], p); ~~~~~^~~ draw.c:5280:27: warning: incompatible pointer types passing 'int *' to parameter of type 'size_t *' (aka 'unsigned long *') [-Wincompatible-pointer-types] if (iconv(icv[i], &p16, &ileft, &o16, &oleft) < 0) { ^~~~~~ /usr/local/include/iconv.h:82:58: note: passing argument to parameter 'inbytesleft' here extern size_t iconv (iconv_t cd, char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); ^ draw.c:5280:41: warning: incompatible pointer types passing 'int *' to parameter of type 'size_t *' (aka 'unsigned long *') [-Wincompatible-pointer-types] if (iconv(icv[i], &p16, &ileft, &o16, &oleft) < 0) { ^~~~~~ /usr/local/include/iconv.h:82:95: note: passing argument to parameter 'outbytesleft' here extern size_t iconv (iconv_t cd, char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); ^ draw.c:5356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_new_xftfont(state, x, y, p, len, fontname, registry, size, charset16, xft_font) ^ draw.c:5415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xft_setfont(xfontarg, csize, registry) ^ draw.c:5474:53: warning: missing sentinel in function call [-Wsentinel] XFT_PIXEL_SIZE, XftTypeDouble, (float)csize, 0); ^ , NULL /usr/X11R6/include/X11/Xft/Xft.h:343:1: note: function has been explicitly marked sentinel here XftFontOpen (Display *dpy, int screen, ...) _X_SENTINEL(0); ^ draw.c:5479:53: warning: missing sentinel in function call [-Wsentinel] XFT_PIXEL_SIZE, XftTypeDouble, (float)csize, 0); ^ , NULL /usr/X11R6/include/X11/Xft/Xft.h:343:1: note: function has been explicitly marked sentinel here XftFontOpen (Display *dpy, int screen, ...) _X_SENTINEL(0); ^ 119 warnings generated. rm -f parse.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include parse.c In file included from parse.c:32: In file included from ./mgp.h:73: ./image/xloadimage.h:80:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] int findImage(); ^ parse.c:48:12: note: conflicting prototype is here extern int findImage __P((char *, char *)); ^ parse.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] load_file(filename) ^ parse.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_esc(s) ^ parse.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_text(p, page) ^ parse.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_rc(fp, filename) ^ parse.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_file(fp, filename, page, line, preamble) ^ parse.c:1541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] debug0(p) ^ parse.c:1641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] debug1(p) ^ parse.c:1673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chkfile(p) ^ parse.c:1692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctllastitem(this) ^ parse.c:1706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctlappend(to, this) ^ parse.c:1719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctlinsert(here, this) ^ parse.c:1734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctlalloc1(op) ^ parse.c:1751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctlfree(this) ^ parse.c:1767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctlcopy(this) ^ parse.c:1791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctlcopy1(src) ^ parse.c:1804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctlcmp(a, b) ^ parse.c:1896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fsearchopen(fname, mode, path) ^ parse.c:1926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] define_font(cp) ^ parse.c:1959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_font(font) ^ 20 warnings generated. rm -f plist.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include plist.c plist.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl_on(state) ^ plist.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl_off(state) ^ plist.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl_pdraw(state, i, gc) ^ plist.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl_title(page) ^ plist.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] page_title(page) ^ plist.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pg_draw(state) ^ plist.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_kstring(d, buf, x, y) ^ rm -f globals.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include globals.c 7 warnings generated. rm -f x11.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include x11.c x11.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_visual(display, screen, depthp) ^ x11.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_win1(geometry) ^ x11.c:358:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static fullscreen = 0; ~~~~~~ ^ int x11.c:361:15: warning: multiple unsequenced modifications to 'fullscreen' [-Wunsequenced] fullscreen = ++fullscreen % 2; ~ ^ x11.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_color(colorname, value) ^ x11.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name2gcolor(colorname) ^ x11.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_alloc_colors(clr) ^ x11.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regist_alloc_colors(clr, colors, num) ^ 8 warnings generated. rm -f font.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include font.c rm -f background.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include background.c background.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_gradation0(x1, x2, y1, y2, z1, z2, p1, p2, dpy, dpz, mask) ^ background.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_gradation(width, height, cg) ^ background.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] g_rotate(pic, cg, width, height) ^ background.c:329:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double cdist(x, y, cx, cy, rot, mode) ^ background.c:358:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double lcdist(x, y, cx, cy, rot, mode, dy, ey) ^ background.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_XImage(pic, width, height) ^ background.c:406:28: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= (Image *)lmalloc(sizeof(Image)); ^ 7 warnings generated. flex -t ./scanner.l > scanner.c yacc -d ./grammar.y yacc: 2 rules never reduced mv y.tab.c grammar.c mv y.tab.h tokdefs.h rm -f scanner.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include scanner.c ./scanner.l:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lex_init(buf) ^ ./scanner.l:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xdtoi(c) ^ ./scanner.l:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] stoi(s) ^ 3 warnings generated. rm -f grammar.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include grammar.c ./grammar.y:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_void(op) ^ ./grammar.y:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_double_int(op, v) ^ ./grammar.y:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_double(op, v) ^ ./grammar.y:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_int(op, v) ^ ./grammar.y:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_int2(op, v1, v2) ^ ./grammar.y:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_int3(op, v1, v2, v3) ^ ./grammar.y:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_str(op, str) ^ ./grammar.y:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_str2(op, str1, str2) ^ ./grammar.y:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_color(op, color) ^ ./grammar.y:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_bgrad(w, h, colors, dir, zoomflg, extra) ^ ./grammar.y:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_newimage(arg) ^ ./grammar.y:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_image(op, fname, colors, xsiz, ysiz, zoomflg) ^ ./grammar.y:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_bar(color, thick, start, len) ^ ./grammar.y:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_icon(n, color, siz) ^ ./grammar.y:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_pcache(flag, mode, effect, value) ^ ./grammar.y:578:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_valign(align) ^ ./grammar.y:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_area(width, height, xoff, yoff) ^ ./grammar.y:680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_argsfromstr(op, str, flag) ^ ./grammar.y:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_xfont(seed, registry) ^ y.tab.c:1288:23: warning: call to undeclared function 'yylex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((yychar = yylex()) < 0) yychar = 0; ^ y.tab.c:1975:27: warning: call to undeclared function 'yylex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((yychar = yylex()) < 0) yychar = 0; ^ 21 warnings generated. rm -f postscript.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include postscript.c postscript.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ps_boundingbox(fname, px1, py1, px2, py2) ^ postscript.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image_zoomratio(state, xp, yp, zoomflag, width, height) ^ 2 warnings generated. rm -f tfont.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include tfont.c rm -f embed.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include embed.c embed.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] allocpy(p) ^ embed.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] embed_fname(fname) ^ embed.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] embed_file(fp, p, lineno) ^ 3 warnings generated. cc -c -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include unimap.c rm -f mng.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include mng.c mng.c:184:27: warning: passing arguments to 'imageToXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximageinfo= imageToXImage(mngdisplay, mngscreen, mngvisual, depth, ^ mng.c:193:12: warning: passing arguments to 'freeXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeXImage(ximageinfo->ximage, ximageinfo); ^ mng.c:257:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mng.c:281:30: warning: incompatible function pointer types passing 'mng_ptr (mng_uint32)' (aka 'void *(unsigned int)') to parameter of type 'mng_memalloc' (aka 'void *(*)(unsigned long)') [-Wincompatible-function-pointer-types] mng = mng_initialize(mymng, mymngalloc, mymngfree, MNG_NULL); ^~~~~~~~~~ /usr/local/include/libmng.h:504:65: note: passing argument to parameter 'fMemalloc' here mng_memalloc fMemalloc, ^ mng.c:281:42: warning: incompatible function pointer types passing 'void (mng_ptr, mng_uint32)' (aka 'void (void *, unsigned int)') to parameter of type 'mng_memfree' (aka 'void (*)(void *, unsigned long)') [-Wincompatible-function-pointer-types] mng = mng_initialize(mymng, mymngalloc, mymngfree, MNG_NULL); ^~~~~~~~~ /usr/local/include/libmng.h:505:65: note: passing argument to parameter 'fMemfree' here mng_memfree fMemfree, ^ mng.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mngload(mngfile, x, y, width, height) ^ mng.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mng_window_setup(mymng, x, y, width, height) ^ mng.c:338:25: warning: passing arguments to 'get_visual' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mngvisual = get_visual(mngdisplay, mngscreen, &depth); ^ mng.c:376:30: warning: incompatible function pointer types passing 'mng_ptr (mng_uint32)' (aka 'void *(unsigned int)') to parameter of type 'mng_memalloc' (aka 'void *(*)(unsigned long)') [-Wincompatible-function-pointer-types] mng = mng_initialize(mymng, mymngalloc, mymngfree, MNG_NULL); ^~~~~~~~~~ /usr/local/include/libmng.h:504:65: note: passing argument to parameter 'fMemalloc' here mng_memalloc fMemalloc, ^ mng.c:376:42: warning: incompatible function pointer types passing 'void (mng_ptr, mng_uint32)' (aka 'void (void *, unsigned int)') to parameter of type 'mng_memfree' (aka 'void (*)(void *, unsigned long)') [-Wincompatible-function-pointer-types] mng = mng_initialize(mymng, mymngalloc, mymngfree, MNG_NULL); ^~~~~~~~~ /usr/local/include/libmng.h:505:65: note: passing argument to parameter 'fMemfree' here mng_memfree fMemfree, ^ mng.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mngpreload(state, mngfile, width, height) ^ 11 warnings generated. rm -f m17n.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include m17n.c making ./image/libmgpimage.a in ./image... rm -f imagetypes.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 imagetypes.c imagetypes.c:74:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((image = ImageTypes[a].loader(fullname, name, verbose))) { ^ imagetypes.c:75:13: warning: passing arguments to 'zreset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zreset(NULL); ^ imagetypes.c:79:9: warning: passing arguments to 'zreset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zreset(NULL); ^ imagetypes.c:59:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *loadImage(name, verbose) ^ In file included from imagetypes.c:12: ./image.h:145:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *loadImage(); /* imagetypes.c */ ^ imagetypes.c:99:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ImageTypes[a].identifier(fullname, name)) { ^ imagetypes.c:100:13: warning: passing arguments to 'zreset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zreset(NULL); ^ imagetypes.c:104:9: warning: passing arguments to 'zreset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zreset(NULL); ^ imagetypes.c:86:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void identifyImage(name) ^ In file included from imagetypes.c:12: ./image.h:146:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void identifyImage(); ^ imagetypes.c:119:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void goodImage(image, func) ^ In file included from imagetypes.c:12: ./image.h:147:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void goodImage(); ^ 12 warnings generated. rm -f gif.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include gif.c gif.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tellAboutImage(name, gifp) ^ gif.c:107:9: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] "Image %d is not confined to screen dimension, aborted.\n"); ~^ gif.c:162:21: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = newRGBImage(GifFile->SWidth, GifFile->SHeight, 8); ^ gif.c:188:26: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title = dupString(name); ^ gif.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gifLoad(fullname, name, verbose) ^ gif.c:205:22: warning: too few arguments in call to 'tellAboutImage' tellAboutImage(name); ~~~~~~~~~~~~~~ ^ gif.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gifIdent(fullname, name) ^ 7 warnings generated. rm -f send.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include send.c send.c:20:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int pixmapErrorTrap(disp, pErrorEvent) ^ send.c:53:13: warning: passing arguments to 'sendXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sendXImage(ximageinfo, 0, 0, 0, 0, ^ send.c:35:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap ximageToPixmap(disp, parent, ximageinfo) ^ In file included from send.c:13: In file included from ./../mgp.h:73: ./../image/xloadimage.h:89:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Pixmap ximageToPixmap(); ^ send.c:65:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static unsigned int bitsPerPixelAtDepth(disp, scrn, depth) ^ send.c:113:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(image, "imageToXimage"); ^ send.c:118:36: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximageinfo= (XImageInfo *)lmalloc(sizeof(XImageInfo)); ^ send.c:139:15: warning: passing arguments to 'reduce' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= reduce(image, depthToColors(visual->bits_per_rgb), verbose); ^ send.c:141:15: warning: passing arguments to 'dither' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= dither(image, verbose); ^ send.c:153:15: warning: passing arguments to 'dither' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= dither(image, verbose); ^ send.c:174:33: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] redvalue= (Pixel *)lmalloc(sizeof(Pixel) * 256); ^ send.c:175:35: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] greenvalue= (Pixel *)lmalloc(sizeof(Pixel) * 256); ^ send.c:176:34: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bluevalue= (Pixel *)lmalloc(sizeof(Pixel) * 256); ^ send.c:261:28: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] index= (Pixel *)lmalloc(sizeof(Pixel) * image->rgb.used); ^ send.c:375:17: warning: passing arguments to 'dither' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= dither(image, 0); ^ send.c:379:9: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(index); ^ send.c:391:7: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(index); ^ send.c:397:15: warning: passing arguments to 'reduce' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= reduce(image, a, verbose); ^ send.c:453:20: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data= lmalloc((image->width + 7) / 8 * image->height); ^ send.c:487:15: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data= lmalloc(image->width * image->height * dpixlen); ^ send.c:495:16: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pixval= memToVal(srcptr, image->pixlen); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ send.c:498:8: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(newpixval, destptr, dpixlen); ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ send.c:506:16: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pixval= memToVal(srcptr, image->pixlen); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ send.c:510:8: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(pixval, destptr, dpixlen); ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ send.c:541:23: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data= (byte *)lmalloc(image->width * image->height * dpixlen); ^ send.c:556:16: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pixval= memToVal(srcptr, image->pixlen); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ send.c:577:23: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data= (byte *)lmalloc(image->width * image->height * dpixlen); ^ send.c:585:21: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(index[memToVal(srcptr, image->pixlen)], destptr, dpixlen); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ send.c:585:21: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ send.c:585:6: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(index[memToVal(srcptr, image->pixlen)], destptr, dpixlen); ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ send.c:598:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)index); ^ send.c:600:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)redvalue); ^ send.c:601:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)greenvalue); ^ send.c:602:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)bluevalue); ^ send.c:605:14: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ send.c:95:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XImageInfo *imageToXImage(disp, scrn, visual, ddepth, image, private_cmap, fit, ^ In file included from send.c:13: In file included from ./../mgp.h:73: ./../image/xloadimage.h:88:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] XImageInfo *imageToXImage(); ^ send.c:613:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void sendXImage(ximageinfo, src_x, src_y, dst_x, dst_y, w, h) ^ In file included from send.c:13: In file included from ./../mgp.h:73: ./../image/xloadimage.h:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void sendXImage(); /* send.c */ ^ send.c:649:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)ximageinfo->ximage->data); ^ send.c:652:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)ximageinfo); ^ send.c:643:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void freeXImage(image, ximageinfo) ^ In file included from send.c:13: In file included from ./../mgp.h:73: ./../image/xloadimage.h:90:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void freeXImage(); ^ 43 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c zio.c zio.c:53:50: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zf->data= zf->dataptr= (struct cache *)lmalloc(sizeof(struct cache)); ^ zio.c:56:46: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zf->dataptr->next= (struct cache *)lmalloc(sizeof(struct cache)); ^ zio.c:27:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int doRead(zf, buf, len) ^ zio.c:112:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(old); ^ zio.c:114:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)ZFileTable[a].filename); ^ zio.c:84:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void zreset(filename) ^ In file included from zio.c:14: ./image.h:197:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void zreset(); ^ zio.c:186:26: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zf->filename= dupString(name); ^ zio.c:210:7: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(zf->filename); ^ zio.c:229:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(zf->filename); ^ zio.c:140:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ZFILE *zopen(name) ^ In file included from zio.c:14: ./image.h:190:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] ZFILE *zopen(); /* zio.c */ ^ zio.c:236:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int zread(zf, buf, len) ^ In file included from zio.c:14: ./image.h:192:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int zread(); ^ zio.c:244:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int zgetc(zf) ^ In file included from zio.c:14: ./image.h:193:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int zgetc(); ^ zio.c:254:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *zgets(buf, size, zf) ^ In file included from zio.c:14: ./image.h:194:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *zgets(); ^ zio.c:276:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void znocache(zf) ^ In file included from zio.c:14: ./image.h:196:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void znocache(); ^ zio.c:286:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void zclose(zf) ^ In file included from zio.c:14: ./image.h:195:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void zclose(); ^ 22 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c zoom.c zoom.c:30:33: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] index= (unsigned int *)lmalloc(sizeof(unsigned int) * *rwidth); ^ zoom.c:14:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static unsigned int *buildIndex(width, zoom, rwidth) ^ zoom.c:39:35: warning: parameter 'verbose' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Image *zoom(oimage, xzoom, yzoom, verbose) ^ zoom.c:55:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(oimage, "zoom"); ^ zoom.c:76:53: warning: format specifies type 'int' but the argument has type 'float' [-Wformat] sprintf(buf, "%s (%d%% zoom)", oimage->title, xzoom); ~~ ^~~~~ %f zoom.c:94:23: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newBitImage(xwidth, ywidth); ^ zoom.c:138:23: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newRGBImage(xwidth, ywidth, oimage->depth); ^ zoom.c:149:26: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newTrueImage(xwidth, ywidth); ^ zoom.c:161:14: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value= memToVal(srcptr, pixlen); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ zoom.c:168:11: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value= memToVal(srcptr, pixlen); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ zoom.c:170:2: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(value, destptr, pixlen); ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ zoom.c:178:30: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title= dupString(buf); ^ zoom.c:181:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)xindex); ^ zoom.c:182:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)yindex); ^ zoom.c:39:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *zoom(oimage, xzoom, yzoom, verbose) ^ In file included from zoom.c:12: ./image.h:199:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *zoom(); /* zoom.c */ ^ 16 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c new.c new.c:63:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long colorsToDepth(ncolors) ^ In file included from new.c:12: ./image.h:152:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] unsigned long colorsToDepth(); ^ new.c:79:21: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d= (char *)lmalloc(strlen(s) + 1); ^ new.c:73:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *dupString(s) ^ In file included from new.c:12: ./image.h:153:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *dupString(); ^ new.c:91:33: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rgb->red= (Intensity *)lmalloc(sizeof(Intensity) * size); ^ new.c:92:35: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rgb->green= (Intensity *)lmalloc(sizeof(Intensity) * size); ^ new.c:93:34: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rgb->blue= (Intensity *)lmalloc(sizeof(Intensity) * size); ^ new.c:84:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void newRGBMapData(rgb, size) ^ In file included from new.c:12: ./image.h:159:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void newRGBMapData(); ^ new.c:99:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)rgb->red); ^ new.c:100:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)rgb->green); ^ new.c:101:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)rgb->blue); ^ new.c:96:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void freeRGBMapData(rgb) ^ In file included from new.c:12: ./image.h:160:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void freeRGBMapData(); ^ new.c:109:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= (Image *)lmalloc(sizeof(Image)); ^ new.c:120:40: warning: passing arguments to 'lcalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->data= (unsigned char *)lcalloc(linelen * height); ^ new.c:104:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *newBitImage(width, height) ^ In file included from new.c:12: ./image.h:154:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *newBitImage(); ^ new.c:134:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= (Image *)lmalloc(sizeof(Image)); ^ new.c:142:40: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->data= (unsigned char *)lmalloc(width * height * pixlen); ^ new.c:125:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *newRGBImage(width, height, depth) ^ In file included from new.c:12: ./image.h:155:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *newRGBImage(); ^ new.c:151:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= (Image *)lmalloc(sizeof(Image)); ^ new.c:159:40: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->data= (unsigned char *)lmalloc(width * height * 3); ^ new.c:147:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *newTrueImage(width, height) ^ In file included from new.c:12: ./image.h:156:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *newTrueImage(); ^ new.c:168:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)image->title); ^ new.c:173:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(image->data); ^ new.c:164:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void freeImageData(image) ^ In file included from new.c:12: ./image.h:158:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void freeImageData(); ^ new.c:180:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)image); ^ new.c:176:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void freeImage(image) ^ In file included from new.c:12: ./image.h:157:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void freeImage(); ^ new.c:183:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte *lmalloc(size) ^ In file included from new.c:12: ./image.h:162:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] byte *lmalloc(); ^ new.c:199:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte *lcalloc(size) ^ In file included from new.c:12: ./image.h:161:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] byte *lcalloc(); ^ new.c:215:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void lfree(area) ^ In file included from new.c:12: ./image.h:163:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void lfree(); ^ 40 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c compress.c compress.c:44:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(image, "compress"); ^ compress.c:58:16: warning: passing arguments to 'newRGBMapData' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newRGBMapData(&rgb, image->rgb.used); ^ compress.c:61:32: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pixel_table= (Pixel *)lmalloc(sizeof(Pixel) * image->rgb.used); ^ compress.c:62:30: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pixel_map= (Pixel *)lmalloc(sizeof(Pixel) * image->rgb.used); ^ compress.c:70:18: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] oldpixval= memToVal(pixptr, image->pixlen); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ compress.c:133:7: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(pixel_map[oldpixval], pixptr, image->pixlen); ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ compress.c:136:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(pixel_table); ^ compress.c:137:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(pixel_map); ^ compress.c:163:17: warning: passing arguments to 'freeRGBMapData' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeRGBMapData(&(image->rgb)); ^ compress.c:33:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void compress_colormap(image, verbose) ^ In file included from compress.c:14: ./image.h:135:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void compress_colormap(); /* compress.c */ ^ 11 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c reduce.c reduce.c:43:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long colorDistance(rgb, a, b) ^ reduce.c:93:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int sortRGB(p1, p2) ^ reduce.c:120:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int sortRBG(p1, p2) ^ reduce.c:147:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int sortGRB(p1, p2) ^ reduce.c:174:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int sortGBR(p1, p2) ^ reduce.c:201:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int sortBRG(p1, p2) ^ reduce.c:228:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int sortBGR(p1, p2) ^ reduce.c:259:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void insertColorArea(pixel_counts, rlargest, rsmallest, area) ^ reduce.c:380:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(image, "reduce"); ^ reduce.c:403:7: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] memToVal(pixel, image->pixlen))]++; ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:403:7: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:403:7: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:422:29: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pixel_counts[TRUE_TO_15BIT(memToVal(pixel, 3))]++; ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:422:29: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:422:29: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:446:38: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] areas= (struct color_area *)lmalloc(n * sizeof(struct color_area)); ^ reduce.c:503:23: warning: passing arguments to 'colorsToDepth' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] depth= colorsToDepth(n); ^ reduce.c:504:25: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_image= newRGBImage(image->width, image->height, depth); ^ reduce.c:507:32: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_image->title= dupString(buf); ^ reduce.c:538:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(areas); ^ reduce.c:551:9: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] memToVal(pixel, image->pixlen))], ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:551:9: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:551:9: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:551:9: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:551:9: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:551:9: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:550:2: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(pixel_counts[TLA_TO_15BIT(image->rgb, ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ reduce.c:563:38: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(pixel_counts[TRUE_TO_15BIT(memToVal(pixel, 3))], ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:563:38: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:563:38: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:563:38: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:563:38: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:563:38: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:563:2: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(pixel_counts[TRUE_TO_15BIT(memToVal(pixel, 3))], ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ reduce.c:367:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *reduce(image, n, verbose) ^ In file included from reduce.c:21: ./image.h:167:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *reduce(); /* reduce.c */ ^ reduce.c:590:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(image, "expand"); ^ reduce.c:594:26: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_image= newTrueImage(image->width, image->height); ^ reduce.c:595:30: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_image->title= dupString(image->title); ^ reduce.c:612:2: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem((mask & *spixel ? dpixval : spixval), dpixel, 3); ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ reduce.c:630:11: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spixval= memToVal(spixel, image->pixlen); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:631:2: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(RGB_TO_TRUE(image->rgb.red[spixval], ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ reduce.c:580:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *expand(image) ^ In file included from reduce.c:21: ./image.h:168:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *expand(); ^ 44 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c value.c value.c:16:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long doMemToVal(p, len) ^ In file included from value.c:14: ./image.h:179:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] unsigned long doMemToVal(); /* value.c */ ^ value.c:28:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long doValToMem(val, p, len) ^ In file included from value.c:14: ./image.h:180:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] unsigned long doValToMem(); ^ value.c:41:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long doMemToValLSB(p, len) ^ In file included from value.c:14: ./image.h:181:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] unsigned long doMemToValLSB(); ^ value.c:55:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long doValToMemLSB(val, p, len) ^ In file included from value.c:14: ./image.h:182:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] unsigned long doValToMemLSB(); ^ value.c:70:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void flipBits(p, len) ^ In file included from value.c:14: ./image.h:183:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void flipBits(); ^ 10 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c misc.c misc.c:20:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *signalName(sig) ^ misc.c:44:5: warning: call to undeclared library function 'abort' with type 'void (void) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] abort(); ^ misc.c:44:5: note: include the header or explicitly provide a declaration for 'abort' misc.c:72:44: warning: passing arguments to 'nameOfVisualClass' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fprintf(stderr, " %s", nameOfVisualClass(local_screen->depths[a].visuals[b].class)); ^ misc.c:49:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void internalError(sig) ^ In file included from misc.c:12: ./xloadimage.h:72:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void internalError(); ^ misc.c:103:7: warning: passing arguments to 'tail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tail(name)); ^ misc.c:106:60: warning: passing arguments to 'tail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] `%s -help' to enter the interactive help facility.\n", tail(name), tail(name)); ^ misc.c:106:72: warning: passing arguments to 'tail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] `%s -help' to enter the interactive help facility.\n", tail(name), tail(name)); ^ misc.c:98:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void usage(name) ^ In file included from misc.c:12: ./xloadimage.h:74:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void usage(); ^ misc.c:110:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *tail(path) ^ In file included from misc.c:12: ./xloadimage.h:70:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *tail(); /* misc.c */ ^ misc.c:133:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(image, "processImage"); ^ misc.c:144:19: warning: passing arguments to 'clip' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpimage= clip(image, options->clipx, options->clipy, ^ misc.c:148:14: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ misc.c:153:22: warning: passing arguments to 'rotate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpimage = rotate(image, options->rotate, verbose); ^ misc.c:154:14: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ misc.c:163:24: warning: passing arguments to 'compress_colormap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compress_colormap(image, verbose); ^ misc.c:166:19: warning: passing arguments to 'zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpimage= zoom(image, options->xzoom, options->yzoom, verbose); ^ misc.c:167:14: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ misc.c:172:9: warning: passing arguments to 'gray' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gray(image, verbose); ^ misc.c:175:24: warning: passing arguments to 'normalize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpimage= normalize(image, verbose); ^ misc.c:177:16: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ misc.c:183:13: warning: passing arguments to 'brighten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] brighten(image, options->bright, verbose); ^ misc.c:186:17: warning: passing arguments to 'gammacorrect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gammacorrect(image, options->gamma, verbose); ^ misc.c:192:21: warning: passing arguments to 'reduce' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpimage= reduce(image, options->colors, verbose); ^ misc.c:194:16: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ misc.c:203:23: warning: passing arguments to 'dither' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpimage= dither(image, verbose); ^ misc.c:205:25: warning: passing arguments to 'halftone' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpimage= halftone(image, verbose); ^ misc.c:206:14: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ misc.c:210:22: warning: passing arguments to 'compress_colormap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compress_colormap(image, verbose); ^ misc.c:213:21: warning: passing arguments to 'smooth' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpimage= smooth(image, options->smooth, verbose); ^ misc.c:215:16: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ misc.c:122:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *processImage(disp, scrn, image, options, verbose) ^ In file included from misc.c:12: ./xloadimage.h:76:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *processImage(); ^ misc.c:242:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int errorHandler(disp, error) ^ In file included from misc.c:12: ./xloadimage.h:77:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int errorHandler(); ^ misc.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vstrstr( s1, s2 ) ^ 38 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c rotate.c rotate.c:14:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void rotate_bitmap(num, pos, width, height, new_num, new_pos) ^ rotate.c:40:32: warning: parameter 'verbose' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Image *rotate(simage, degrees, verbose) ^ rotate.c:66:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(simage, "rotate"); ^ rotate.c:80:26: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image2= newBitImage(image1->height, image1->width); ^ rotate.c:98:26: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image2= newRGBImage(image1->height, image1->width, image1->depth); ^ rotate.c:109:22: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image2= newTrueImage(image1->height, image1->width); ^ rotate.c:114:29: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] yptr= (byte **)lmalloc(image1->width * sizeof(char *)); ^ rotate.c:125:13: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(memToVal(sp, image1->pixlen), ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ rotate.c:125:13: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ rotate.c:125:4: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(memToVal(sp, image1->pixlen), ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ rotate.c:130:12: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(yptr); ^ rotate.c:137:16: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image1); ^ rotate.c:140:27: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image1->title= dupString(buf); ^ rotate.c:40:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *rotate(simage, degrees, verbose) ^ In file included from rotate.c:9: ./image.h:170:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *rotate(); /* rotate.c */ ^ 15 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c rle.c rle.c:59:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void bw_m_line(dp,number) ^ rle.c:73:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void c_m_line(dp,number,line) ^ rle.c:111:18: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rlefile = zopen(fullname); ^ rle.c:121:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(rlefile); ^ rle.c:103:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int rleIdent(fullname, name) ^ rle.c:203:18: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rlefile = zopen(fullname); ^ rle.c:212:11: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(rlefile); ^ rle.c:224:27: warning: passing arguments to 'rle_getcom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( (v = rle_getcom( "image_gamma", &sv_globals )) != NULL ) ^ rle.c:233:32: warning: passing arguments to 'rle_getcom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ( (v = rle_getcom( "display_gamma", &sv_globals )) != NULL ) ^ rle.c:270:13: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(rlefile); ^ rle.c:285:10: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(rlefile); ^ rle.c:301:10: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(rlefile); ^ rle.c:307:13: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(rlefile); ^ rle.c:334:11: warning: passing arguments to 'znocache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] znocache(rlefile); ^ rle.c:343:19: warning: passing arguments to 'buildmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fmaps = buildmap(&sv_globals,sv_globals.sv_ncolors,img_gam); ^ rle.c:350:36: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scan = (unsigned char **) lmalloc( (sv_globals.sv_ncolors + ^ rle.c:354:39: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scan[i] = (unsigned char *)lmalloc(x_len); ^ rle.c:360:22: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = newRGBImage(x_len,y_len,depth); ^ rle.c:361:27: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title = dupString(name); ^ rle.c:370:16: warning: passing arguments to 'dithermap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dithermap( 6, disp_gam, colmap, divN, modN, magic ); ^ rle.c:437:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(rlefile); ^ rle.c:187:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *rleLoad(fullname,name,verbose) ^ 22 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c rlelib.c rlelib.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NullputEof(globals) ^ rlelib.c:215:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void NullputEof(); ^ rlelib.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RunSetup(globals) ^ rlelib.c:205:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void RunSetup(), ^ rlelib.c:430:19: warning: parameter 'nblank' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] RunSkipBlankLines(nblank, globals) ^ rlelib.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RunSkipBlankLines(nblank, globals) ^ rlelib.c:206:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] RunSkipBlankLines(), ^ rlelib.c:441:13: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] RunSetColor(c, globals) ^ rlelib.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RunSetColor(c, globals) ^ rlelib.c:207:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] RunSetColor(), ^ rlelib.c:453:28: warning: parameter 'wasrun' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] RunSkipPixels(nskip, last, wasrun, globals) ^ rlelib.c:453:22: warning: parameter 'last' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] RunSkipPixels(nskip, last, wasrun, globals) ^ rlelib.c:453:15: warning: parameter 'nskip' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] RunSkipPixels(nskip, last, wasrun, globals) ^ rlelib.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RunSkipPixels(nskip, last, wasrun, globals) ^ rlelib.c:208:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] RunSkipPixels(), ^ rlelib.c:464:16: warning: parameter 'flag' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] RunNewScanLine(flag, globals) ^ rlelib.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RunNewScanLine(flag, globals) ^ rlelib.c:209:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] RunNewScanLine(), ^ rlelib.c:474:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Runputdata(buf, n, globals) ^ rlelib.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Runputdata(buf, n, globals) ^ rlelib.c:210:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Runputdata(), ^ rlelib.c:487:21: warning: parameter 'last' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Runputrun(color, n, last, globals) ^ rlelib.c:487:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Runputrun(color, n, last, globals) ^ rlelib.c:487:11: warning: parameter 'color' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Runputrun(color, n, last, globals) ^ rlelib.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Runputrun(color, n, last, globals) ^ rlelib.c:211:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Runputrun(), ^ rlelib.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RunputEof(globals) ^ rlelib.c:212:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] RunputEof(); ^ rlelib.c:505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DefaultBlockHook(globals) ^ rlelib.c:214:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void DefaultBlockHook(); ^ rlelib.c:573:30: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmap = (rle_pixel **)lmalloc(nmap * sizeof(rle_pixel *)); ^ rlelib.c:574:32: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmap[0] = (rle_pixel *)lmalloc(256 * sizeof(rle_pixel)); ^ rlelib.c:595:34: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmap = (rle_pixel **)lmalloc(nmap * sizeof(rle_pixel *)); ^ rlelib.c:596:36: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmap[0] = (rle_pixel *)lmalloc(maplen * sizeof(rle_pixel)); ^ rlelib.c:609:34: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmap = (rle_pixel **)lmalloc(nmap * sizeof(rle_pixel *)); ^ rlelib.c:612:33: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmap[j] = (rle_pixel *)lmalloc(maplen * sizeof(rle_pixel)); ^ rlelib.c:627:34: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmap = (rle_pixel **)lmalloc(nmap * sizeof(rle_pixel *)); ^ rlelib.c:630:33: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmap[j] = (rle_pixel *)lmalloc(maplen * sizeof(rle_pixel)); ^ rlelib.c:646:31: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gammap = (rle_pixel *)lmalloc(256 * sizeof(rle_pixel)); ^ rlelib.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buildmap(globals, minmap, gamma) ^ In file included from rlelib.c:21: ./rle.h:151:1: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] buildmap(); ^ rlelib.c:711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] match(n, v) ^ rlelib.c:742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rle_getcom(name, globals) ^ In file included from rlelib.c:21: ./rle.h:162:1: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] rle_getcom(); ^ rlelib.c:828:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int rle_get_setup(globals) ^ rlelib.c:839:5: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BREAD(short, magic, sizeof magic); ^ rlelib.c:801:11: note: expanded from macro 'BREAD' zread(infile, (byte *)&var,len) ^ rlelib.c:840:5: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(magic); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:845:5: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BREAD(struct XtndRsetup, setup, SETUPSIZE); /* assume VAX packing */ ^ rlelib.c:801:11: note: expanded from macro 'BREAD' zread(infile, (byte *)&var,len) ^ rlelib.c:848:5: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(setup.h_xpos); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:849:5: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(setup.h_ypos); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:850:5: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(setup.h_xlen); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:851:5: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(setup.h_ylen); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:860:39: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] globals->sv_bg_color = (int *)lmalloc( ^ rlelib.c:862:33: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bg_color = (rle_pixel *)lmalloc( ^ rlelib.c:864:7: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zread(infile, (byte *)bg_color, 1 + (setup.h_ncolors / 2) * 2); ^ rlelib.c:867:7: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(bg_color); ^ rlelib.c:870:7: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zgetc(infile); /* skip filler byte */ ^ rlelib.c:897:39: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] globals->sv_cmap = (rle_map *)lmalloc( ^ rlelib.c:906:7: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zread(infile, (byte *)globals->sv_cmap, sizeof(short) * maplen); ^ rlelib.c:921:2: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BREAD(short, comlen, sizeof comlen); /* get comment length */ ^ rlelib.c:801:11: note: expanded from macro 'BREAD' zread(infile, (byte *)&var,len) ^ rlelib.c:922:2: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(comlen); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:924:31: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] comment_buf = (char *)lmalloc((unsigned) evenlen); ^ rlelib.c:932:7: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zread(infile, (byte *)comment_buf, evenlen); ^ rlelib.c:940:22: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (char **)lmalloc((unsigned)(i * sizeof(char *))); ^ rlelib.c:988:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int rle_get_error(code, pgmname, fname) ^ rlelib.c:1046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rle_get_setup_ok(globals, prog_name, file_name) ^ rlelib.c:1076:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rle_debug(on_off) ^ rlelib.c:1108:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int rle_getrow(globals, scanline) ^ rlelib.c:1124:11: warning: passing arguments to 'bfill' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bfill((char *)scanline[-1], globals->sv_xmax + 1, 0); ^ rlelib.c:1127:8: warning: passing arguments to 'bfill' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bfill((char *)scanline[nc], globals->sv_xmax+1, ^ rlelib.c:1153:9: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BREAD(struct inst, inst, 2); ^ rlelib.c:801:11: note: expanded from macro 'BREAD' zread(infile, (byte *)&var,len) ^ rlelib.c:1165:10: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BREAD(short, long_data, sizeof long_data); ^ rlelib.c:801:11: note: expanded from macro 'BREAD' zread(infile, (byte *)&var,len) ^ rlelib.c:1166:3: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(long_data); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:1194:10: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BREAD(short, long_data, sizeof long_data); ^ rlelib.c:801:11: note: expanded from macro 'BREAD' zread(infile, (byte *)&var,len) ^ rlelib.c:1195:3: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(long_data); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:1216:10: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BREAD(short, long_data, sizeof long_data); ^ rlelib.c:801:11: note: expanded from macro 'BREAD' zread(infile, (byte *)&var,len) ^ rlelib.c:1217:3: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(long_data); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:1225:8: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zread(infile, (byte *)scanc, nc); ^ rlelib.c:1227:18: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)zgetc(infile); /* throw away odd byte */ ^ rlelib.c:1233:16: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) zgetc(infile); /* discard it */ ^ rlelib.c:1255:10: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BREAD(short, long_data, sizeof long_data); ^ rlelib.c:801:11: note: expanded from macro 'BREAD' zread(infile, (byte *)&var,len) ^ rlelib.c:1256:3: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(long_data); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:1263:6: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BREAD(short, word, sizeof(short)); ^ rlelib.c:801:11: note: expanded from macro 'BREAD' zread(infile, (byte *)&var,len) ^ rlelib.c:1264:6: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(word); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:1272:12: warning: passing arguments to 'bfill' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bfill((char *)scanc, nc + 1, word); ^ rlelib.c:1300:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void bfill(s, n, c) ^ rlelib.c:807:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void bfill(); ^ rlelib.c:1393:11: warning: parameter 'levels' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] dithermap(levels, gamma, rgbmap, divN, modN, magic) ^ rlelib.c:1421:16: warning: passing arguments to 'make_square' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_square(N, divN, modN, magic); ^ rlelib.c:1393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dithermap(levels, gamma, rgbmap, divN, modN, magic) ^ rlelib.c:1453:13: warning: parameter 'levels' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] bwdithermap(levels, gamma, bwmap, divN, modN, magic) ^ rlelib.c:1474:16: warning: passing arguments to 'make_square' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_square(N, divN, modN, magic); ^ rlelib.c:1453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bwdithermap(levels, gamma, bwmap, divN, modN, magic) ^ rlelib.c:1512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_magic(size, magic) ^ rlelib.c:1568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_square(N, divN, modN, magic) ^ rlelib.c:1354:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void make_square(); ^ rlelib.c:1641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_gamma(gamma, gammamap) ^ rlelib.c:1679:25: warning: parameter 'levels' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] dithergb(x, y, r, g, b, levels, divN, modN, magic) ^ rlelib.c:1679:22: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] dithergb(x, y, r, g, b, levels, divN, modN, magic) ^ rlelib.c:1679:19: warning: parameter 'g' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] dithergb(x, y, r, g, b, levels, divN, modN, magic) ^ rlelib.c:1679:16: warning: parameter 'r' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] dithergb(x, y, r, g, b, levels, divN, modN, magic) ^ rlelib.c:1679:13: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] dithergb(x, y, r, g, b, levels, divN, modN, magic) ^ rlelib.c:1679:10: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] dithergb(x, y, r, g, b, levels, divN, modN, magic) ^ rlelib.c:1679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dithergb(x, y, r, g, b, levels, divN, modN, magic) ^ rlelib.c:1710:16: warning: parameter 'val' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ditherbw(x, y, val, divN, modN, magic) ^ rlelib.c:1710:13: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ditherbw(x, y, val, divN, modN, magic) ^ rlelib.c:1710:10: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ditherbw(x, y, val, divN, modN, magic) ^ rlelib.c:1710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ditherbw(x, y, val, divN, modN, magic) ^ 108 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c smooth.c smooth.c:27:14: warning: passing arguments to 'expand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] old= expand(image); ^ smooth.c:28:20: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new= newTrueImage(image->width, image->height); ^ smooth.c:30:34: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new->title= (char *)lmalloc(strlen(image->title) + 12); ^ smooth.c:51:12: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pixval= memToVal(yindex[y1] + xindex[x1], old->pixlen); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ smooth.c:65:7: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(pixval, destptr, new->pixlen); ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ smooth.c:71:14: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(old); ^ smooth.c:14:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Image *doSmooth(image) ^ smooth.c:75:22: warning: parameter 'iterations' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Image *smooth(image, iterations, verbose) ^ smooth.c:90:16: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(old); ^ smooth.c:75:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *smooth(image, iterations, verbose) ^ In file included from smooth.c:12: ./image.h:172:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *smooth(); /* smooth.c */ ^ 11 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c halftone.c halftone.c:167:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(cimage, "dither"); ^ halftone.c:178:21: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newBitImage(cimage->width * 4, cimage->height * 4); ^ halftone.c:180:34: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title= (char *)lmalloc(strlen(cimage->title) + 13); ^ halftone.c:195:35: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] index= (unsigned int *)lmalloc(sizeof(unsigned int) * cimage->rgb.used); ^ halftone.c:216:14: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] color= memToVal(sp, spl); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ halftone.c:155:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *halftone(cimage, verbose) ^ In file included from halftone.c:14: ./image.h:143:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *halftone(); /* halftone.c */ ^ 7 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c clip.c clip.c:25:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(simage, "clip"); ^ clip.c:46:23: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newBitImage(clipw, cliph); ^ clip.c:83:25: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newRGBImage(clipw, cliph, simage->depth); ^ clip.c:92:26: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newTrueImage(clipw, cliph); ^ clip.c:100:11: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(memToVal(sp, simage->pixlen), dp, simage->pixlen); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ clip.c:100:11: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ clip.c:100:2: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(memToVal(sp, simage->pixlen), dp, simage->pixlen); ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ clip.c:111:26: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title= dupString(simage->title); ^ clip.c:14:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *clip(simage, clipx, clipy, clipw, cliph, verbose) ^ In file included from clip.c:12: ./image.h:128:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *clip(); /* clip.c */ ^ 10 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c dither.c dither.c:60:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(cimage, "dither"); ^ dither.c:72:22: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = newBitImage(cimage->width, cimage->height); ^ dither.c:75:35: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title = (char *)lmalloc(strlen(cimage->title) + 12); ^ dither.c:86:35: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] grey = (unsigned int *)lmalloc(sizeof(unsigned int) * cimage->rgb.used); ^ dither.c:94:34: warning: passing arguments to 'tone_scale_adjust' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] grey[i] = tone_scale_adjust(grey[i]); ^ dither.c:109:25: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] curr = (int *)lmalloc(sizeof(int) * (cimage->width + 2)); ^ dither.c:110:25: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next = (int *)lmalloc(sizeof(int) * (cimage->width + 2)); ^ dither.c:127:15: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] color = memToVal(src, spl); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ dither.c:133:23: warning: passing arguments to 'tone_scale_adjust' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tone_scale_adjust(colorIntensity(cimage->rgb.red[color], ^ dither.c:141:21: warning: passing arguments to 'tone_scale_adjust' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tone_scale_adjust(colorIntensity((TRUE_RED(color) << 8), ^ dither.c:150:18: warning: passing arguments to 'RightToLeft' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RightToLeft(curr, next, cimage->width); ^ dither.c:152:18: warning: passing arguments to 'LeftToRight' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LeftToRight(curr, next, cimage->width); ^ dither.c:171:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)grey); ^ dither.c:172:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)(curr-1)); ^ dither.c:173:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)(next-1)); ^ dither.c:40:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *dither(cimage, verbose) ^ In file included from dither.c:23: ./image.h:137:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *dither(); /* dither.c */ ^ dither.c:192:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static unsigned int tone_scale_adjust(val) ^ dither.c:31:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static unsigned int tone_scale_adjust(); ^ dither.c:210:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void LeftToRight(curr, next, width) ^ dither.c:32:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void LeftToRight(); ^ dither.c:235:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void RightToLeft(curr, next, width) ^ dither.c:33:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void RightToLeft(); ^ 23 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xbitmap.c xbitmap.c:101:13: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c= zgetc(zf); ^ xbitmap.c:94:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int nextInt(zf) ^ xbitmap.c:124:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void badFile(name) ^ xbitmap.c:149:19: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (zf= zopen(fullname))) ^ xbitmap.c:154:15: warning: passing arguments to 'zgets' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (zgets((byte *)line, MAX_SIZE, zf)) { ^ xbitmap.c:156:13: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ xbitmap.c:190:11: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ xbitmap.c:193:21: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newBitImage(w, h); ^ xbitmap.c:200:28: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title= dupString(name_and_type); ^ xbitmap.c:213:13: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ xbitmap.c:214:10: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ xbitmap.c:243:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ xbitmap.c:131:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *xbitmapLoad(fullname, name, verbose) ^ xbitmap.c:256:14: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ xbitmap.c:251:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int xbitmapIdent(fullname, name) ^ 15 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xpixmap.c xpixmap.c:38:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ xpixmap.c:34:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void corrupted(fullname, zf) ^ xpixmap.c:64:19: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (zf= zopen(fullname))) ^ xpixmap.c:73:16: warning: passing arguments to 'zgets' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! zgets((byte *)buf, BUFSIZ - 1, zf)) { ^ xpixmap.c:74:13: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ xpixmap.c:79:8: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ xpixmap.c:118:11: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ xpixmap.c:124:26: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imagetitle= dupString(what); ^ xpixmap.c:128:26: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imagetitle= dupString(name); ^ xpixmap.c:137:21: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newRGBImage(w, h, depth); ^ xpixmap.c:139:26: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title= dupString(imagetitle); ^ xpixmap.c:144:27: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctable= (char **)lmalloc(sizeof(char *) * ncolors); ^ xpixmap.c:151:35: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *(ctable + a)= (char *)lmalloc(cpp); ^ xpixmap.c:152:22: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (((c= zgetc(zf)) != EOF) && (c != '"')) ^ xpixmap.c:157:20: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((c= zgetc(zf)) == '\\') ^ xpixmap.c:158:10: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c= zgetc(zf); ^ xpixmap.c:163:19: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (((c= zgetc(zf)) == EOF) || (c != '"')) ^ xpixmap.c:169:22: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (((c= zgetc(zf)) != EOF) && (c != '"')) ^ xpixmap.c:173:26: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (b= 0; ((c= zgetc(zf)) != EOF) && (c != '"'); b++) { ^ xpixmap.c:175:10: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c= zgetc(zf); ^ xpixmap.c:194:16: warning: passing arguments to 'zgets' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! zgets((byte *)buf, BUFSIZ - 1, zf)) ^ xpixmap.c:212:22: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (((c= zgetc(zf)) != EOF) && (c != '"')) ^ xpixmap.c:216:15: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((c= zgetc(zf)) == '\\') ^ xpixmap.c:217:12: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c= zgetc(zf); ^ xpixmap.c:226:8: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ xpixmap.c:230:7: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem((unsigned long)a, dptr, image->pixlen); ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ xpixmap.c:233:18: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((c= zgetc(zf)) != '"') ^ xpixmap.c:236:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ xpixmap.c:43:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *xpixmapLoad(fullname, name, verbose) ^ xpixmap.c:245:14: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ xpixmap.c:240:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int xpixmapIdent(fullname, name) ^ 31 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c pbm.c pbm.c:62:16: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((c= zgetc(zf)) == EOF) { ^ pbm.c:63:11: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ pbm.c:68:20: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((c= zgetc(zf)) == EOF) ^ pbm.c:58:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int pbmReadChar(zf) ^ pbm.c:74:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int pbmReadInt(zf) ^ pbm.c:107:12: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread(zf, buf, 2) != 2) ^ pbm.c:109:7: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal((byte *)buf, 2) == memToVal((byte *)"P1", 2)) { ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ pbm.c:109:35: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal((byte *)buf, 2) == memToVal((byte *)"P1", 2)) { ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ pbm.c:117:7: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal((byte *)buf, 2) == memToVal((byte *)"P4", 2)) { ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ pbm.c:117:35: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal((byte *)buf, 2) == memToVal((byte *)"P4", 2)) { ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ pbm.c:125:7: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal(buf, 2) == 0x2a17) { ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ pbm.c:126:14: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread(zf, buf, 4) != 4) ^ pbm.c:128:13: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *width= memToVal((byte *)buf, 2); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ pbm.c:129:14: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *height= memToVal((byte *)(buf + 2), 2); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ pbm.c:135:7: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal(buf, 2) == memToVal((byte *)"P2", 2)) { ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ pbm.c:135:27: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal(buf, 2) == memToVal((byte *)"P2", 2)) { ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ pbm.c:144:7: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal(buf, 2) == memToVal((byte *)"P5", 2)) { ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ pbm.c:144:27: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal(buf, 2) == memToVal((byte *)"P5", 2)) { ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ pbm.c:153:7: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal(buf, 2) == memToVal((byte *)"P3", 2)) { ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ pbm.c:153:27: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal(buf, 2) == memToVal((byte *)"P3", 2)) { ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ pbm.c:162:7: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal(buf, 2) == memToVal((byte *)"P6", 2)) { ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ pbm.c:162:27: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal(buf, 2) == memToVal((byte *)"P6", 2)) { ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ pbm.c:97:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int isPBM(zf, name, width, height, maxval, verbose) ^ pbm.c:179:19: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (zf= zopen(fullname))) ^ pbm.c:183:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ pbm.c:174:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int pbmIdent(fullname, name) ^ pbm.c:202:19: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (zf= zopen(fullname))) ^ pbm.c:207:11: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ pbm.c:210:11: warning: passing arguments to 'znocache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] znocache(zf); ^ pbm.c:213:23: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newBitImage(width, height); ^ pbm.c:223:12: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ pbm.c:228:12: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ pbm.c:244:10: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ pbm.c:253:23: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newBitImage(width, height); ^ pbm.c:264:42: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((numread < numbytes) && ((src= zgetc(zf)) == EOF)) { ^ pbm.c:266:11: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ pbm.c:280:44: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((numread < numbytes) && ((src= zgetc(zf)) == EOF)) { ^ pbm.c:282:12: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ pbm.c:293:23: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newBitImage(width, height); ^ pbm.c:298:20: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((src= zgetc(zf)) == EOF) { ^ pbm.c:300:13: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ pbm.c:318:44: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((numread < numbytes) && ((src= zgetc(zf)) == EOF)) { ^ pbm.c:320:12: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ pbm.c:330:25: warning: passing arguments to 'colorsToDepth' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] depth= colorsToDepth(maxval); ^ pbm.c:332:27: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = newTrueImage(width, height); ^ pbm.c:334:26: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = newRGBImage(width, height, depth); ^ pbm.c:351:16: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread(zf, image->data, size) != size) { ^ pbm.c:353:8: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ pbm.c:354:11: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ pbm.c:368:18: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((src = zgetc(zf)) == EOF) { ^ pbm.c:370:10: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ pbm.c:371:13: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ pbm.c:383:25: warning: passing arguments to 'colorsToDepth' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] depth= colorsToDepth(maxval); ^ pbm.c:385:26: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newTrueImage(width, height); ^ pbm.c:387:25: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newRGBImage(width, height, depth); ^ pbm.c:402:10: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ pbm.c:424:24: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newTrueImage(width, height); ^ pbm.c:426:14: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread(zf, image->data, size) != size) { ^ pbm.c:428:13: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ pbm.c:429:16: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ pbm.c:439:24: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newTrueImage(width, height); ^ pbm.c:448:10: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ pbm.c:457:26: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title= dupString(name); ^ pbm.c:458:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ pbm.c:187:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *pbmLoad(fullname, name, verbose) ^ pbm.c:363:11: warning: unsequenced modification and access to 'destptr' [-Wunsequenced] *(destptr++) = PM_SCALE(*destptr, maxval, 0xff); ^ ~~~~~~~ 66 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c pcx.c pcx.c:56:20: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (zf = zopen ( fullname ))) ^ pcx.c:58:31: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PCXH = (PCXHeader *) lmalloc ( PCXHsize ); ^ pcx.c:59:12: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread ( zf, PCXH, PCXHsize ) == PCXHsize) { ^ pcx.c:77:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose ( zf ); ^ pcx.c:78:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree ( PCXH ); ^ pcx.c:43:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned int pcxIdent ( fullname, name ) ^ pcx.c:120:19: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((b = zgetc(zf)) != EOF) { /* Are we done ? */ ^ pcx.c:123:13: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] b = zgetc ( zf ); /* get real bits */ ^ pcx.c:95:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void PCX_Load_Raster ( zf, image, depth ) ^ pcx.c:185:33: warning: passing arguments to 'lcalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sptr = tptr = (byte *) lcalloc ( by_per_row*8 ); ^ pcx.c:190:19: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((b = zgetc(zf)) != EOF) { ^ pcx.c:193:13: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] b = zgetc ( zf ); ^ pcx.c:165:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void PCX_Planes ( zf, image, bpp, nr_pl ) ^ pcx.c:258:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void PCX_LoadImage ( zf ,image ) ^ pcx.c:310:21: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( ! (zf = zopen ( fullname ))) /* Open input file */ ^ pcx.c:312:31: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PCXH = (PCXHeader *) lmalloc ( PCXHsize ); ^ pcx.c:313:12: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread ( zf, PCXH, PCXHsize ) != PCXHsize) { /* Read header */ ^ pcx.c:314:13: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose ( zf ); ^ pcx.c:318:13: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose ( zf ); /* Is it PCX, Version less 5 ? */ ^ pcx.c:321:10: warning: passing arguments to 'znocache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] znocache(zf); /* don't need caching anymore */ ^ pcx.c:347:26: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = newBitImage ( xmax, ymax ); ^ pcx.c:349:26: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = newRGBImage ( xmax, ymax, 8 ); ^ pcx.c:353:23: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((i = zgetc(zf)) != PCX_MAPSTART); ^ pcx.c:355:34: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmap = (PCXcolor *) lmalloc ( clen ); ^ pcx.c:356:16: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread ( zf, cmap, clen ) != clen) { ^ pcx.c:366:12: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree ( cmap ); ^ pcx.c:376:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose ( zf ); ^ pcx.c:377:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree ( PCXH ); ^ pcx.c:378:26: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title = dupString(name); ^ pcx.c:295:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *pcxLoad ( fullname, name, verbose ) ^ 30 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xwd.c xwd.c:33:12: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread(zf, (byte *)&gh, sizeof(GenericXWDHeader)) != sizeof(GenericXWDHeader)) ^ xwd.c:39:7: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal(gh.file_version, 4) != XWD_VERSION) ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:46:24: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] header->header_size= memToVal(gh.header_size, 4); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:47:25: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] header->file_version= memToVal(gh.file_version, 4); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:48:26: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] header->pixmap_format= memToVal(gh.pixmap_format, 4); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:49:25: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] header->pixmap_depth= memToVal(gh.pixmap_depth, 4); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:50:25: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] header->pixmap_width= memToVal(gh.pixmap_width, 4); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:51:26: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] header->pixmap_height= memToVal(gh.pixmap_height, 4); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:52:20: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] header->xoffset= memToVal(gh.xoffset, 4); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:53:23: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] header->byte_order= memToVal(gh.byte_order, 4); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:54:24: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] header->bitmap_unit= memToVal(gh.bitmap_unit, 4); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:55:29: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] header->bitmap_bit_order= memToVal(gh.bitmap_bit_order, 4); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:56:23: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] header->bitmap_pad= memToVal(gh.bitmap_pad, 4); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:57:27: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] header->bits_per_pixel= memToVal(gh.bits_per_pixel, 4); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:58:27: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] header->bytes_per_line= memToVal(gh.bytes_per_line, 4); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:59:25: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] header->visual_class= memToVal(gh.visual_class, 4); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:64:29: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] header->colormap_entries= memToVal(gh.colormap_entries, 4); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:65:20: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] header->ncolors= memToVal(gh.ncolors, 4); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:79:10: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zgetc(zf); ^ xwd.c:131:11: warning: passing arguments to 'znocache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] znocache(zf); ^ xwd.c:25:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int isXWD(name, zf, header, verbose) ^ xwd.c:141:19: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (zf= zopen(fullname))) ^ xwd.c:144:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ xwd.c:135:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int xwdIdent(fullname, name) ^ xwd.c:165:21: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newBitImage(header.pixmap_width, header.pixmap_height); ^ xwd.c:185:24: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] line= (byte *)lmalloc(dlinelen); ^ xwd.c:188:14: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread(zf, (byte *)line, dlinelen) != dlinelen) { ^ xwd.c:192:12: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(line); ^ xwd.c:199:15: warning: passing arguments to 'flipBits' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flipBits(line, dlinelen); ^ xwd.c:202:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(loader(dptr, unit), iptr, unit); ^ xwd.c:202:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xwd.c:202:7: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(loader(dptr, unit), iptr, unit); ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ xwd.c:210:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(loader(dptr, unit) >> shift, iptr, trailer); ^ xwd.c:210:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xwd.c:210:5: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(loader(dptr, unit) >> shift, iptr, trailer); ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ xwd.c:213:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(line); ^ xwd.c:148:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Image *loadXYBitmap(fullname, zf, header) ^ xwd.c:242:21: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newRGBImage(header.pixmap_width, header.pixmap_height, ^ xwd.c:262:24: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] line= (byte *)lmalloc(dlinelen); ^ xwd.c:269:16: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread(zf, (byte *)line, dlinelen) != dlinelen) { ^ xwd.c:273:7: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(line); ^ xwd.c:281:10: warning: passing arguments to 'flipBits' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flipBits(line, dlinelen); ^ xwd.c:284:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pixvals= loader(dptr, unit); ^ xwd.c:288:15: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(memToVal(iptr + index, image->pixlen) | (1 << plane), ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:288:15: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:288:6: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(memToVal(iptr + index, image->pixlen) | (1 << plane), ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ xwd.c:303:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(line); ^ xwd.c:221:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Image *loadXYPixmap(fullname, zf, header) ^ xwd.c:328:21: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newRGBImage(header.pixmap_width, header.pixmap_height, ^ xwd.c:352:24: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] line= (byte *)lmalloc(dlinelen); ^ xwd.c:355:14: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread(zf, (byte *)line, dlinelen) != dlinelen) { ^ xwd.c:359:12: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(line); ^ xwd.c:366:15: warning: passing arguments to 'flipBits' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flipBits(line, dlinelen); ^ xwd.c:371:9: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pixel= memToVal(dptr, 1); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:373:4: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(pixel & 0xf, iptr++, 1); /* by flipBits */ ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ xwd.c:375:6: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(pixel >> 4, iptr++, 1); ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ xwd.c:378:4: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(pixel >> 4, iptr++, 1); ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ xwd.c:380:6: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(pixel & 0xf, iptr++, 1); ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ xwd.c:385:2: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(pixel, iptr++, 1); ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ xwd.c:390:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(loader(dptr, pixlen) & pixmask, iptr, pixlen); ^ xwd.c:390:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xwd.c:390:2: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(loader(dptr, pixlen) & pixmask, iptr, pixlen); ^ ./image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ xwd.c:403:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(line); ^ xwd.c:312:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Image *loadZPixmap(fullname, zf, header) ^ xwd.c:417:19: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (zf= zopen(fullname))) ^ xwd.c:420:11: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ xwd.c:448:28: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmap= (XWDColor *)lmalloc(cmaplen); ^ xwd.c:449:12: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread(zf, (byte *)cmap, cmaplen) != cmaplen) { ^ xwd.c:474:11: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ xwd.c:475:28: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title= dupString(name); ^ xwd.c:484:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ xwd.c:485:26: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title= dupString(name); ^ xwd.c:494:20: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->rgb.red[memToVal(cmap[a].pixel, 4)]= memToVal(cmap[a].red, 2); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:494:49: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->rgb.red[memToVal(cmap[a].pixel, 4)]= memToVal(cmap[a].red, 2); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:495:22: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->rgb.green[memToVal(cmap[a].pixel, 4)]= memToVal(cmap[a].green, 2); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:495:51: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->rgb.green[memToVal(cmap[a].pixel, 4)]= memToVal(cmap[a].green, 2); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:496:21: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->rgb.blue[memToVal(cmap[a].pixel, 4)]= memToVal(cmap[a].blue, 2); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:496:50: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->rgb.blue[memToVal(cmap[a].pixel, 4)]= memToVal(cmap[a].blue, 2); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ xwd.c:499:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)cmap); ^ xwd.c:407:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *xwdLoad(fullname, name, verbose) ^ 80 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c mac.c mac.c:79:12: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread(ins, (byte *)hp, ADD_HDR_LEN) != ADD_HDR_LEN) ^ mac.c:87:14: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread(ins, (byte *)hp, MAC_HDR_LEN) != MAC_HDR_LEN) ^ mac.c:91:14: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread(ins, (byte *)hp, MAC_HDR_LEN - ADD_HDR_LEN) != MAC_HDR_LEN - ADD_HDR_LEN) ^ mac.c:55:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int macin_open_image(s) ^ In file included from mac.c:25: ./mac.h:35:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int macin_open_image(); ^ mac.c:144:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void tellAboutImage(name) ^ mac.c:162:20: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (zf = zopen(fullname))) ^ mac.c:166:11: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ mac.c:170:22: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = newBitImage(macin_img_width, macin_img_height); ^ mac.c:176:23: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((eof = zgetc(zf)) == -1) break; ^ mac.c:182:21: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((eof = zgetc(zf)) == -1) break; ^ mac.c:191:20: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((eof = zgetc(zf)) == -1) break; ^ mac.c:205:13: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ mac.c:213:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ mac.c:214:27: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title = dupString(name); ^ mac.c:151:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *macLoad(fullname, name, verbose) ^ mac.c:224:20: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (zf = zopen(fullname))) ^ mac.c:232:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ mac.c:218:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int macIdent(fullname, name) ^ 19 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c jpeg.c jpeg.c:70:11: warning: passing arguments to 'jselerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jselerror(&e_methods); /* error/trace message routines */ ^ jpeg.c:71:13: warning: passing arguments to 'jselvirtmem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jselvirtmem(&e_methods); /* memory allocation routines */ ^ jpeg.c:77:26: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cinfo.input_file = zopen(fullname); ^ jpeg.c:83:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ((size_t) (JPEG_BUF_SIZE + MIN_UNGET)); ^ jpeg.c:97:11: warning: passing arguments to 'jselrjfif' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jselrjfif(&cinfo); ^ jpeg.c:102:22: warning: passing arguments to 'jpeg_decompress' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (jpeg_decompress(&cinfo, TRUE)) ^ jpeg.c:104:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(cinfo.input_file); ^ jpeg.c:108:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo.emethods->free_small) ((void *) cinfo.input_buffer); ^ jpeg.c:59:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int jpegIdent(fullname, name) ^ jpeg.c:125:11: warning: passing arguments to 'jselerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jselerror(&e_methods); /* error/trace message routines */ ^ jpeg.c:126:13: warning: passing arguments to 'jselvirtmem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jselvirtmem(&e_methods); /* memory allocation routines */ ^ jpeg.c:133:26: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cinfo.input_file = zopen(fullname); ^ jpeg.c:140:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ((size_t) (JPEG_BUF_SIZE + MIN_UNGET)); ^ jpeg.c:153:11: warning: passing arguments to 'jselrjfif' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jselrjfif(&cinfo); ^ jpeg.c:158:18: warning: passing arguments to 'jpeg_decompress' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jpeg_decompress(&cinfo, FALSE); ^ jpeg.c:161:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(cinfo.input_file); ^ jpeg.c:165:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo.emethods->free_small) ((void *) cinfo.input_buffer); ^ jpeg.c:114:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *jpegLoad(fullname,name,verbose) ^ jpeg.c:183:29: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cinfo->image = newRGBImage(cinfo->image_width,cinfo->image_height,8); ^ jpeg.c:184:34: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cinfo->image->title = dupString(cinfo->filename); ^ jpeg.c:196:30: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cinfo->image = newTrueImage(cinfo->image_width,cinfo->image_height); ^ jpeg.c:197:34: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cinfo->image->title = dupString(cinfo->filename); ^ jpeg.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] output_init (cinfo) ^ jpeg.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_pixel_rows (cinfo, num_rows, pixel_data) ^ jpeg.c:262:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(cinfo->input_file); ^ jpeg.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] output_term (cinfo) ^ jpeg.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jselwxli (cinfo) ^ In file included from jpeg.c:55: ./jpeg.h:726:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] EXTERN void jselwxli PP((decompress_info_ptr cinfo)); /* jwrxli.c */ ^ jpeg.c:302:33: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cinfo->bytes_in_buffer = zread(cinfo->input_file, ^ jpeg.c:311:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_jpeg_data (cinfo) ^ jpeg.c:57:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] METHODDEF int read_jpeg_data (); ^ jpeg.c:326:11: warning: passing arguments to 'jseldmcu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jseldmcu(cinfo); ^ jpeg.c:328:18: warning: passing arguments to 'jselunsubsample' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jselunsubsample(cinfo); ^ jpeg.c:321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d_per_scan_method_selection (cinfo) ^ jpeg.c:345:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Arithmetic coding not supported"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:348:15: warning: passing arguments to 'jseldhuffman' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jseldhuffman(cinfo); ^ jpeg.c:351:14: warning: passing arguments to 'jselbsmooth' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jselbsmooth(cinfo); ^ jpeg.c:356:13: warning: passing arguments to 'jseldcolor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jseldcolor(cinfo); ^ jpeg.c:359:16: warning: passing arguments to 'jseldpipeline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jseldpipeline(cinfo); ^ jpeg.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d_initial_method_selection (cinfo) ^ jpeg.c:380:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Bogus sampling factors"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] initial_setup (cinfo) ^ jpeg.c:431:46: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! ((*cinfo->methods->read_file_header) (cinfo))) ^ jpeg.c:434:46: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! ((*cinfo->methods->read_scan_header) (cinfo))) ^ jpeg.c:477:44: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->d_ui_method_selection) (cinfo); ^ jpeg.c:485:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->output_init) (cinfo); ^ jpeg.c:486:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->colorout_init) (cinfo); ^ jpeg.c:489:44: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->d_pipeline_controller) (cinfo); ^ jpeg.c:492:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->colorout_term) (cinfo); ^ jpeg.c:493:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->output_term) (cinfo); ^ jpeg.c:494:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->read_file_trailer) (cinfo); ^ jpeg.c:501:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE(cinfo->comp_info); ^ jpeg.c:498:35: note: expanded from macro 'FREE' (*cinfo->emethods->free_small) ((void *) ptr) ^ jpeg.c:503:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE(cinfo->quant_tbl_ptrs[i]); ^ jpeg.c:498:35: note: expanded from macro 'FREE' (*cinfo->emethods->free_small) ((void *) ptr) ^ jpeg.c:505:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE(cinfo->dc_huff_tbl_ptrs[i]); ^ jpeg.c:498:35: note: expanded from macro 'FREE' (*cinfo->emethods->free_small) ((void *) ptr) ^ jpeg.c:506:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FREE(cinfo->ac_huff_tbl_ptrs[i]); ^ jpeg.c:498:35: note: expanded from macro 'FREE' (*cinfo->emethods->free_small) ((void *) ptr) ^ jpeg.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jpeg_decompress (cinfo, identify) ^ In file included from jpeg.c:55: ./jpeg.h:688:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] EXTERN boolean jpeg_decompress PP((decompress_info_ptr cinfo)); ^ jpeg.c:588:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] a = JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:589:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (a << 8) + JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_2bytes (cinfo) ^ jpeg.c:602:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS2(cinfo->emethods, 1, ^ ./jpeg.h:529:31: note: expanded from macro 'TRACEMS2' (*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:606:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] skip_variable (cinfo, code) ^ jpeg.c:624:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] index = JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:626:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS1(cinfo->emethods, 1, "Define Huffman Table 0x%02x", index); ^ ./jpeg.h:524:31: note: expanded from macro 'TRACEMS1' (*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:631:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bits[i] = JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:635:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS8(cinfo->emethods, 2, " %3d %3d %3d %3d %3d %3d %3d %3d", ^ ./jpeg.h:553:31: note: expanded from macro 'TRACEMS8' (*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:638:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS8(cinfo->emethods, 2, " %3d %3d %3d %3d %3d %3d %3d %3d", ^ ./jpeg.h:553:31: note: expanded from macro 'TRACEMS8' (*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:643:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Bogus DHT counts"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:646:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] huffval[i] = JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:658:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT1(cinfo->emethods, "Bogus DHT index %d", index); ^ ./jpeg.h:504:30: note: expanded from macro 'ERREXIT1' (*(emeth)->error_exit) (msg)) ^ jpeg.c:661:62: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *htblptr = (HUFF_TBL *)(*cinfo->emethods->alloc_small) (SIZEOF(HUFF_TBL)); ^ jpeg.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_dht (cinfo) ^ jpeg.c:682:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] index = JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:683:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] val = JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:685:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS2(cinfo->emethods, 1, ^ ./jpeg.h:529:31: note: expanded from macro 'TRACEMS2' (*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:689:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT1(cinfo->emethods, "Bogus DAC index %d", index); ^ ./jpeg.h:504:30: note: expanded from macro 'ERREXIT1' (*(emeth)->error_exit) (msg)) ^ jpeg.c:697:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT1(cinfo->emethods, "Bogus DAC value 0x%x", val); ^ ./jpeg.h:504:30: note: expanded from macro 'ERREXIT1' (*(emeth)->error_exit) (msg)) ^ jpeg.c:672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_dac (cinfo) ^ jpeg.c:718:9: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n = JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:722:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS2(cinfo->emethods, 1, ^ ./jpeg.h:529:31: note: expanded from macro 'TRACEMS2' (*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:726:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT1(cinfo->emethods, "Bogus table number %d", n); ^ ./jpeg.h:504:30: note: expanded from macro 'ERREXIT1' (*(emeth)->error_exit) (msg)) ^ jpeg.c:729:81: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cinfo->quant_tbl_ptrs[n] = (QUANT_TBL_PTR)(*cinfo->emethods->alloc_small) (SIZEOF(QUANT_TBL)); ^ jpeg.c:733:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:735:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = (tmp<<8) + JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:740:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS8(cinfo->emethods, 2, " %4d %4d %4d %4d %4d %4d %4d %4d", ^ ./jpeg.h:553:31: note: expanded from macro 'TRACEMS8' (*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_dqt (cinfo) ^ jpeg.c:757:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Bogus length in DRI"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:761:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS1(cinfo->emethods, 1, ^ ./jpeg.h:524:31: note: expanded from macro 'TRACEMS1' (*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_dri (cinfo) ^ jpeg.c:782:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] b[buffp] = JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:789:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT2(cinfo->emethods, "Unsupported JFIF revision number %d.%02d", ^ ./jpeg.h:507:30: note: expanded from macro 'ERREXIT2' (*(emeth)->error_exit) (msg)) ^ jpeg.c:793:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS2(cinfo->emethods, 0, "Warning: unknown JFIF revision number %d.%02d", ^ ./jpeg.h:529:31: note: expanded from macro 'TRACEMS2' (*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:802:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS3(cinfo->emethods, 1, "JFIF APP0 marker, density %dx%d %d", ^ ./jpeg.h:535:31: note: expanded from macro 'TRACEMS3' (*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:805:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS(cinfo->emethods, 1, "Unknown APP0 marker (not JFIF)"); ^ ./jpeg.h:520:31: note: expanded from macro 'TRACEMS' ((*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:808:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS1(cinfo->emethods, 1, ^ ./jpeg.h:524:31: note: expanded from macro 'TRACEMS1' (*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:813:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_app0 (cinfo) ^ jpeg.c:830:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cinfo->data_precision = JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:833:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cinfo->num_components = JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:835:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS4(cinfo->emethods, 1, ^ ./jpeg.h:542:31: note: expanded from macro 'TRACEMS4' (*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:845:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Empty JPEG image (DNL not supported)"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:849:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Unsupported JPEG data precision"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:861:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Bogus SOF length"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:864:4: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (cinfo->num_components * SIZEOF(jpeg_component_info))); ^ jpeg.c:869:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compptr->component_id = JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:870:9: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:873:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compptr->quant_tbl_no = JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:875:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS4(cinfo->emethods, 1, " Component %d: %dhx%dv q=%d", ^ ./jpeg.h:542:31: note: expanded from macro 'TRACEMS4' (*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_sof (cinfo, code) ^ jpeg.c:893:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n = JGETC(cinfo); /* Number of components */ ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:898:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Bogus SOS length"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:900:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS1(cinfo->emethods, 1, "Start Of Scan: %d components", n); ^ ./jpeg.h:524:31: note: expanded from macro 'TRACEMS1' (*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:903:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cc = JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:904:9: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:912:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Invalid component number in SOS"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:919:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS3(cinfo->emethods, 1, " c%d: [dc=%d ac=%d]", cc, ^ ./jpeg.h:535:31: note: expanded from macro 'TRACEMS3' (*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:924:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_sos (cinfo) ^ jpeg.c:937:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS(cinfo->emethods, 1, "Start of Image"); ^ ./jpeg.h:520:31: note: expanded from macro 'TRACEMS' ((*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_soi (cinfo) ^ jpeg.c:969:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:973:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:978:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS2(cinfo->emethods, 1, "Skipped %d bytes before marker 0x%02x", ^ ./jpeg.h:529:31: note: expanded from macro 'TRACEMS2' (*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next_marker (cinfo) ^ jpeg.c:1047:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS1(cinfo->emethods, 1, "Unexpected marker 0x%02x", c); ^ ./jpeg.h:524:31: note: expanded from macro 'TRACEMS1' (*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:986:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_tables (cinfo) ^ jpeg.c:1118:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS3(cinfo->emethods, 0, ^ ./jpeg.h:535:31: note: expanded from macro 'TRACEMS3' (*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:1065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_file_header (cinfo) ^ jpeg.c:1158:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS(cinfo->emethods, 1, "End Of Image"); ^ ./jpeg.h:520:31: note: expanded from macro 'TRACEMS' ((*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:1164:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT1(cinfo->emethods, "Unexpected marker 0x%02x", c); ^ ./jpeg.h:504:30: note: expanded from macro 'ERREXIT1' (*(emeth)->error_exit) (msg)) ^ jpeg.c:1144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_scan_header (cinfo) ^ jpeg.c:1177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_scan_trailer (cinfo) ^ jpeg.c:1189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_file_trailer (cinfo) ^ jpeg.c:1205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jselrjfif (cinfo) ^ In file included from jpeg.c:55: ./jpeg.h:723:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] EXTERN void jselrjfif PP((decompress_info_ptr cinfo)); /* jrdjfif.c */ ^ jpeg.c:1279:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Too many components for interleaved scan"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:1305:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "I'm confused about the image width"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:1309:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Sampling factors too large for interleaved scan"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:1315:50: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->d_per_scan_method_selection) (cinfo); ^ jpeg.c:1270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] interleaved_scan_setup (cinfo) ^ jpeg.c:1344:50: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->d_per_scan_method_selection) (cinfo); ^ jpeg.c:1320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] noninterleaved_scan_setup (cinfo) ^ jpeg.c:1387:11: warning: passing arguments to 'j_rev_dct' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j_rev_dct(block); /* perform inverse DCT */ ^ jpeg.c:1349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reverse_DCT (cinfo, coeff_data, output_data, start_row) ^ jpeg.c:1430:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (num_comps * SIZEOF(JSAMPARRAY)); ^ jpeg.c:1432:56: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image[ci] = (*cinfo->emethods->alloc_small_sarray) (num_cols, num_rows); ^ jpeg.c:1419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_sampimage (cinfo, num_comps, num_rows, num_cols) ^ jpeg.c:1449:45: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->emethods->free_small_sarray) (image[ci], num_rows); ^ jpeg.c:1451:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->emethods->free_small) ((void *) image); ^ jpeg.c:1439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_sampimage (cinfo, image, num_comps, num_rows) ^ jpeg.c:1464:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (cinfo->comps_in_scan * SIZEOF(JBLOCKARRAY)); ^ jpeg.c:1467:4: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (cinfo->cur_comp_info[ci]->subsampled_width / DCTSIZE, ^ jpeg.c:1456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_MCU_row (cinfo) ^ jpeg.c:1484:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (image[ci], (long) cinfo->cur_comp_info[ci]->MCU_height); ^ jpeg.c:1486:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->emethods->free_small) ((void *) image); ^ jpeg.c:1475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_MCU_row (cinfo, image) ^ jpeg.c:1501:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (cinfo->comps_in_scan * SIZEOF(JSAMPARRAY)); ^ jpeg.c:1503:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (cinfo->comps_in_scan * SIZEOF(JSAMPARRAY)); ^ jpeg.c:1509:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (cinfo->cur_comp_info[ci]->subsampled_width, ^ jpeg.c:1513:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (vs * (DCTSIZE+2) * SIZEOF(JSAMPROW)); ^ jpeg.c:1491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_sampling_buffer (cinfo, subsampled_data) ^ jpeg.c:1539:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (subsampled_data[0][ci], (long) (vs * (DCTSIZE+2))); ^ jpeg.c:1541:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->emethods->free_small) ((void *) subsampled_data[1][ci]); ^ jpeg.c:1545:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->emethods->free_small) ((void *) subsampled_data[0]); ^ jpeg.c:1546:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->emethods->free_small) ((void *) subsampled_data[1]); ^ jpeg.c:1528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_sampling_buffer (cinfo, subsampled_data) ^ jpeg.c:1563:22: warning: passing arguments to 'jcopy_sample_rows' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcopy_sample_rows(image_data, source_row, image_data, source_row + row, ^ jpeg.c:1551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] duplicate_row (image_data, num_cols, source_row, num_rows) ^ jpeg.c:1613:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (cinfo, (int) ci, ^ jpeg.c:1570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jexpand (cinfo, subsampled_data, fullsize_data, fullsize_width, above, current, below, out) ^ jpeg.c:1632:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->color_convert) (cinfo, num_rows, ^ jpeg.c:1635:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->put_pixel_rows) (cinfo, num_rows, ^ jpeg.c:1624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emit_1pass (cinfo, num_rows, fullsize_data, color_data) ^ jpeg.c:1670:46: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->smooth_coefficients) (cinfo, compptr, ^ jpeg.c:1677:46: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->smooth_coefficients) (cinfo, compptr, ^ jpeg.c:1681:46: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->smooth_coefficients) (cinfo, compptr, ^ jpeg.c:1647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] smooth_mcu_row (cinfo, above, input, below, output) ^ jpeg.c:1704:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->disassemble_MCU) (cinfo, bsmooth[0]); ^ jpeg.c:1706:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->disassemble_MCU) (cinfo, bsmooth[1]); ^ jpeg.c:1730:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->disassemble_MCU) (cinfo, bsmooth[next]); ^ jpeg.c:1689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_smoothed_row (cinfo, coeff_data, bsmooth, whichb, cur_mcu_row) ^ jpeg.c:1809:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ((long) 0, /* no more small sarrays */ ^ jpeg.c:1815:43: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->entropy_decoder_init) (cinfo); ^ jpeg.c:1816:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->unsubsample_init) (cinfo); ^ jpeg.c:1817:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->disassemble_init) (cinfo); ^ jpeg.c:1843:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->disassemble_MCU) (cinfo, coeff_data); ^ jpeg.c:1895:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->disassemble_term) (cinfo); ^ jpeg.c:1896:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->unsubsample_term) (cinfo); ^ jpeg.c:1897:43: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->entropy_decoder_term) (cinfo); ^ jpeg.c:1898:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->read_scan_trailer) (cinfo); ^ jpeg.c:1901:43: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((*cinfo->methods->read_scan_header) (cinfo)) ^ jpeg.c:1902:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Didn't expect more than one scan"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:1744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] single_dcontroller (cinfo) ^ jpeg.c:1977:4: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (cinfo->num_components * SIZEOF(big_sarray_ptr)); ^ jpeg.c:1980:4: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (fullsize_width, ^ jpeg.c:1986:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (cinfo->num_components * SIZEOF(JSAMPARRAY)); ^ jpeg.c:1991:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ((long) (fullsize_width /* max width in samples */ ^ jpeg.c:2035:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (fullsize_image[cinfo->cur_comp_info[ci]->component_index], ^ jpeg.c:2041:45: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->entropy_decoder_init) (cinfo); ^ jpeg.c:2042:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->unsubsample_init) (cinfo); ^ jpeg.c:2043:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->disassemble_init) (cinfo); ^ jpeg.c:2069:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->disassemble_MCU) (cinfo, coeff_data); ^ jpeg.c:2094:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (fullsize_image[cinfo->cur_comp_info[ci]->component_index], ^ jpeg.c:2122:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->disassemble_term) (cinfo); ^ jpeg.c:2123:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->unsubsample_term) (cinfo); ^ jpeg.c:2124:45: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->entropy_decoder_term) (cinfo); ^ jpeg.c:2125:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->read_scan_trailer) (cinfo); ^ jpeg.c:2139:48: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } while ((*cinfo->methods->read_scan_header) (cinfo)); ^ jpeg.c:2149:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (fullsize_image[ci], pixel_rows_output, FALSE); ^ jpeg.c:2161:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->emethods->free_big_sarray) (fullsize_image[ci]); ^ jpeg.c:2163:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->emethods->free_small) ((void *) fullsize_image); ^ jpeg.c:2164:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->emethods->free_small) ((void *) fullsize_ptrs); ^ jpeg.c:1940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] multi_dcontroller (cinfo) ^ jpeg.c:2196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jseldpipeline (cinfo) ^ In file included from jpeg.c:55: ./jpeg.h:715:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] EXTERN void jseldpipeline PP((decompress_info_ptr cinfo)); /* jdpipe.c */ ^ jpeg.c:2224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] smooth_coefficients (cinfo, compptr, above, currow, below, output) ^ jpeg.c:2317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jselbsmooth (cinfo) ^ In file included from jpeg.c:55: ./jpeg.h:719:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] EXTERN void jselbsmooth PP((decompress_info_ptr cinfo)); /* jbsmooth.c */ ^ jpeg.c:2380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fix_huff_tbl (htbl) ^ jpeg.c:2448:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int c = JGETC(dcinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:2454:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = JGETC(dcinfo); /* Byte stuffing */ ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:2456:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT1(dcinfo->emethods, ^ ./jpeg.h:504:30: note: expanded from macro 'ERREXIT1' (*(emeth)->error_exit) (msg)) ^ jpeg.c:2442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_bits (nbits) ^ jpeg.c:2476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] huff_DECODE (htbl) ^ jpeg.c:2506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] decode_one_block (block, dctbl, actbl) ^ jpeg.c:2572:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Use of undefined Huffman table"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:2557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] huff_decoder_init (cinfo) ^ jpeg.c:2606:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:2610:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = JGETC(cinfo); ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' (*(cinfo)->methods->read_jpeg_data) (cinfo) : \ ^ jpeg.c:2615:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT2(cinfo->emethods, "Found 0x%02x marker instead of RST%d", ^ ./jpeg.h:507:30: note: expanded from macro 'ERREXIT2' (*(emeth)->error_exit) (msg)) ^ jpeg.c:2619:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS2(cinfo->emethods, 1, "Skipped %d bytes before RST%d", ^ ./jpeg.h:529:31: note: expanded from macro 'TRACEMS2' (*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:2622:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TRACEMS1(cinfo->emethods, 2, "RST%d", cinfo->next_restart_num); ^ ./jpeg.h:524:31: note: expanded from macro 'TRACEMS1' (*(emeth)->trace_message) (msg), 0) : 0) ^ jpeg.c:2592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_restart (cinfo) ^ jpeg.c:2640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] huff_decode (cinfo, MCU_data) ^ jpeg.c:2671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] huff_decoder_term (cinfo) ^ jpeg.c:2683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jseldhuffman (cinfo) ^ In file included from jpeg.c:55: ./jpeg.h:716:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] EXTERN void jseldhuffman PP((decompress_info_ptr cinfo)); /* jdhuff.c */ ^ jpeg.c:2706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] colorout_init (cinfo) ^ jpeg.c:2721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ycc_rgb_convert (cinfo, num_rows, input_data, output_data) ^ jpeg.c:2777:22: warning: passing arguments to 'jcopy_sample_rows' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcopy_sample_rows(input_data[ci], 0, output_data[ci], 0, ^ jpeg.c:2770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] null_convert (cinfo, num_rows, input_data, output_data) ^ jpeg.c:2794:20: warning: passing arguments to 'jcopy_sample_rows' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcopy_sample_rows(input_data[0], 0, output_data[0], 0, ^ jpeg.c:2790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] grayscale_convert (cinfo, num_rows, input_data, output_data) ^ jpeg.c:2804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] colorout_term (cinfo) ^ jpeg.c:2823:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Bogus JPEG colorspace"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:2830:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Bogus JPEG colorspace"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:2835:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Bogus JPEG colorspace"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:2839:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Unsupported JPEG colorspace"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:2852:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Unsupported color conversion request"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:2862:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Unsupported color conversion request"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:2870:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Unsupported color conversion request"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:2874:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Unsupported output colorspace"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:2816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jseldcolor (cinfo) ^ In file included from jpeg.c:55: ./jpeg.h:721:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] EXTERN void jseldcolor PP((decompress_info_ptr cinfo)); /* jdcolor.c */ ^ jpeg.c:2911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] qdescale_zig (input, outputptr, quanttbl) ^ jpeg.c:2945:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->entropy_decode) (cinfo, MCU_data); ^ jpeg.c:2931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disassemble_noninterleaved_MCU (cinfo, image_data) ^ jpeg.c:2971:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*cinfo->methods->entropy_decode) (cinfo, MCU_data); ^ jpeg.c:2958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disassemble_interleaved_MCU (cinfo, image_data) ^ jpeg.c:2995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disassemble_init (cinfo) ^ jpeg.c:3007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disassemble_term (cinfo) ^ jpeg.c:3020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jseldmcu (cinfo) ^ In file included from jpeg.c:55: ./jpeg.h:718:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] EXTERN void jseldmcu PP((decompress_info_ptr cinfo)); /* jdmcu.c */ ^ jpeg.c:3044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsubsample_init (cinfo) ^ jpeg.c:3077:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Bogus unsubsample parameters"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:3057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsubsample (cinfo, which_component, input_cols, input_rows, output_cols, output_rows, above, input_data, below, output_data) ^ jpeg.c:3112:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Pipeline controller messed up"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:3114:20: warning: passing arguments to 'jcopy_sample_rows' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcopy_sample_rows(input_data, 0, output_data, 0, output_rows, output_cols); ^ jpeg.c:3104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fullsize_unsubsample (cinfo, which_component, input_cols, input_rows, output_cols, output_rows, above, input_data, below, output_data) ^ jpeg.c:3124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsubsample_term (cinfo) ^ jpeg.c:3145:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "CCIR601 subsampling not implemented yet"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:3156:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(cinfo->emethods, "Fractional subsampling not implemented yet"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:3138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jselunsubsample (cinfo) ^ In file included from jpeg.c:55: ./jpeg.h:720:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] EXTERN void jselunsubsample PP((decompress_info_ptr cinfo)); /* jdsample.c */ ^ jpeg.c:3252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fast_idct_8 (in, stride) ^ jpeg.c:3316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] j_rev_dct (data) ^ In file included from jpeg.c:55: ./jpeg.h:693:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] EXTERN void j_rev_dct PP((DCTBLOCK data)); ^ jpeg.c:3336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jcopy_sample_rows (input_array, source_row, output_array, dest_row, num_rows, num_cols) ^ In file included from jpeg.c:55: ./jpeg.h:696:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] EXTERN void jcopy_sample_rows PP((JSAMPARRAY input_array, int source_row, ^ jpeg.c:3390:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT1(methods, "Insufficient memory (case %d)", which); ^ ./jpeg.h:504:30: note: expanded from macro 'ERREXIT1' (*(emeth)->error_exit) (msg)) ^ jpeg.c:3386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] out_of_memory (which) ^ jpeg.c:3402:19: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = lmalloc(sizeofobject); ^ jpeg.c:3396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_small (sizeofobject) ^ jpeg.c:3414:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(ptr); ^ jpeg.c:3410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_small (ptr) ^ jpeg.c:3431:35: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result[i] = (JSAMPROW) lmalloc((size_t) (samplesperrow * SIZEOF(JSAMPLE))); ^ jpeg.c:3419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_small_sarray (samplesperrow, numrows) ^ jpeg.c:3449:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((void *) ptr[i]); ^ jpeg.c:3441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_small_sarray (ptr, numrows) ^ jpeg.c:3470:36: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result[i] = (JBLOCKROW) lmalloc((size_t) (blocksperrow * SIZEOF(JBLOCK))); ^ jpeg.c:3458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_small_barray (blocksperrow, numrows) ^ jpeg.c:3488:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((void *) ptr[i]); ^ jpeg.c:3480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_small_barray (ptr, numrows) ^ jpeg.c:3528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] request_big_sarray (samplesperrow, numrows, unitheight) ^ jpeg.c:3551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] request_big_barray (blocksperrow, numrows, unitheight) ^ jpeg.c:3574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_big_arrays (extra_small_samples, extra_small_blocks, extra_medium_space) ^ jpeg.c:3614:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(methods, "Bogus access_big_sarray request"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:3603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] access_big_sarray (ptr, start_row, writable) ^ jpeg.c:3632:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ERREXIT(methods, "Bogus access_big_barray request"); ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' #define ERREXIT(emeth,msg) ((*(emeth)->error_exit) (msg)) ^ jpeg.c:3621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] access_big_barray (ptr, start_row, writable) ^ jpeg.c:3639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_big_sarray (ptr) ^ jpeg.c:3649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_big_barray (ptr) ^ jpeg.c:3666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jselvirtmem (emethods) ^ In file included from jpeg.c:55: ./jpeg.h:730:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] EXTERN void jselvirtmem PP((external_methods_ptr emethods)); /* jvirtmem.c */ ^ jpeg.c:3697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trace_message (msgtext) ^ jpeg.c:3710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error_exit (msgtext) ^ jpeg.c:3725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jselerror (emethods) ^ In file included from jpeg.c:55: ./jpeg.h:729:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] EXTERN void jselerror PP((external_methods_ptr emethods)); /* jerror.c */ ^ 310 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c g3.c g3.c:74:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void g3_addtohash(hash, te, n, a, b) ^ g3.c:104:17: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shdata = zgetc(fd); ^ g3.c:97:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int g3_rawgetbit(fd) ^ g3.c:132:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int g3_bitson(b, c, n) ^ g3.c:155:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tableentry *g3_hashfind(hash, length, code, a, b) ^ g3.c:178:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int g3_getfaxrow(fd, bitrow) ^ g3.c:295:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int g3_skiptoeol(fd) ^ g3.c:327:31: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpline = (byte *) lmalloc(maxlinelen); ^ g3.c:382:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(tmpline); ^ g3.c:316:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int g3_ident(fd) ^ g3.c:398:17: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((fd = zopen(fullname)) == NULL) ^ g3.c:424:12: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(fd); ^ g3.c:429:21: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = newBitImage(MAXCOLS, MAXROWS); ^ g3.c:437:14: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ g3.c:438:11: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(fd); ^ g3.c:455:8: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(fd); ^ g3.c:456:25: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title= dupString(name); ^ g3.c:460:12: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ g3.c:387:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *g3Load(fullname, name, verbose) ^ g3.c:480:12: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ g3.c:473:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int g3Ident(fullname, name) ^ 21 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c path.c path.c:96:31: warning: passing arguments to 'expandPath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Paths[NumPaths++]= expandPath(buf); ^ path.c:105:28: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Exts[NumExts++]= dupString(buf); ^ path.c:43:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void readPathsAndExts(name) ^ path.c:144:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int fileIsOk(fullname, sbuf) ^ path.c:157:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int findImage(name, fullname) ^ In file included from path.c:12: ./xloadimage.h:80:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int findImage(); ^ path.c:226:9: warning: call to undeclared function 'system'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (system(buf) < 0) { ^ path.c:274:26: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strcat(buf1, getenv("HOME")); ^ path.c:282:21: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strcat(buf1, getenv(buf2)); ^ path.c:309:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ptr = (char *)lmalloc((unsigned) b2+1); ^ path.c:255:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *expandPath(p) ^ In file included from path.c:12: ./xloadimage.h:79:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *expandPath(); /* path.c */ ^ 12 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c sunraster.c sunraster.c:23:11: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch (memToVal(header->type, 4)) { ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ sunraster.c:46:4: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] memToVal(header->width, 4), memToVal(header->height, 4)); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ sunraster.c:46:32: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] memToVal(header->width, 4), memToVal(header->height, 4)); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ sunraster.c:48:11: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch (memToVal(header->depth, 4)) { ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ sunraster.c:54:5: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] memToVal(header->maplen, 4) > 0 ? "color" : "greyscale"); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ sunraster.c:18:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void babble(name, header) ^ sunraster.c:76:19: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (zf= zopen(fullname))) { ^ sunraster.c:80:16: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch (zread(zf, (byte *)&header, sizeof(struct rheader))) { ^ sunraster.c:87:9: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal(header.magic, 4) != RMAGICNUMBER) { ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ sunraster.c:99:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ sunraster.c:70:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int sunRasterIdent(fullname, name) ^ sunraster.c:123:11: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread(zf, &repchar, 1) != 1) { ^ sunraster.c:128:13: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread(zf, &remaining, 1) != 1) { ^ sunraster.c:135:15: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread(zf, &repchar, 1) != 1) { ^ sunraster.c:151:14: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread(zf, buf, len) < len) { ^ sunraster.c:106:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void sunread(zf, buf, len, enc) ^ sunraster.c:175:19: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (zf= zopen(fullname))) { ^ sunraster.c:179:16: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch (zread(zf, (byte *)&header, sizeof(struct rheader))) { ^ sunraster.c:182:11: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ sunraster.c:186:9: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal(header.magic, 4) != RMAGICNUMBER) { ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ sunraster.c:187:13: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ sunraster.c:195:11: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ sunraster.c:199:11: warning: passing arguments to 'znocache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] znocache(zf); /* turn off caching; we don't need it anymore */ ^ sunraster.c:204:10: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] depth= memToVal(header.depth, 4); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ sunraster.c:207:24: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newBitImage(memToVal(header.width, 4), ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ sunraster.c:208:10: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] memToVal(header.height, 4)); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ sunraster.c:207:23: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newBitImage(memToVal(header.width, 4), ^ sunraster.c:211:24: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newRGBImage(memToVal(header.width, 4), ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ sunraster.c:212:10: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] memToVal(header.height, 4), ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ sunraster.c:213:10: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] memToVal(header.depth, 4)); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ sunraster.c:211:23: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newRGBImage(memToVal(header.width, 4), ^ sunraster.c:217:25: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newTrueImage(memToVal(header.width, 4), ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ sunraster.c:218:10: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] memToVal(header.height, 4), ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ sunraster.c:219:10: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] memToVal(header.depth, 4)); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ sunraster.c:217:24: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newTrueImage(memToVal(header.width, 4), ^ sunraster.c:237:18: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((mapsize = memToVal(header.maplen, 4))) { ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ sunraster.c:238:17: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] map= lmalloc(mapsize); ^ sunraster.c:239:14: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread(zf, map, mapsize) < mapsize) { ^ sunraster.c:248:15: warning: passing arguments to 'newRGBMapData' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newRGBMapData(&image->rgb, mapsize); ^ sunraster.c:254:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(map); ^ sunraster.c:263:17: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] map= lmalloc(mapsize); ^ sunraster.c:272:15: warning: passing arguments to 'newRGBMapData' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newRGBMapData(&image->rgb, mapsize); ^ sunraster.c:278:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(map); ^ sunraster.c:285:9: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] enc= (memToVal(header.type, 4) == RRLENCODED); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ sunraster.c:295:17: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buf= lmalloc(image->width * (depth == 24 ? 3 : 4)); ^ sunraster.c:318:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(buf); ^ sunraster.c:328:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ sunraster.c:329:26: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title= dupString(name); ^ sunraster.c:158:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *sunRasterLoad(fullname, name, verbose) ^ 49 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c mcidas.c mcidas.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vhtonl(lend) ^ mcidas.c:41:19: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (zf= zopen(fullname))) { ^ mcidas.c:45:16: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch (zread(zf, (byte *)&dir, sizeof(struct area_dir))) { ^ mcidas.c:63:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ mcidas.c:35:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int mcidasIdent(fullname, name) ^ mcidas.c:78:19: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (zf= zopen(fullname))) { ^ mcidas.c:82:16: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch (zread(zf, (byte *)&dir, sizeof(struct area_dir))) { ^ mcidas.c:85:11: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ mcidas.c:91:15: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ mcidas.c:100:11: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ mcidas.c:116:13: warning: passing arguments to 'mc_sensor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mc_sensor(dir.satid), ^ mcidas.c:123:11: warning: passing arguments to 'znocache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] znocache(zf); ^ mcidas.c:125:12: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if( zread(zf, (byte *)&nav, sizeof(struct navigation)) != ^ mcidas.c:127:13: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ mcidas.c:134:22: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newRGBImage(dir.esiz, ^ mcidas.c:148:8: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zread(zf, image->data, dir.esiz * dir.lsiz) ; ^ mcidas.c:150:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ mcidas.c:151:26: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title= dupString(name); ^ mcidas.c:68:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *mcidasLoad(fullname, name, verbose) ^ 19 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c fbm.c fbm.c:123:12: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread(ins, (byte *)hp, sizeof(phdr)) != sizeof(phdr)) ^ fbm.c:108:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int fbmin_open_image(s) ^ fbm.c:188:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void tellAboutImage(name) ^ fbm.c:205:19: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (zf= zopen(fullname))) ^ fbm.c:209:11: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ fbm.c:214:11: warning: passing arguments to 'znocache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] znocache(zf); ^ fbm.c:216:22: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = newRGBImage(fbmin_img_width, fbmin_img_height, fbmin_img_bits); ^ fbm.c:221:35: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cm = (unsigned char *) lmalloc(fbmin_img_clrlen); ^ fbm.c:223:14: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread(ins, cm, fbmin_img_clrlen) != fbmin_img_clrlen) { ^ fbm.c:250:16: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (zread(ins, pixptr, rowlen) != rowlen) { ^ fbm.c:258:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(cm); ^ fbm.c:261:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ fbm.c:262:26: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title= dupString(name); ^ fbm.c:195:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *fbmLoad(fullname, name, verbose) ^ fbm.c:272:19: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (zf= zopen(fullname))) ^ fbm.c:280:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ fbm.c:266:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int fbmIdent(fullname, name) ^ 17 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c faces.c faces.c:68:13: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c= zgetc(zf); ^ faces.c:59:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int nextInt(zf, len) ^ faces.c:87:34: warning: parameter 'verbose' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Image *facesLoad(fullname, name, verbose) ^ faces.c:103:19: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (zf= zopen(fullname))) ^ faces.c:108:15: warning: passing arguments to 'zgets' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (zgets((byte *)buf, BUFSIZ - 1, zf)) { ^ faces.c:130:11: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ faces.c:133:11: warning: passing arguments to 'znocache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] znocache(zf); ^ faces.c:139:21: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newRGBImage(w, h, d); ^ faces.c:143:26: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title= dupString(fname); ^ faces.c:169:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ faces.c:87:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *facesLoad(fullname, name, verbose) ^ faces.c:178:14: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ faces.c:173:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int facesIdent(fullname, name) ^ 13 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c cmuwmraster.c cmuwmraster.c:25:11: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (int) memToVal(headerp->width, sizeof(long)), ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ cmuwmraster.c:26:11: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (int) memToVal(headerp->height, sizeof(long)), ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ cmuwmraster.c:27:11: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (int) memToVal(headerp->depth, sizeof(short))); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ cmuwmraster.c:19:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void babble(name, headerp) ^ cmuwmraster.c:37:21: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(zf = zopen(fullname))) ^ cmuwmraster.c:43:18: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch (zread(zf, (byte *)&header, sizeof(struct cmuwm_header))) ^ cmuwmraster.c:51:6: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal(header.magic, sizeof(long)) != CMUWM_MAGIC) ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ cmuwmraster.c:65:11: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ cmuwmraster.c:30:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int cmuwmIdent(fullname, name) ^ cmuwmraster.c:80:20: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(zf= zopen(fullname))) ^ cmuwmraster.c:86:18: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch (zread(zf, (byte *)&header, sizeof(struct cmuwm_header))) ^ cmuwmraster.c:90:10: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ cmuwmraster.c:94:8: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal(header.magic, sizeof(long)) != CMUWM_MAGIC) ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ cmuwmraster.c:96:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ cmuwmraster.c:103:10: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ cmuwmraster.c:107:9: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal(header.depth, sizeof(short)) != 1) ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ cmuwmraster.c:111:5: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] (int) header.depth); ^~~~~~~~~~~~~~~~~~ cmuwmraster.c:115:33: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = newBitImage(width = memToVal(header.width, sizeof(long)), ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ cmuwmraster.c:116:13: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] height = memToVal(header.height, sizeof(long))); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ cmuwmraster.c:115:24: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = newBitImage(width = memToVal(header.width, sizeof(long)), ^ cmuwmraster.c:123:13: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] r = zread(zf, lineptr, linelen); ^ cmuwmraster.c:145:11: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ cmuwmraster.c:147:29: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title = dupString(name); ^ cmuwmraster.c:70:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image* cmuwmLoad(fullname, name, verbose) ^ 24 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c bright.c bright.c:29:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(image, "brighten"); ^ bright.c:19:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void brighten(image, percent, verbose) ^ In file included from bright.c:12: ./image.h:130:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void brighten(); /* bright.c */ ^ bright.c:82:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(image, "gammacorrect"); ^ bright.c:73:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void gammacorrect(image, disp_gam, verbose) ^ bright.c:119:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void setupNormalizationArray(min, max, array, verbose) ^ bright.c:151:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(image, "normalize"); ^ bright.c:184:27: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newimage= newTrueImage(image->width, image->height); ^ bright.c:186:35: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newimage->title = (char *)lmalloc(strlen(image->title) + 14); ^ bright.c:193:10: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pixval= memToVal(srcptr, image->pixlen); ^ ./image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ bright.c:141:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *normalize(image, verbose) ^ In file included from bright.c:12: ./image.h:133:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *normalize(); ^ bright.c:249:18: warning: parameter 'verbose' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] void gray(image, verbose) ^ bright.c:256:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(image, "gray"); ^ bright.c:249:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void gray(image, verbose) ^ In file included from bright.c:12: ./image.h:132:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void gray(); ^ 16 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c img.c img.c:43:20: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( ! (zf = zopen(fullname))) ^ img.c:46:20: warning: passing arguments to 'IMG_ReadHeader' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (IMG_ReadHeader(zf,&header) == 0) { ^ img.c:52:8: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ img.c:35:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned int imgIdent (fullname,name) ^ img.c:79:20: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( ! (zf = zopen(fullname))) ^ img.c:82:25: warning: passing arguments to 'IMG_ReadHeader' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((i = IMG_ReadHeader(zf,&header)) != 0) { ^ img.c:83:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ img.c:103:10: warning: passing arguments to 'znocache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] znocache(zf); ^ img.c:105:21: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = newBitImage(header.llen,header.lines); ^ img.c:118:12: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = zgetc(zf); ^ img.c:125:13: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = zgetc(zf); ^ img.c:135:14: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = zgetc(zf); /* SLFLAG byte (0xFF) */ ^ img.c:140:22: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RowRepeat = zgetc(zf); /* repeat count */ ^ img.c:144:10: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zread(zf,inbuf,header.patlen); ^ img.c:147:19: warning: passing arguments to 'IMG_WriteByte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMG_WriteByte(inbuf[ictr],header.llen,bpl); ^ img.c:151:17: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] creps = zgetc(zf); /* literal length */ ^ img.c:152:9: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zread(zf,inbuf,creps); /* literal */ ^ img.c:154:18: warning: passing arguments to 'IMG_WriteByte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMG_WriteByte(inbuf[ictr],header.llen,bpl); ^ img.c:161:18: warning: passing arguments to 'IMG_WriteByte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IMG_WriteByte(ichr,header.llen,bpl); ^ img.c:165:8: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(zf); ^ img.c:167:26: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title = dupString(name); ^ img.c:65:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *imgLoad (fullname,name,verbose) ^ img.c:194:14: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tlen = zread(zf,junkbuffer,(DEF_HLEN * 2)); ^ img.c:260:9: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zread(zf,junkbuffer,rlen); ^ img.c:185:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int IMG_ReadHeader (zf,h) ^ img.c:24:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int IMG_ReadHeader(); /* Read file header */ ^ img.c:277:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void IMG_WriteByte (c,cols,bpl) ^ img.c:25:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void IMG_WriteByte(); /* Write output byte */ ^ 28 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c mc_tables.c mc_tables.c:11:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mc_sensor(sscode) ^ 1 warning generated. rm -f window.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include window.c window.c:75:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] while ((AlarmWentOff == 0)) { ~~~~~~~~~~~~~^~~~ window.c:75:24: note: remove extraneous parentheses around the comparison to silence this warning while ((AlarmWentOff == 0)) { ~ ^ ~ window.c:75:24: note: use '=' to turn this equality comparison into an assignment while ((AlarmWentOff == 0)) { ^~ = window.c:60:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int getNextEventWithTimeout(disp, event) ^ window.c:97:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void setCursor(disp, window, iw, ih, ww, wh, cursor) ^ window.c:121:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void placeImage(disp, width, height, winwidth, winheight, rx, ry) ^ window.c:184:13: warning: passing arguments to 'sendXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sendXImage(ximageinfo, x, y, x, y, w, h); ^ window.c:154:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void blitImage(ximageinfo, width, height, ^ window.c:190:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void cleanUpWindow(disp) ^ In file included from window.c:12: ./xloadimage.h:96:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void cleanUpWindow(); ^ window.c:215:13: warning: passing arguments to 'freeXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeXImage(image, ximageinfo); ^ window.c:204:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void cleanUpImage(disp, scrn, cursor, pixmap, image, ximageinfo) ^ window.c:227:10: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static cmap_atom= None; ~~~~~~ ^ int window.c:222:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void setViewportColormap(disp, scrn, visual) ^ window.c:261:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *iconName(s) ^ window.c:306:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int visualClassFromName(name) ^ In file included from window.c:12: ./xloadimage.h:94:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int visualClassFromName(); /* window.c */ ^ window.c:336:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *nameOfVisualClass(class) ^ In file included from window.c:12: ./xloadimage.h:95:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *nameOfVisualClass(); ^ window.c:349:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Visual *bestVisualOfClassAndDepth(disp, scrn, class, depth) ^ window.c:378:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void bestVisual(disp, scrn, image, rvisual, rdepth) ^ window.c:493:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void bestVisualOfClass(disp, scrn, image, visual_class, rvisual, rdepth) ^ window.c:663:35: warning: passing arguments to 'imageToXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (ximageinfo= imageToXImage(disp, scrn, visual, depth, image, ^ window.c:733:33: warning: passing arguments to 'ximageToPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (((pixmap= ximageToPixmap(disp, ImageWindow, ximageinfo)) == ^ window.c:854:7: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] alarm(delay); ^ window.c:904:4: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] alarm(0); ^ window.c:528:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char imageInWindow(disp, scrn, image, user_geometry, fullscreen, install, ^ In file included from window.c:12: ./xloadimage.h:97:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char imageInWindow(); ^ 26 warnings generated. rm -f png.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include png.c png.c:47:39: warning: non-void function does not return a value [-Wreturn-type] pngIdent(char *fullname, char *name) {} ^ png.c:150:22: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = newTrueImage(width, height); ^ png.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pngLoad(fullname, name, verbose) ^ 3 warnings generated. rm -f libmgpimage.a ar clq libmgpimage.a imagetypes.o gif.o send.o zio.o zoom.o new.o compress.o reduce.o value.o misc.o rotate.o rle.o rlelib.o smooth.o halftone.o clip.o dither.o xbitmap.o xpixmap.o pbm.o pcx.o xwd.o mac.o jpeg.o g3.o path.o sunraster.o mcidas.o fbm.o faces.o cmuwmraster.o bright.o img.o mc_tables.o window.o png.o ranlib libmgpimage.a rm -f mgp cc -o mgp -O2 -pipe -L/usr/X11R6/lib -L/usr/local/lib mgp.o draw.o parse.o plist.o globals.o x11.o font.o background.o scanner.o grammar.o postscript.o tfont.o embed.o unimap.o mng.o m17n.o -L./image -lmgpimage -lm -L/usr/local/lib -lpng -L/usr/local/lib -lpng -L/usr/local/lib -lmng -L/usr/X11R6/lib -L/usr/X11R6/lib -lXft -liconv -lgif -lXext -lX11 -lXdmcp -lXau -Wl,-rpath,/usr/local/lib ld: warning: mgp.c(mgp.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: parse.c(parse.o:(read_file)): warning: strcat() is almost always misused, please use strlcat() ld: warning: parse.c(parse.o:(read_file)): warning: strcpy() is almost always misused, please use strlcpy() rm -f print.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include print.c In file included from print.c:35: In file included from ./mgp.h:73: ./image/xloadimage.h:79:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] char *expandPath(); /* path.c */ ^ print.c:360:14: note: conflicting prototype is here extern char *expandPath __P((char *)); ^ In file included from print.c:35: In file included from ./mgp.h:73: ./image/xloadimage.h:80:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] int findImage(); ^ print.c:362:12: note: conflicting prototype is here extern int findImage __P((char *, char *)); ^ print.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findpaper(name) ^ print.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scan_font(page) ^ print.c:520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_pause(page) ^ print.c:543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_page(page) ^ print.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_pageinit(page) ^ print.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_direc_print(cp) ^ print.c:1287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] icon_output(tp) ^ print.c:1300:10: warning: cast to smaller integer type 'int' from 'struct fontmap *' [-Wpointer-to-int-cast] switch ((int)tp->font) { /*XXX*/ ^~~~~~~~~~~~~ print.c:1400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] line_skip(x, y) ^ print.c:1409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_bar(cp) ^ print.c:1434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_icon(cp) ^ print.c:1462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_line(data, pfx) ^ print.c:1471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] iskinsokuchar(code) ^ print.c:1484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_string(data, pfx) ^ print.c:1542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_fragment(data, len, kanjimode, pfx) ^ print.c:1598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkeps(fname) ^ print.c:1624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] text_remember(text, ctype, fontsize, offset, pfx) ^ print.c:1651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] icon_remember(icon, fontsize, offset, color) ^ print.c:1661:29: warning: cast to 'struct fontmap *' from smaller integer type 'int' [-Wint-to-pointer-cast] textpool[ntextpool].font = (struct fontmap *)icon; /*XXX*/ ^~~~~~~~~~~~~~~~~~~~~~ print.c:1679:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte *rot_data = lmalloc(new_linelen * new_height); ^ print.c:1688:8: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = memToVal(src, pl); ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ print.c:1689:4: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(d, tgt, pl); ^ ./image/image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ print.c:1697:7: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(image->data); ^ print.c:1671:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rotate_image_p90(image) ^ print.c:1711:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte *rot_data = lmalloc(new_linelen * new_height); ^ print.c:1718:8: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = memToVal(src, pl); ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ print.c:1719:4: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(d, tgt, pl); ^ ./image/image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ print.c:1727:7: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(image->data); ^ print.c:1703:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rotate_image_m90(image) ^ print.c:1743:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte *rot_data = lmalloc(new_linelen * new_height); ^ print.c:1750:8: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = memToVal(src, pl); ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ print.c:1751:4: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(d, tgt, pl); ^ ./image/image.h:118:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ print.c:1759:7: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(image->data); ^ print.c:1735:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rotate_image_180(image) ^ print.c:1768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image_remember(cp, pool) ^ print.c:1784:22: warning: passing arguments to 'loadImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myimage = loadImage(cp->ctm_fname, mgp_flag & FL_VERBOSE); ^ print.c:1809:64: warning: format specifies type 'int' but the argument has type 'Image *(*)()' [-Wformat] fprintf(stderr, "rotation by %d degrees not supported.\n", rotate); ~~ ^~~~~~ print.c:1814:12: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(myimage); ^ print.c:1833:21: warning: passing arguments to 'loadImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myimage = loadImage(cp->ctm_fname, mgp_flag & FL_VERBOSE); ^ print.c:1858:63: warning: format specifies type 'int' but the argument has type 'Image *(*)()' [-Wformat] fprintf(stderr, "rotation by %d degrees not supported.\n", rotate); ~~ ^~~~~~ print.c:1863:11: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(myimage); ^ print.c:1869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image_load_print(filename, numcolor, ximagesize, yimagesize, backflag, zoomflag, rotate) ^ print.c:1913:26: warning: passing arguments to 'loadImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((myimage = loadImage(filename, verbose)) == NULL) ^ print.c:1942:19: warning: passing arguments to 'reduce' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myimage = reduce(myimage, numcolor, verbose); ^ print.c:1966:16: warning: passing arguments to 'zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myimage = zoom(image, xzoomrate, yzoomrate, verbose); ^ print.c:1967:11: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ print.c:1972:34: warning: passing arguments to 'imageToXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (ximageinfo= imageToXImage(display, screen, visual, depth, ^ print.c:1978:27: warning: passing arguments to 'ximageToPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mypixmap = ximageToPixmap(display, RootWindow(display, 0), ximageinfo); ^ print.c:2039:12: warning: passing arguments to 'freeXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeXImage(myimage, ximageinfo); ^ print.c:2040:11: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(myimage); ^ print.c:2045:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_usage(name) ^ print.c:2086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpencolor(c) ^ print.c:2113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_full_image(print_image, visual) ^ print.c:2150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_32_image(print_image, visual) ^ print.c:2188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_8_image(print_image) ^ print.c:2224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_eps(epsfp, filename, numcolor, ximagesize, yimagesize, backflag, zoomflag) ^ print.c:2347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ print.c:2488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findfont(ctrl, lang, font) ^ print.c:2564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fontstring(font) ^ print.c:2574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] loadfont(font, name) ^ 62 warnings generated. rm -f x11dummy.o cc -c -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include x11dummy.c x11dummy.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_win1(geometry) ^ x11dummy.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_color(colorname, value) ^ x11dummy.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name2gcolor(colorname) ^ x11dummy.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_alloc_colors(clr) ^ x11dummy.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regist_alloc_colors(clr, colors, num) ^ 5 warnings generated. rm -f mgp2ps cc -o mgp2ps -O2 -pipe -L/usr/X11R6/lib -L/usr/local/lib print.o parse.o globals.o x11dummy.o scanner.o grammar.o postscript.o embed.o -L./image -lmgpimage -lm -L/usr/local/lib -lpng -L/usr/local/lib -lpng -L/usr/local/lib -lmng -L/usr/X11R6/lib -L/usr/X11R6/lib -lXft -liconv -lgif -lXext -lX11 -lXdmcp -lXau -Wl,-rpath,/usr/local/lib ld: warning: window.c(window.o:(imageInWindow) in archive ./image/libmgpimage.a): warning: sprintf() is often misused, please use snprintf() ld: warning: faces.c(faces.o:(facesLoad) in archive ./image/libmgpimage.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: path.c(path.o:(loadPathsAndExts) in archive ./image/libmgpimage.a): warning: strcpy() is almost always misused, please use strlcpy() rm -f mgp._man if test -z "" ; then cd `dirname mgp` && ln -s `basename mgp.man` `basename mgp._man`; else /usr/libexec/cpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/X11R6 -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/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" < mgp.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/\@\@$/\\/' >mgp._man; fi rm -f mgp2ps._man if test -z "" ; then cd `dirname mgp2ps` && ln -s `basename mgp2ps.man` `basename mgp2ps._man`; else /usr/libexec/cpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/X11R6 -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/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" < mgp2ps.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/\@\@$/\\/' >mgp2ps._man; fi rm -f mgpembed._man if test -z "" ; then cd `dirname mgpembed` && ln -s `basename mgpembed.man` `basename mgpembed._man`; else /usr/libexec/cpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/X11R6 -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/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" < mgpembed.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/\@\@$/\\/' >mgpembed._man; fi making all in ./sample... making all in ./contrib... making all in contrib/xwintoppm... cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xwintoppm.c xwintoppm.c:142:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static long parse_long (s) ^ xwintoppm.c:158:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int xwintoppm.c:162:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i; ~~~~~~~~ ^ int xwintoppm.c:169:29: warning: passing arguments to 'Setup_Display_And_Screen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Setup_Display_And_Screen(&argc, argv); ^ xwintoppm.c:172:36: warning: passing arguments to 'Select_Window_Args' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] target_win = Select_Window_Args(&argc, argv); ^ xwintoppm.c:184:4: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] usage(); ^ xwintoppm.c:188:8: warning: call to undeclared function 'Error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Error("Can't open output file as specified."); ^ xwintoppm.c:250:5: warning: call to undeclared function 'Window_Dump'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Window_Dump(target_win, out_file); ^ xwintoppm.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ xwintoppm.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Get24bitDirectColors(colors) ^ xwintoppm.c:284:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Window_Dump(window, out) ^ int xwintoppm.c:334:16: warning: call to undeclared function 'outl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (debug) outl("xwintoppm: Getting target window information.\n"); ^ xwintoppm.c:336:18: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fatal_Error("Can't get target window attributes."); ^ xwintoppm.c:417:19: warning: call to undeclared function 'Image_Size'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] buffer_size = Image_Size(image); ^ xwintoppm.c:423:18: warning: call to undeclared function 'Get_XColors'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ncolors = Get_XColors(&win_info, &colors); ^ xwintoppm.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Window_Dump(window, out) ^ xwintoppm.c:607:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ xwintoppm.c:612:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] usage() ^ int xwintoppm.c:626:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Error(string) ^ int xwintoppm.c:629:2: warning: call to undeclared function 'outl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] outl("\nxwd: Error => %s\n", string); ^ xwintoppm.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Error(string) ^ xwintoppm.c:643:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Image_Size(image) ^ xwintoppm.c:665:18: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fatal_Error("Out of memory!"); ^ xwintoppm.c:655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadColors(vis,cmap,colors) ^ xwintoppm.c:703:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Get_XColors(win_info, colors) ^ xwintoppm.c:719:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] _swapshort (bp, n) ^ int xwintoppm.c:719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xwintoppm.c:732:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xwintoppm.c:734:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] _swaplong (bp, n) ^ int xwintoppm.c:734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xwintoppm.c:753:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 31 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c dsimple.c dsimple.c:85:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fatal_Error("Out of memory!"); ^ dsimple.c:79:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *Malloc(size) ^ dsimple.c:104:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fatal_Error("Out of memory!"); ^ dsimple.c:94:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *Realloc(ptr, size) ^ dsimple.c:127:23: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (++i >= argc) usage (); ^ dsimple.c:114:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *Get_Display_Name(pargc, argv) ^ dsimple.c:159:6: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] usage (); ^ dsimple.c:150:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Display *Open_Display(display_name) ^ dsimple.c:174:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Setup_Display_And_Screen(argc, argv) ^ dsimple.c:192:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fatal_Error("Unable to open font %s!", name); ^ dsimple.c:186:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XFontStruct *Open_Font(name) ^ dsimple.c:207:16: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fatal_Error("Can't open file %s!", filename); ^ dsimple.c:209:16: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fatal_Error("file %s: Bad bitmap format.", filename); ^ dsimple.c:211:16: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fatal_Error("Out of memory!"); ^ dsimple.c:202:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void _bitmap_error(status, filename) ^ dsimple.c:214:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap ReadBitmapFile(d, filename, width, height, x_hot, y_hot) ^ dsimple.c:236:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void WriteBitmapFile(filename, bitmap, width, height, x_hot, y_hot) ^ dsimple.c:300:4: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] NXTOPT; ^ dsimple.c:285:39: note: expanded from macro 'NXTOPT' #define NXTOPT if (++argv, --argc==0) usage() ^ dsimple.c:301:24: warning: passing arguments to 'Window_With_Name' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] w = Window_With_Name(dpy, RootWindow(dpy, screen), ^ dsimple.c:304:17: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fatal_Error("No window with name %s exists!",OPTION); ^ dsimple.c:308:4: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] NXTOPT; ^ dsimple.c:285:39: note: expanded from macro 'NXTOPT' #define NXTOPT if (++argv, --argc==0) usage() ^ dsimple.c:314:17: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fatal_Error("Invalid window id format: %s.", OPTION); ^ dsimple.c:272:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Window Select_Window_Args(rargc, argv) ^ dsimple.c:363:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fatal_Error("Bad color format '%s'.", name); ^ dsimple.c:366:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fatal_Error("XAllocColor failed!"); ^ dsimple.c:342:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long Resolve_Color(w, name) ^ dsimple.c:51:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] unsigned long Resolve_Color(); ^ dsimple.c:378:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap Bitmap_To_Pixmap(dpy, d, gc, bitmap, width, height) ^ dsimple.c:52:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Pixmap Bitmap_To_Pixmap(); ^ dsimple.c:406:3: warning: call to undeclared function 'outl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] outl("blip!"); ^ dsimple.c:430:41: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (status != GrabSuccess) Fatal_Error("Can't grab the mouse."); ^ dsimple.c:414:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Window Select_Window(dpy) ^ dsimple.c:53:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Window Select_Window(); ^ dsimple.c:465:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Window Window_With_Name(dpy, top, name) ^ dsimple.c:56:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Window Window_With_Name(); ^ dsimple.c:498:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] outl(msg, arg0,arg1,arg2,arg3,arg4,arg5,arg6) ^ int dsimple.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dsimple.c:506:1: warning: non-void function does not return a value [-Wreturn-type] } ^ dsimple.c:514:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Fatal_Error(msg, arg0,arg1,arg2,arg3,arg4,arg5,arg6) ^ dsimple.c:57:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void Fatal_Error(); ^ 40 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c list.c list.c:58:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void zero_list(lp) ^ In file included from list.c:49: ./list.h:63:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void zero_list( ^ list.c:77:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int add_to_list(lp, item) ^ In file included from list.c:49: ./list.h:68:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int add_to_list ( ^ list.c:104:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (lp = (list_ptr) malloc( sizeof( list_item))) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ list.c:104:12: note: place parentheses around the assignment to silence this warning if (lp = (list_ptr) malloc( sizeof( list_item))) { ^ ( ) list.c:104:12: note: use '==' to turn this assignment into an equality comparison if (lp = (list_ptr) malloc( sizeof( list_item))) { ^ == list.c:125:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] list_ptr dup_list_head(lp, start_at_curr) ^ In file included from list.c:49: ./list.h:78:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] list_ptr dup_list_head ( ^ list.c:149:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned int list_length(lp) ^ In file included from list.c:49: ./list.h:83:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] unsigned int list_length( ^ list.c:176:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void *delete_from_list(lp, item) ^ In file included from list.c:49: ./list.h:88:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void *delete_from_list ( ^ list.c:207:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void delete_list(lp, free_items) ^ In file included from list.c:49: ./list.h:93:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void delete_list( ^ list.c:243:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destructor( item); ^ list.c:229:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void delete_list_destroying(lp, destructor) ^ In file included from list.c:49: ./list.h:98:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void delete_list_destroying ( ^ list.c:257:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void * first_in_list(lp) ^ In file included from list.c:49: ./list.h:103:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void *first_in_list ( ^ list.c:279:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void * next_in_list(lp) ^ In file included from list.c:49: ./list.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void *next_in_list ( ^ list.c:297:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int list_is_empty(lp) ^ In file included from list.c:49: ./list.h:113:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int list_is_empty ( ^ 22 warnings generated. cc -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c multiVis.c multiVis.c:190:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void initFakeVisual(Vis) ^ multiVis.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryColorMap(disp,src_cmap,src_vis,src_colors,rShift,gShift,bShift) ^ multiVis.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetMultiVisualRegions(disp,srcRootWinid, x, y, width, height, ^ multiVis.c:324:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void TransferImage(disp,reg_image,srcw,srch,reg, ^ multiVis.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadRegionsInList(disp,fakeVis,depth,format,width,height,bbox,regions) ^ multiVis.c:498:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XImage *ReadAreaToImage(disp, srcRootWinid, x, y, width, height, ^ multiVis.c:685:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void make_src_list( disp, image_wins, bbox, curr, x_rootrel, y_rootrel, ^ multiVis.c:781:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static list_ptr make_region_list( disp, win, bbox, hasNonDefault, ^ multiVis.c:884:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void destroy_image_region( image_region) ^ multiVis.c:894:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void destroy_region_list( rlist) ^ multiVis.c:907:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void subtr_rect_from_image_region( image_region, x, y, width, height) ^ multiVis.c:932:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void add_rect_to_image_region( image_region, x, y, width, height) ^ multiVis.c:954:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int src_in_region_list( src, image_regions) ^ multiVis.c:976:20: warning: parameter 'border_width' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] width, height, border_width,vis, cmap, parent) ^ multiVis.c:975:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void add_window_to_list( image_wins, w, xrr, yrr, x_vis, y_vis, ^ multiVis.c:1013:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int src_in_image( src, numImageVisuals, pImageVisuals) ^ multiVis.c:1033:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int src_in_overlay( src, numOverlayVisuals, pOverlayVisuals, ^ multiVis.c:1107:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int GetXVisualInfo(display, screen, transparentOverlays, ^ multiVis.c:1241:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void FreeXVisualInfo(pVisuals, pOverlayVisuals, pImageVisuals) ^ 19 warnings generated. rm -f xwintoppm cc -o xwintoppm -O2 -pipe -L/usr/X11R6/lib -L/usr/local/lib xwintoppm.o dsimple.o list.o multiVis.o -lXmu -lXt -lSM -lICE -lXext -lX11 -lXdmcp -lXau -lXext -lX11 -lXdmcp -lXau -Wl,-rpath,/usr/local/lib rm -f xwintoppm._man if test -z "" ; then cd `dirname xwintoppm` && ln -s `basename xwintoppm.man` `basename xwintoppm._man`; else /usr/libexec/cpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/X11R6 -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/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" < xwintoppm.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/\@\@$/\\/' >xwintoppm._man; fi rm -f mgpnet._man if test -z "" ; then cd `dirname mgpnet` && ln -s `basename mgpnet.man` `basename mgpnet._man`; else /usr/libexec/cpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/X11R6 -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/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" < mgpnet.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/\@\@$/\\/' >mgpnet._man; fi cc -DHAVE_LIBXEXT=1 -DHAVE_LIBXTST=1 -DHAVE_LIBUTIL=1 -DHAVE_UU_LOCK=1 -DHAVE_FCNTL_H=1 -DHAVE_PATHS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DSTDC_HEADERS=1 -DRETSIGTYPE=void -DHAVE_SELECT=1 -DHAVE_SETREUID=1 -I/usr/X11R6/include -c ./main.c ./main.c:121:3: warning: call to undeclared function 'errx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] errx(1, "opening X11 display"); ^ ./main.c:130:4: warning: call to undeclared function 'err'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] err(1, "malloc"); ^ ./main.c:143:3: warning: call to undeclared function 'err'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] err(1, "%s", remote); ^ ./main.c:160:3: warning: call to undeclared function 'err'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] err(1, "%s", remote); ^ ./main.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ ./main.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mainloop(fd) ^ ./main.c:204:4: warning: call to undeclared function 'err'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] err(1, "select"); ^ ./main.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buttonpress(button, state) ^ ./main.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uucplock(name) ^ ./main.c:286:9: warning: call to undeclared function 'uu_lock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return uu_lock(strrchr(name, '/') + 1); ^ ./main.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uucpunlock(name) ^ ./main.c:293:9: warning: call to undeclared function 'uu_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return uu_unlock(strrchr(name, '/') + 1); ^ ./main.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sigtrap(no) ^ 13 warnings generated. cc -o xmindpath main.o -lutil -lXtst -lXext -lSM -lICE -L/usr/X11R6/lib -lX11 ld: warning: main.c(main.o:(main)): warning: sprintf() is often misused, please use snprintf() mv -f Makefile Makefile.bak imake -DPorts -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -- xwintoppm.c dsimple.c list.c multiVis.c > .depend >>> Running package in misc/magicpoint at 1731876715.30 ===> misc/magicpoint ===> Faking installation for magicpoint-1.13av0 making ./image/libmgpimage.a in ./image... install -c mgp /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/bin/mgp install -c mgp2ps /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/bin/mgp2ps install -c -m 0755 mgpembed.pl /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/bin/mgpembed installing in ./image... install in image done installing in ./sample... + mkdir -p /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/lib/X11/mgp install -c -m 0444 default.mgp /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/lib/X11/mgp/default.mgp install -c -m 0444 mgp1.jpg /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/lib/X11/mgp/mgp1.jpg install -c -m 0444 mgp2.jpg /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/lib/X11/mgp/mgp2.jpg install -c -m 0444 mgp3.jpg /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/lib/X11/mgp/mgp3.jpg install in sample done installing in ./contrib... install -c -m 0755 mgpnet /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/bin/mgpnet installing in contrib/xwintoppm... install -c xwintoppm /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/bin/xwintoppm install in . done install -c -m 0444 mgp._man /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/man/man1/mgp.1 install -c -m 0444 mgp2ps._man /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/man/man1/mgp2ps.1 install -c -m 0444 mgpembed._man /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/man/man1/mgpembed.1 installing man pages in ./image... install.man in image done installing man pages in ./sample... install.man in sample done installing man pages in ./contrib... install -c -m 0444 mgpnet._man /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/man/man1/mgpnet.1 installing man pages in contrib/xwintoppm... install -c -m 0444 xwintoppm._man /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/man/man1/xwintoppm.1 install.man in . done install -c -s -o root -g bin xmindpath /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/bin install -c -o root -g bin -m 444 xmindpath.1 /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/man/man1 /exopi-obj/pobj/magicpoint-1.13a/bin/install -d -m 755 /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/share/doc/mgp/sample /exopi-obj/pobj/magicpoint-1.13a/bin/install -d -m 755 /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/share/mgp/emacs /exopi-obj/pobj/magicpoint-1.13a/bin/install -c -m 755 /exopi-obj/pobj/magicpoint-1.13a/magicpoint-1.13a/contrib/eqn2eps.sh /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/bin/eqn2eps /exopi-obj/pobj/magicpoint-1.13a/bin/install -c -m 755 /exopi-obj/pobj/magicpoint-1.13a/magicpoint-1.13a/contrib/mgp2html.pl /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/bin/mgp2html /exopi-obj/pobj/magicpoint-1.13a/bin/install -c -m 755 /exopi-obj/pobj/magicpoint-1.13a/magicpoint-1.13a/contrib/mgp2latex.pl /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/bin/mgp2latex /exopi-obj/pobj/magicpoint-1.13a/bin/install -c -m 755 /exopi-obj/pobj/magicpoint-1.13a/magicpoint-1.13a/contrib/tex2eps.sh /exopi-obj/pobj/magicpoint-1.13a/fake-amd64/usr/local/bin/tex2eps ===> Building package for magicpoint-1.13av0 Create /exopi-cvs/ports/packages/amd64/all/magicpoint-1.13av0.tgz Creating package magicpoint-1.13av0 reading plist| checking dependencies| checking dependencies|devel/gettext,-runtime checking dependencies|graphics/giflib checking dependencies|graphics/libmng checking dependencies|graphics/netpbm checking dependencies|graphics/png checking dependencies|print/ghostscript/gnu-fonts checksumming| checksumming| | 0% checksumming|* | 1% checksumming|* | 2% checksumming|** | 3% checksumming|** | 4% checksumming|*** | 5% checksumming|**** | 6% checksumming|**** | 7% checksumming|***** | 8% checksumming|***** | 9% checksumming|****** | 10% checksumming|******* | 11% checksumming|******* | 12% checksumming|******** | 13% checksumming|******** | 14% checksumming|********* | 15% checksumming|********** | 16% checksumming|********** | 17% checksumming|*********** | 18% checksumming|*********** | 19% checksumming|************ | 20% checksumming|************* | 21% checksumming|************* | 22% checksumming|************** | 23% checksumming|************** | 24% checksumming|*************** | 25% checksumming|**************** | 25% checksumming|**************** | 26% checksumming|***************** | 27% checksumming|***************** | 28% checksumming|****************** | 29% checksumming|******************* | 30% checksumming|******************* | 31% checksumming|******************** | 32% checksumming|******************** | 33% checksumming|********************* | 34% checksumming|********************** | 35% checksumming|********************** | 36% checksumming|*********************** | 37% checksumming|*********************** | 38% checksumming|************************ | 39% checksumming|************************* | 40% checksumming|************************* | 41% checksumming|************************** | 42% checksumming|************************** | 43% checksumming|*************************** | 44% checksumming|**************************** | 45% checksumming|**************************** | 46% checksumming|***************************** | 47% checksumming|***************************** | 48% checksumming|****************************** | 49% checksumming|******************************* | 50% checksumming|******************************* | 51% checksumming|******************************** | 52% checksumming|******************************** | 53% checksumming|********************************* | 54% checksumming|********************************* | 55% checksumming|********************************** | 56% checksumming|*********************************** | 57% checksumming|*********************************** | 58% checksumming|************************************ | 59% checksumming|************************************ | 60% checksumming|************************************* | 61% checksumming|************************************** | 62% checksumming|************************************** | 63% checksumming|*************************************** | 64% checksumming|*************************************** | 65% checksumming|**************************************** | 66% checksumming|***************************************** | 67% checksumming|***************************************** | 68% checksumming|****************************************** | 69% checksumming|****************************************** | 70% checksumming|******************************************* | 71% checksumming|******************************************** | 72% checksumming|******************************************** | 73% checksumming|********************************************* | 74% checksumming|********************************************* | 75% checksumming|********************************************** | 75% checksumming|*********************************************** | 76% checksumming|*********************************************** | 77% checksumming|************************************************ | 78% checksumming|************************************************ | 79% checksumming|************************************************* | 80% checksumming|************************************************** | 81% checksumming|************************************************** | 82% checksumming|*************************************************** | 83% checksumming|*************************************************** | 84% checksumming|**************************************************** | 85% checksumming|***************************************************** | 86% checksumming|***************************************************** | 87% checksumming|****************************************************** | 88% checksumming|****************************************************** | 89% checksumming|******************************************************* | 90% checksumming|******************************************************** | 91% checksumming|******************************************************** | 92% checksumming|********************************************************* | 93% checksumming|********************************************************* | 94% checksumming|********************************************************** | 95% checksumming|*********************************************************** | 96% checksumming|*********************************************************** | 97% checksumming|************************************************************ | 98% checksumming|************************************************************ | 99% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|***************** | 26% archiving|****************************** | 47% archiving|******************************* | 48% archiving|******************************** | 50% archiving|********************************* | 51% archiving|********************************* | 52% archiving|********************************** | 52% archiving|********************************** | 53% archiving|********************************** | 54% archiving|*********************************** | 55% archiving|************************************ | 56% archiving|************************************ | 57% archiving|************************************* | 57% archiving|************************************* | 58% archiving|*************************************** | 61% archiving|***************************************** | 64% archiving|****************************************** | 65% archiving|******************************************* | 67% archiving|******************************************** | 68% archiving|******************************************** | 69% archiving|********************************************* | 70% archiving|********************************************** | 72% archiving|************************************************ | 75% archiving|************************************************* | 77% archiving|************************************************** | 78% archiving|*************************************************** | 80% archiving|**************************************************** | 81% archiving|***************************************************** | 82% archiving|*********************************************************** | 92% archiving|************************************************************ | 94% archiving|************************************************************* | 95% archiving|************************************************************** | 97% archiving|*************************************************************** | 98% archiving|****************************************************************| 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/magicpoint-1.13av0.tgz >>> Running clean in misc/magicpoint at 1731876723.07 ===> misc/magicpoint ===> Cleaning for magicpoint-1.13av0 >>> Ended at 1731876723.27 max_stuck=0.00/depends=3.09/show-prepare-results=1.36/build=25.37/package=7.77/clean=0.24