=>> Building misc/magicpoint build started at Sun Jan 25 05:22:09 EST 2026 port directory: /usr/ports/misc/magicpoint package name: magicpoint-1.13a_20 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: dinoex@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 3029 Aug 27 2024 /usr/ports/misc/magicpoint/Makefile Ports top last git commit: 076a295eb33c Ports top unclean checkout: no Port dir last git commit: 5a142601f023 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 07 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/07/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for magicpoint-1.13a_20: XFT=on: Xft font library support GIF=on: GIF image format support DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- dinoex@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --disable-vflib --enable-locale --disable-freetype --enable-gif --enable-xft2 --enable-freetype-charset16 --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- mgp_cv_path_perl=/usr/local/bin/perl IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/misc/magicpoint/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/magicpoint/work XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/magicpoint/work/.cache HOME=/wrkdirs/usr/ports/misc/magicpoint/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/magicpoint/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/magicpoint/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/misc/magicpoint/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/magicpoint/work XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/magicpoint/work/.cache HOME=/wrkdirs/usr/ports/misc/magicpoint/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/magicpoint/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/magicpoint/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-I.. -I/usr/local/include -DLIBICONV_PLUG" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.42.0 PERL_VER=5.42 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.42 DOCSDIR="share/doc/magicpoint" EXAMPLESDIR="share/examples/magicpoint" DATADIR="share/magicpoint" WWWDIR="www/magicpoint" ETCDIR="etc/magicpoint" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/magicpoint DOCSDIR=/usr/local/share/doc/magicpoint EXAMPLESDIR=/usr/local/share/examples/magicpoint WWWDIR=/usr/local/www/magicpoint ETCDIR=/usr/local/etc/magicpoint --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> magicpoint-1.13a_20 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> magicpoint-1.13a_20 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of magicpoint-1.13a_20 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by magicpoint-1.13a_20 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by magicpoint-1.13a_20 for building => SHA256 Checksum OK for magicpoint-1.13a.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by magicpoint-1.13a_20 for building ===> Extracting for magicpoint-1.13a_20 => SHA256 Checksum OK for magicpoint-1.13a.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for magicpoint-1.13a_20 ===> Applying FreeBSD patches for magicpoint-1.13a_20 from /usr/ports/misc/magicpoint/files /usr/bin/sed -i.bak -e 's|-lungif|-lgif|' -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' /wrkdirs/usr/ports/misc/magicpoint/work/magicpoint-1.13a/configure =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> magicpoint-1.13a_20 depends on executable: imake - not found ===> Installing existing package /packages/All/imake-1.0.10_1,1.pkg [pkg.DaveG.ca] Installing imake-1.0.10_1,1... [pkg.DaveG.ca] `-- Installing gccmakedep-1.0.4... [pkg.DaveG.ca] `-- Extracting gccmakedep-1.0.4: .. done [pkg.DaveG.ca] `-- Installing makedepend-1.0.9,1... [pkg.DaveG.ca] `-- Extracting makedepend-1.0.9,1: .. done [pkg.DaveG.ca] `-- Installing perl5-5.42.0_1... [pkg.DaveG.ca] `-- Extracting perl5-5.42.0_1: .......... done [pkg.DaveG.ca] `-- Installing xorg-cf-files-1.0.8_1... [pkg.DaveG.ca] `-- Extracting xorg-cf-files-1.0.8_1: .......... done [pkg.DaveG.ca] Extracting imake-1.0.10_1,1: .......... done ===> magicpoint-1.13a_20 depends on executable: imake - found ===> Returning to build of magicpoint-1.13a_20 ===> magicpoint-1.13a_20 depends on executable: tradcpp - not found ===> Installing existing package /packages/All/tradcpp-0.5.3.pkg [pkg.DaveG.ca] Installing tradcpp-0.5.3... [pkg.DaveG.ca] Extracting tradcpp-0.5.3: .. done ===> magicpoint-1.13a_20 depends on executable: tradcpp - found ===> Returning to build of magicpoint-1.13a_20 ===> magicpoint-1.13a_20 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-2.4.3,1.pkg [pkg.DaveG.ca] Installing pkgconf-2.4.3,1... [pkg.DaveG.ca] Extracting pkgconf-2.4.3,1: .......... done ===> magicpoint-1.13a_20 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of magicpoint-1.13a_20 ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.12,1.pkg [pkg.DaveG.ca] Installing libX11-1.8.12,1... [pkg.DaveG.ca] `-- Installing libxcb-1.17.0... [pkg.DaveG.ca] | `-- Installing libXau-1.0.12... [pkg.DaveG.ca] | `-- Extracting libXau-1.0.12: .......... done [pkg.DaveG.ca] | `-- Installing libXdmcp-1.1.5... [pkg.DaveG.ca] | | `-- Installing xorgproto-2024.1... [pkg.DaveG.ca] | | `-- Extracting xorgproto-2024.1: .......... done [pkg.DaveG.ca] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] Extracting libX11-1.8.12,1: .......... done ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of magicpoint-1.13a_20 ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/xext.pc - not found ===> Installing existing package /packages/All/libXext-1.3.6,1.pkg [pkg.DaveG.ca] Installing libXext-1.3.6,1... [pkg.DaveG.ca] Extracting libXext-1.3.6,1: .......... done ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> Returning to build of magicpoint-1.13a_20 ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - not found ===> Installing existing package /packages/All/libXmu-1.1.4,1.pkg [pkg.DaveG.ca] Installing libXmu-1.1.4,1... [pkg.DaveG.ca] `-- Installing libXt-1.3.0,1... [pkg.DaveG.ca] | `-- Installing libICE-1.1.2,1... [pkg.DaveG.ca] | `-- Extracting libICE-1.1.2,1: .......... done [pkg.DaveG.ca] | `-- Installing libSM-1.2.6,1... [pkg.DaveG.ca] | `-- Extracting libSM-1.2.6,1: ........ done [pkg.DaveG.ca] `-- Extracting libXt-1.3.0,1: .......... done [pkg.DaveG.ca] Extracting libXmu-1.1.4,1: .......... done ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> Returning to build of magicpoint-1.13a_20 ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/xi.pc - not found ===> Installing existing package /packages/All/libXi-1.8.2,1.pkg [pkg.DaveG.ca] Installing libXi-1.8.2,1... [pkg.DaveG.ca] `-- Installing libXfixes-6.0.1... [pkg.DaveG.ca] `-- Extracting libXfixes-6.0.1: ....... done [pkg.DaveG.ca] Extracting libXi-1.8.2,1: .......... done ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found ===> Returning to build of magicpoint-1.13a_20 ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/xtst.pc - not found ===> Installing existing package /packages/All/libXtst-1.2.5.pkg [pkg.DaveG.ca] Installing libXtst-1.2.5... [pkg.DaveG.ca] Extracting libXtst-1.2.5: .......... done ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/xtst.pc - found ===> Returning to build of magicpoint-1.13a_20 ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/xft.pc - not found ===> Installing existing package /packages/All/libXft-2.3.8.pkg [pkg.DaveG.ca] Installing libXft-2.3.8... [pkg.DaveG.ca] `-- Installing fontconfig-2.17.1,1... [pkg.DaveG.ca] | `-- Installing expat-2.7.3... [pkg.DaveG.ca] | `-- Extracting expat-2.7.3: .......... done [pkg.DaveG.ca] | `-- Installing freetype2-2.14.1... [pkg.DaveG.ca] | | `-- Installing brotli-1.2.0,1... [pkg.DaveG.ca] | | `-- Extracting brotli-1.2.0,1: .......... done [pkg.DaveG.ca] | | `-- Installing png-1.6.53... [pkg.DaveG.ca] | | `-- Extracting png-1.6.53: .......... done [pkg.DaveG.ca] | `-- Extracting freetype2-2.14.1: .......... done [pkg.DaveG.ca] | `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] | `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] `-- Extracting fontconfig-2.17.1,1: .......... done [pkg.DaveG.ca] `-- Installing libXrender-0.9.12... [pkg.DaveG.ca] `-- Extracting libXrender-0.9.12: ....... done [pkg.DaveG.ca] Extracting libXft-2.3.8: .......... done ==> Running trigger: fontconfig.ucl Running fc-cache to build fontconfig cache... ===== Message from freetype2-2.14.1: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed). ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/xft.pc - found ===> Returning to build of magicpoint-1.13a_20 ===> magicpoint-1.13a_20 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> magicpoint-1.13a_20 depends on file: /usr/local/bin/ccache - found ===> Returning to build of magicpoint-1.13a_20 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> magicpoint-1.13a_20 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> magicpoint-1.13a_20 depends on shared library: libmng.so - not found ===> Installing existing package /packages/All/libmng-2.0.3_2.pkg [pkg.DaveG.ca] Installing libmng-2.0.3_2... [pkg.DaveG.ca] `-- Installing jpeg-turbo-3.1.3... [pkg.DaveG.ca] `-- Extracting jpeg-turbo-3.1.3: .......... done [pkg.DaveG.ca] `-- Installing lcms2-2.17... [pkg.DaveG.ca] | `-- Installing tiff-4.7.1... [pkg.DaveG.ca] | | `-- Installing jbigkit-2.1_3... [pkg.DaveG.ca] | | `-- Extracting jbigkit-2.1_3: .......... done [pkg.DaveG.ca] | | `-- Installing lerc-4.0.0... [pkg.DaveG.ca] | | `-- Extracting lerc-4.0.0: ..... done [pkg.DaveG.ca] | | `-- Installing libdeflate-1.25... [pkg.DaveG.ca] | | `-- Extracting libdeflate-1.25: .......... done [pkg.DaveG.ca] | | `-- Installing zstd-1.5.7_1... [pkg.DaveG.ca] | | `-- Extracting zstd-1.5.7_1: .......... done [pkg.DaveG.ca] | `-- Extracting tiff-4.7.1: .......... done [pkg.DaveG.ca] `-- Extracting lcms2-2.17: .......... done [pkg.DaveG.ca] Extracting libmng-2.0.3_2: ......... done ===> magicpoint-1.13a_20 depends on shared library: libmng.so - found (/usr/local/lib/libmng.so) ===> Returning to build of magicpoint-1.13a_20 ===> magicpoint-1.13a_20 depends on shared library: libgif.so - not found ===> Installing existing package /packages/All/giflib-5.2.2.pkg [pkg.DaveG.ca] Installing giflib-5.2.2... [pkg.DaveG.ca] Extracting giflib-5.2.2: .......... done ===> magicpoint-1.13a_20 depends on shared library: libgif.so - found (/usr/local/lib/libgif.so) ===> Returning to build of magicpoint-1.13a_20 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for magicpoint-1.13a_20 configure: loading site script /usr/ports/Templates/config.site checking whether make sets $(MAKE)... yes checking build system type... amd64-portbld-freebsd13.5 checking host system type... amd64-portbld-freebsd13.5 checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cpp checking for gawk... (cached) /usr/bin/awk checking for bison... no checking for byacc... byacc checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for perl5... /usr/local/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 grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (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 varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for locale.h... (cached) yes checking for an ANSI C-conforming const... 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... yes checking for u_int... (cached) yes checking for u_char... (cached) yes checking for working memcmp... yes checking return type of signal handlers... 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... libraries /usr/local/lib, headers /usr/local/include checking if Xft2 is used... yes checking for iconv..... checking for iconv_open... yes checking fontconfig/fontconfig.h usability... yes checking fontconfig/fontconfig.h presence... yes checking for fontconfig/fontconfig.h... yes checking if gif handling is enabled... yes checking for DGifOpenFileHandle in -lgif... yes checking if imlib is used... yes configure: creating ./config.status config.status: creating Imakefile config.status: creating image/Imakefile config.status: creating sample/Imakefile config.status: creating contrib/mgp2html.pl config.status: creating contrib/mgp2latex.pl config.status: creating contrib/mgpnet config.status: creating mgpembed.pl be sure to generate Makefile from Imakefile, by xmkmf and make Makefiles cd /wrkdirs/usr/ports/misc/magicpoint/work/magicpoint-1.13a && /usr/bin/env IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/misc/magicpoint/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/magicpoint/work XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/magicpoint/work/.cache HOME=/wrkdirs/usr/ports/misc/magicpoint/work TMPDIR="/tmp" PATH=/usr/local/libexec/ccache:/wrkdirs/usr/ports/misc/magicpoint/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/magicpoint/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-I.. -I/usr/local/include -DLIBICONV_PLUG" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" /usr/local/bin/xmkmf -a imake -DUseInstalled -I/usr/local/lib/X11/config make Makefiles making Makefiles in image... In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:874:12: Warning: value of undefined symbol BuildServersOnly is 0 In file included from Imakefile.c:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:874:12: Warning: value of undefined symbol BuildServersOnly is 0 In file included from Imakefile.c:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:874:12: Warning: value of undefined symbol BuildServersOnly is 0 In file included from Imakefile.c:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:874:12: Warning: value of undefined symbol BuildServersOnly is 0 In file included from Imakefile.c:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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:15: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 -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' cd /wrkdirs/usr/ports/misc/magicpoint/work/magicpoint-1.13a/contrib/xmindpath && /bin/sh configure --prefix=/usr/local 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... /usr/bin/install -c checking how to run the C preprocessor... cc -E checking for X... libraries /usr/local/lib, headers /usr/local/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 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for magicpoint-1.13a_20 cc -o ./ctlwords ./ctlwords.c ./ctlwords.c:30:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | main(int argc, char *argv[]) | ^ | int 1 warning generated. ./ctlwords < ./globals.c > ctlwords.h rm -f mgp.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 79 | char *expandPath(); /* path.c */ | ^ mgp.c:114:14: note: conflicting prototype is here 114 | 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 C23 [-Wdeprecated-non-prototype] 201 | 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 C23 [-Wdeprecated-non-prototype] 497 | 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 C23 [-Wdeprecated-non-prototype] 699 | 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 C23 [-Wdeprecated-non-prototype] 713 | 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 C23 [-Wdeprecated-non-prototype] 768 | 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 C23 [-Wdeprecated-non-prototype] 1258 | 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 C23 [-Wdeprecated-non-prototype] 1299 | 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 C23 [-Wdeprecated-non-prototype] 1332 | 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 C23 [-Wdeprecated-non-prototype] 1347 | 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 C23 [-Wdeprecated-non-prototype] 1362 | 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 C23 [-Wdeprecated-non-prototype] 1387 | 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 C23 [-Wdeprecated-non-prototype] 1402 | waitkids(sig) | ^ 13 warnings generated. rm -f draw.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG 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 C23 [-Wdeprecated-non-prototype] 183 | 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 C23 [-Wdeprecated-non-prototype] 204 | 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 C23 [-Wdeprecated-non-prototype] 230 | 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 C23 [-Wdeprecated-non-prototype] 288 | 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 C23 [-Wdeprecated-non-prototype] 308 | 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 C23 [-Wdeprecated-non-prototype] 328 | 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 C23 [-Wdeprecated-non-prototype] 383 | 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 C23 [-Wdeprecated-non-prototype] 513 | 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 C23 [-Wdeprecated-non-prototype] 996 | 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 C23 [-Wdeprecated-non-prototype] 1022 | 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 C23 [-Wdeprecated-non-prototype] 1038 | 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 C23 [-Wdeprecated-non-prototype] 1068 | 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 C23 [-Wdeprecated-non-prototype] 1076 | 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 C23 [-Wdeprecated-non-prototype] 1121 | 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 C23 [-Wdeprecated-non-prototype] 1274 | draw_string(state, data) | ^ draw.c:1380:5: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1380 | q = draw_fragment(state, p, q - p, registry, charset16); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ draw.c:1387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1387 | draw_fragment(state, p, len, registry, charset16) | ^ draw.c:1615:9: warning: returning 'u_char *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1615 | return p; | ^ draw.c:1619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1619 | 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 C23 [-Wdeprecated-non-prototype] 1632 | 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 C23 [-Wdeprecated-non-prototype] 1650 | 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 C23 [-Wdeprecated-non-prototype] 1679 | 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 C23 [-Wdeprecated-non-prototype] 1765 | 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 C23 [-Wdeprecated-non-prototype] 1792 | 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 C23 [-Wdeprecated-non-prototype] 1846 | 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 C23 [-Wdeprecated-non-prototype] 1891 | 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 C23 [-Wdeprecated-non-prototype] 1950 | 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 C23 [-Wdeprecated-non-prototype] 1957 | 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 C23 [-Wdeprecated-non-prototype] 1970 | 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 C23 [-Wdeprecated-non-prototype] 2004 | if (memToVal(p, pl) == d) | ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 2005 | valToMem(n, p, pl); | ^ ./image/image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 2021 | 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 C23 [-Wdeprecated-non-prototype] 2023 | 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 C23 [-Wdeprecated-non-prototype] 2043 | if (memToVal(p, pl) != trans) | ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 2045 | d = memToVal(b, bpl); | ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 2053 | valToMem(n, p, pl); | ^ ./image/image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 2079 | 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 C23 [-Wdeprecated-non-prototype] 2093 | 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 C23 [-Wdeprecated-non-prototype] 2100 | 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 C23 [-Wdeprecated-non-prototype] 2105 | 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 C23 [-Wdeprecated-non-prototype] 2122 | 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 C23 [-Wdeprecated-non-prototype] 2126 | obj_draw(state, target, xpos, ypos) | ^ draw.c:2400:7: warning: passing 'char *' to parameter of type 'const FcChar8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2400 | obj->data.xftfont.data, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/Xft/Xft.h:226:24: note: passing argument to parameter 'string' here 226 | _Xconst FcChar8 *string, | ^ draw.c:2406:7: warning: passing 'char *' to parameter of type 'const FcChar8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2406 | obj->data.xftfont.data, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/Xft/Xft.h:199:24: note: passing argument to parameter 'string' here 199 | _Xconst FcChar8 *string, | ^ draw.c:2506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2506 | 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 C23 [-Wdeprecated-non-prototype] 2564 | 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 C23 [-Wdeprecated-non-prototype] 2616 | 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 C23 [-Wdeprecated-non-prototype] 2833 | 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] 2849 | 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] 2884 | fprintf(stderr, "X11 font %s:%d:%s has bogus " | ~~ 2885 | "font metric for glyph 0x%04x\n" 2886 | "\tcs->width=%d, source=%s, coffset=0x%04x\n", 2887 | 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 C23 [-Wdeprecated-non-prototype] 2925 | 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 C23 [-Wdeprecated-non-prototype] 3055 | 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] 3061 | "(%d, %d)->(%d, %d)[%d]\n", cg->ct_zoomflag, | ~~ 3062 | 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 C23 [-Wdeprecated-non-prototype] 3067 | 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 C23 [-Wdeprecated-non-prototype] 3073 | 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 C23 [-Wdeprecated-non-prototype] 3079 | 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 C23 [-Wdeprecated-non-prototype] 3103 | 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 C23 [-Wdeprecated-non-prototype] 3112 | d = memToVal(src, pl); | ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 3113 | valToMem(d, tgt, pl); | ^ ./image/image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 3121 | 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 C23 [-Wdeprecated-non-prototype] 3095 | 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 C23 [-Wdeprecated-non-prototype] 3135 | 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 C23 [-Wdeprecated-non-prototype] 3142 | d = memToVal(src, pl); | ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 3143 | valToMem(d, tgt, pl); | ^ ./image/image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 3151 | 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 C23 [-Wdeprecated-non-prototype] 3127 | 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 C23 [-Wdeprecated-non-prototype] 3167 | 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 C23 [-Wdeprecated-non-prototype] 3174 | d = memToVal(src, pl); | ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 3175 | valToMem(d, tgt, pl); | ^ ./image/image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 3183 | 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 C23 [-Wdeprecated-non-prototype] 3159 | 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 C23 [-Wdeprecated-non-prototype] 3191 | 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 C23 [-Wdeprecated-non-prototype] 3225 | 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 C23 [-Wdeprecated-non-prototype] 3268 | 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 C23 [-Wdeprecated-non-prototype] 3313 | myimage = zoom(image, xzoomrate, yzoomrate, verbose); | ^ draw.c:3316:6: warning: format specifies type 'int' but the argument has type 'float' [-Wformat] 3315 | fprintf(stderr, "image zoom (%dx%d) failed in image_load\n", | ~~ | %f 3316 | xzoomrate, yzoomrate); | ^~~~~~~~~ draw.c:3316:17: warning: format specifies type 'int' but the argument has type 'float' [-Wformat] 3315 | fprintf(stderr, "image zoom (%dx%d) failed in image_load\n", | ~~ | %f 3316 | 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 C23 [-Wdeprecated-non-prototype] 3319 | 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 C23 [-Wdeprecated-non-prototype] 3325 | 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 C23 [-Wdeprecated-non-prototype] 3393 | 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 C23 [-Wdeprecated-non-prototype] 3420 | 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 C23 [-Wdeprecated-non-prototype] 3513 | 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 C23 [-Wdeprecated-non-prototype] 3560 | 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 C23 [-Wdeprecated-non-prototype] 3659 | 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 C23 [-Wdeprecated-non-prototype] 3704 | process_system(state, cp) | ^ draw.c:3763:4: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 3763 | &rootxsiz, &rootysiz, &junk, &junk); | ^~~~~~~~~ /usr/local/include/X11/Xlib.h:2636:37: note: passing argument to parameter here 2636 | unsigned int* /* width_return */, | ^ draw.c:3763:15: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 3763 | &rootxsiz, &rootysiz, &junk, &junk); | ^~~~~~~~~ /usr/local/include/X11/Xlib.h:2637:38: note: passing argument to parameter here 2637 | unsigned int* /* height_return */, | ^ draw.c:3763:26: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 3763 | &rootxsiz, &rootysiz, &junk, &junk); | ^~~~~ /usr/local/include/X11/Xlib.h:2638:44: note: passing argument to parameter here 2638 | unsigned int* /* border_width_return */, | ^ draw.c:3763:33: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 3763 | &rootxsiz, &rootysiz, &junk, &junk); | ^~~~~ /usr/local/include/X11/Xlib.h:2640:1: note: passing argument to parameter here 2640 | ); | ^ draw.c:3773:42: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 3773 | mode = XParseGeometry(p, &xloc, &yloc, &xsiz, &ysiz); | ^~~~~ /usr/local/include/X11/Xlib.h:2871:37: note: passing argument to parameter here 2871 | unsigned int* /* width_return */, | ^ draw.c:3773:49: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 3773 | mode = XParseGeometry(p, &xloc, &yloc, &xsiz, &ysiz); | ^~~~~ /usr/local/include/X11/Xlib.h:2873:1: note: passing argument to parameter here 2873 | ); | ^ draw.c:3830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3830 | process_xsystem(state, cp) | ^ draw.c:3885:42: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 3885 | mode = XParseGeometry(p, &xloc, &yloc, &xsiz, &ysiz); | ^~~~~ /usr/local/include/X11/Xlib.h:2871:37: note: passing argument to parameter here 2871 | unsigned int* /* width_return */, | ^ draw.c:3885:49: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 3885 | mode = XParseGeometry(p, &xloc, &yloc, &xsiz, &ysiz); | ^~~~~ /usr/local/include/X11/Xlib.h:2873:1: note: passing argument to parameter here 2873 | ); | ^ draw.c:3972:17: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 3972 | &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); | ^~~~~ /usr/local/include/X11/Xlib.h:2636:37: note: passing argument to parameter here 2636 | unsigned int* /* width_return */, | ^ draw.c:3972:24: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 3972 | &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); | ^~~~~ /usr/local/include/X11/Xlib.h:2637:38: note: passing argument to parameter here 2637 | unsigned int* /* height_return */, | ^ draw.c:3972:31: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 3972 | &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); | ^~~~~~~ /usr/local/include/X11/Xlib.h:2638:44: note: passing argument to parameter here 2638 | unsigned int* /* border_width_return */, | ^ draw.c:3972:40: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 3972 | &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); | ^~~~~~~ /usr/local/include/X11/Xlib.h:2640:1: note: passing argument to parameter here 2640 | ); | ^ draw.c:3998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3998 | process_tsystem(state, cp) | ^ draw.c:4057:42: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 4057 | mode = XParseGeometry(p, &xloc, &yloc, &xsiz, &ysiz); | ^~~~~ /usr/local/include/X11/Xlib.h:2871:37: note: passing argument to parameter here 2871 | unsigned int* /* width_return */, | ^ draw.c:4057:49: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 4057 | mode = XParseGeometry(p, &xloc, &yloc, &xsiz, &ysiz); | ^~~~~ /usr/local/include/X11/Xlib.h:2873:1: note: passing argument to parameter here 2873 | ); | ^ draw.c:4160:19: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 4160 | &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); | ^~~~~ /usr/local/include/X11/Xlib.h:2636:37: note: passing argument to parameter here 2636 | unsigned int* /* width_return */, | ^ draw.c:4160:26: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 4160 | &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); | ^~~~~ /usr/local/include/X11/Xlib.h:2637:38: note: passing argument to parameter here 2637 | unsigned int* /* height_return */, | ^ draw.c:4160:33: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 4160 | &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); | ^~~~~~~ /usr/local/include/X11/Xlib.h:2638:44: note: passing argument to parameter here 2638 | unsigned int* /* border_width_return */, | ^ draw.c:4160:42: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 4160 | &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); | ^~~~~~~ /usr/local/include/X11/Xlib.h:2640:1: note: passing argument to parameter here 2640 | ); | ^ draw.c:4176:20: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 4176 | &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); | ^~~~~ /usr/local/include/X11/Xlib.h:2636:37: note: passing argument to parameter here 2636 | unsigned int* /* width_return */, | ^ draw.c:4176:27: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 4176 | &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); | ^~~~~ /usr/local/include/X11/Xlib.h:2637:38: note: passing argument to parameter here 2637 | unsigned int* /* height_return */, | ^ draw.c:4176:34: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 4176 | &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); | ^~~~~~~ /usr/local/include/X11/Xlib.h:2638:44: note: passing argument to parameter here 2638 | unsigned int* /* border_width_return */, | ^ draw.c:4176:43: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 4176 | &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); | ^~~~~~~ /usr/local/include/X11/Xlib.h:2640:1: note: passing argument to parameter here 2640 | ); | ^ draw.c:4283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4283 | 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 C23 [-Wdeprecated-non-prototype] 4307 | 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 C23 [-Wdeprecated-non-prototype] 4317 | 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 C23 [-Wdeprecated-non-prototype] 4526 | 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 C23 [-Wdeprecated-non-prototype] 4588 | d = memToVal(p, bpl); | ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 4613 | image->trans = memToVal(image->data, image->pixlen); | ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 4665 | 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 C23 [-Wdeprecated-non-prototype] 4754 | 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 C23 [-Wdeprecated-non-prototype] 4772 | 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 C23 [-Wdeprecated-non-prototype] 4809 | 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 C23 [-Wdeprecated-non-prototype] 4862 | 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 C23 [-Wdeprecated-non-prototype] 4863 | 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 C23 [-Wdeprecated-non-prototype] 4926 | 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 C23 [-Wdeprecated-non-prototype] 4951 | 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 C23 [-Wdeprecated-non-prototype] 4965 | 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 C23 [-Wdeprecated-non-prototype] 5003 | 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 C23 [-Wdeprecated-non-prototype] 5019 | 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 C23 [-Wdeprecated-non-prototype] 5021 | 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 C23 [-Wdeprecated-non-prototype] 5032 | 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 C23 [-Wdeprecated-non-prototype] 5042 | 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 C23 [-Wdeprecated-non-prototype] 5075 | 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 C23 [-Wdeprecated-non-prototype] 5115 | 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 C23 [-Wdeprecated-non-prototype] 5131 | 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 C23 [-Wdeprecated-non-prototype] 5158 | obj_draw_anim(state, x, y, obj) | ^ draw.c:5174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5174 | process_anim(state, cp) | ^ draw.c:5209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5209 | 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 C23 [-Wdeprecated-non-prototype] 5230 | xft_draw_fragment(state, p, len, registry, charset16) | ^ draw.c:5271:23: warning: format string contains '\0' within the string body [-Wformat] 5271 | 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] 5280 | if (iconv(icv[i], &p16, &ileft, &o16, &oleft) < 0) { | ^~~~~~ /usr/include/iconv.h:58:27: note: passing argument to parameter here 58 | size_t * __restrict, char ** __restrict, | ^ draw.c:5280:41: warning: incompatible pointer types passing 'int *' to parameter of type 'size_t *' (aka 'unsigned long *') [-Wincompatible-pointer-types] 5280 | if (iconv(icv[i], &p16, &ileft, &o16, &oleft) < 0) { | ^~~~~~ /usr/include/iconv.h:59:27: note: passing argument to parameter here 59 | size_t * __restrict); | ^ draw.c:5302:11: warning: returning 'u_char *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5302 | return p + len; | ^~~~~~~ draw.c:5318:11: warning: returning 'u_char *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5318 | return p; | ^ draw.c:5329:64: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5329 | if (obj_new_xftfont(state, state->linewidth, state->charoff, p, len, fontname, | ^ draw.c:156:72: note: passing argument to parameter here 156 | static int obj_new_xftfont __P((struct render_state *, int, int, char *, | ^ draw.c:5334:11: warning: returning 'u_char *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5334 | return p +len; | ^~~~~~ draw.c:5347:63: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5347 | if (obj_new_xftfont(state, state->linewidth, state->charoff, p, len, fontname, | ^ draw.c:156:72: note: passing argument to parameter here 156 | static int obj_new_xftfont __P((struct render_state *, int, int, char *, | ^ draw.c:5350:10: warning: returning 'u_char *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5350 | return p + len; | ^~~~~~~ draw.c:5356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5356 | 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 C23 [-Wdeprecated-non-prototype] 5415 | xft_setfont(xfontarg, csize, registry) | ^ 147 warnings generated. rm -f parse.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 80 | int findImage(); | ^ parse.c:48:12: note: conflicting prototype is here 48 | 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 C23 [-Wdeprecated-non-prototype] 64 | 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 C23 [-Wdeprecated-non-prototype] 152 | 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 C23 [-Wdeprecated-non-prototype] 251 | 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 C23 [-Wdeprecated-non-prototype] 278 | read_rc(fp, filename) | ^ parse.c:302:12: warning: passing 'char[1024]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 302 | lex_init(buf); | ^~~ parse.c:57:30: note: passing argument to parameter here 57 | extern void lex_init(u_char *); | ^ parse.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | read_file(fp, filename, page, line, preamble) | ^ parse.c:426:12: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 426 | lex_init(buf + 1); | ^~~~~~~ parse.c:57:30: note: passing argument to parameter here 57 | extern void lex_init(u_char *); | ^ parse.c:611:13: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 611 | lex_init(buf + 1); | ^~~~~~~ parse.c:57:30: note: passing argument to parameter here 57 | extern void lex_init(u_char *); | ^ parse.c:1541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1541 | 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 C23 [-Wdeprecated-non-prototype] 1641 | 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 C23 [-Wdeprecated-non-prototype] 1673 | 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 C23 [-Wdeprecated-non-prototype] 1692 | 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 C23 [-Wdeprecated-non-prototype] 1706 | 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 C23 [-Wdeprecated-non-prototype] 1719 | 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 C23 [-Wdeprecated-non-prototype] 1734 | 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 C23 [-Wdeprecated-non-prototype] 1751 | 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 C23 [-Wdeprecated-non-prototype] 1767 | 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 C23 [-Wdeprecated-non-prototype] 1791 | 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 C23 [-Wdeprecated-non-prototype] 1804 | 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 C23 [-Wdeprecated-non-prototype] 1896 | 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 C23 [-Wdeprecated-non-prototype] 1926 | 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 C23 [-Wdeprecated-non-prototype] 1959 | find_font(font) | ^ 23 warnings generated. rm -f plist.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG 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 C23 [-Wdeprecated-non-prototype] 49 | 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 C23 [-Wdeprecated-non-prototype] 97 | 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 C23 [-Wdeprecated-non-prototype] 120 | 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 C23 [-Wdeprecated-non-prototype] 143 | 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 C23 [-Wdeprecated-non-prototype] 167 | 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 C23 [-Wdeprecated-non-prototype] 222 | 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 C23 [-Wdeprecated-non-prototype] 305 | draw_kstring(d, buf, x, y) | ^ 7 warnings generated. rm -f globals.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG globals.c rm -f x11.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG 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 C23 [-Wdeprecated-non-prototype] 75 | 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 C23 [-Wdeprecated-non-prototype] 117 | init_win1(geometry) | ^ x11.c:144:4: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 144 | &xsiz, &ysiz); | ^~~~~ /usr/local/include/X11/Xlib.h:2871:37: note: passing argument to parameter here 2871 | unsigned int* /* width_return */, | ^ x11.c:144:11: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 144 | &xsiz, &ysiz); | ^~~~~ /usr/local/include/X11/Xlib.h:2873:1: note: passing argument to parameter here 2873 | ); | ^ x11.c:358:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 358 | static fullscreen = 0; | ~~~~~~ ^ | int x11.c:361:15: warning: multiple unsequenced modifications to 'fullscreen' [-Wunsequenced] 361 | 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 C23 [-Wdeprecated-non-prototype] 384 | 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 C23 [-Wdeprecated-non-prototype] 402 | 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 C23 [-Wdeprecated-non-prototype] 422 | free_alloc_colors(clr) | ^ x11.c:429:34: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign] 429 | XFreeColors(display, colormap, clr->colors, clr->num, 0); | ^~~~~~~~~~~ /usr/local/include/X11/Xlib.h:2538:32: note: passing argument to parameter here 2538 | unsigned long* /* pixels */, | ^ x11.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | regist_alloc_colors(clr, colors, num) | ^ 11 warnings generated. rm -f font.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG font.c rm -f background.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG 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 C23 [-Wdeprecated-non-prototype] 50 | 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 C23 [-Wdeprecated-non-prototype] 132 | 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 C23 [-Wdeprecated-non-prototype] 240 | 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 C23 [-Wdeprecated-non-prototype] 329 | 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 C23 [-Wdeprecated-non-prototype] 358 | 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 C23 [-Wdeprecated-non-prototype] 391 | 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 C23 [-Wdeprecated-non-prototype] 406 | image= (Image *)lmalloc(sizeof(Image)); | ^ 7 warnings generated. flex -t ./scanner.l > scanner.c byacc -d ./grammar.y byacc: 2 rules never reduced mv y.tab.c grammar.c mv y.tab.h tokdefs.h rm -f scanner.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG scanner.c ./scanner.l:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | lex_init(buf) | ^ ./scanner.l:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | xdtoi(c) | ^ ./scanner.l:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | stoi(s) | ^ 3 warnings generated. rm -f grammar.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG grammar.c ./grammar.y:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | gen_void(op) | ^ ./grammar.y:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | gen_double_int(op, v) | ^ ./grammar.y:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | gen_double(op, v) | ^ ./grammar.y:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | 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 C23 [-Wdeprecated-non-prototype] 184 | 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 C23 [-Wdeprecated-non-prototype] 201 | 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 C23 [-Wdeprecated-non-prototype] 220 | gen_str(op, str) | ^ ./grammar.y:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | gen_str2(op, str1, str2) | ^ ./grammar.y:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | gen_color(op, color) | ^ ./grammar.y:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | gen_bgrad(w, h, colors, dir, zoomflg, extra) | ^ ./grammar.y:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | gen_newimage(arg) | ^ ./grammar.y:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | gen_image(op, fname, colors, xsiz, ysiz, zoomflg) | ^ ./grammar.y:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | gen_bar(color, thick, start, len) | ^ ./grammar.y:536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | gen_icon(n, color, siz) | ^ ./grammar.y:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | gen_pcache(flag, mode, effect, value) | ^ ./grammar.y:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | gen_valign(align) | ^ ./grammar.y:604:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | gen_area(width, height, xoff, yoff) | ^ ./grammar.y:678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | gen_argsfromstr(op, str, flag) | ^ ./grammar.y:722:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | check_xfont(seed, registry) | ^ 19 warnings generated. rm -f postscript.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG 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 C23 [-Wdeprecated-non-prototype] 35 | 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 C23 [-Wdeprecated-non-prototype] 89 | image_zoomratio(state, xp, yp, zoomflag, width, height) | ^ 2 warnings generated. rm -f tfont.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG tfont.c rm -f embed.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG 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 C23 [-Wdeprecated-non-prototype] 39 | 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 C23 [-Wdeprecated-non-prototype] 53 | 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 C23 [-Wdeprecated-non-prototype] 74 | embed_file(fp, p, lineno) | ^ 3 warnings generated. cc -c -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG unimap.c rm -f mng.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG mng.c mng.c:125:14: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 125 | image->data = (char *)malloc(width * height * 24); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mng.c:182:27: warning: passing arguments to 'imageToXImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | ximageinfo= imageToXImage(mngdisplay, mngscreen, mngvisual, depth, | ^ mng.c:191:12: warning: passing arguments to 'freeXImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | freeXImage(ximageinfo->ximage, ximageinfo); | ^ mng.c:255:1: warning: non-void function does not return a value [-Wreturn-type] 255 | } | ^ mng.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | mngload(mngfile, x, y, width, height) | ^ mng.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | mng_window_setup(mymng, x, y, width, height) | ^ mng.c:336:25: warning: passing arguments to 'get_visual' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | mngvisual = get_visual(mngdisplay, mngscreen, &depth); | ^ mng.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | mngpreload(state, mngfile, width, height) | ^ 8 warnings generated. rm -f m17n.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG m17n.c making ./image/libmgpimage.a in ./image... rm -f imagetypes.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=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 C23 [-Wdeprecated-non-prototype] 74 | 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 C23 [-Wdeprecated-non-prototype] 75 | 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 C23 [-Wdeprecated-non-prototype] 79 | 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 C23 [-Wdeprecated-non-prototype] 59 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 145 | 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 C23 [-Wdeprecated-non-prototype] 99 | 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 C23 [-Wdeprecated-non-prototype] 100 | 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 C23 [-Wdeprecated-non-prototype] 104 | 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 C23 [-Wdeprecated-non-prototype] 86 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 146 | 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 C23 [-Wdeprecated-non-prototype] 119 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 147 | void goodImage(); | ^ 12 warnings generated. rm -f gif.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG gif.c gif.c:30:11: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 30 | char *Err = GifErrorString(ErrorCode); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ gif.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | tellAboutImage(name, gifp) | ^ gif.c:139:9: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] 139 | "Image %d is not confined to screen dimension, aborted.\n"); | ~^ gif.c:210:21: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | image = newRGBImage(GifFile->SWidth, GifFile->SHeight, 8); | ^ gif.c:244:26: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | image->title = dupString(name); | ^ gif.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | gifLoad(fullname, name, verbose) | ^ gif.c:269:22: warning: too few arguments in call to 'tellAboutImage' 269 | tellAboutImage(name); | ~~~~~~~~~~~~~~ ^ gif.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | gifIdent(fullname, name) | ^ 8 warnings generated. rm -f send.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG 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 C23 [-Wdeprecated-non-prototype] 20 | 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 C23 [-Wdeprecated-non-prototype] 53 | 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 C23 [-Wdeprecated-non-prototype] 35 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | 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 C23 [-Wdeprecated-non-prototype] 65 | 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 C23 [-Wdeprecated-non-prototype] 113 | 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 C23 [-Wdeprecated-non-prototype] 118 | 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 C23 [-Wdeprecated-non-prototype] 139 | 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 C23 [-Wdeprecated-non-prototype] 141 | 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 C23 [-Wdeprecated-non-prototype] 153 | 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 C23 [-Wdeprecated-non-prototype] 174 | 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 C23 [-Wdeprecated-non-prototype] 175 | 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 C23 [-Wdeprecated-non-prototype] 176 | 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 C23 [-Wdeprecated-non-prototype] 261 | 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 C23 [-Wdeprecated-non-prototype] 375 | 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 C23 [-Wdeprecated-non-prototype] 379 | 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 C23 [-Wdeprecated-non-prototype] 391 | 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 C23 [-Wdeprecated-non-prototype] 397 | 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 C23 [-Wdeprecated-non-prototype] 453 | data= lmalloc((image->width + 7) / 8 * image->height); | ^ send.c:458:15: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 458 | 0, data, image->width, image->height, | ^~~~ /usr/local/include/X11/Xlib.h:1443:22: note: passing argument to parameter here 1443 | char* /* data */, | ^ send.c:487:15: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | 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 C23 [-Wdeprecated-non-prototype] 495 | pixval= memToVal(srcptr, image->pixlen); | ^ ./../image/image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 498 | valToMem(newpixval, destptr, dpixlen); | ^ ./../image/image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 506 | pixval= memToVal(srcptr, image->pixlen); | ^ ./../image/image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 510 | valToMem(pixval, destptr, dpixlen); | ^ ./../image/image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 541 | 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 C23 [-Wdeprecated-non-prototype] 556 | pixval= memToVal(srcptr, image->pixlen); | ^ ./../image/image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 577 | 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 C23 [-Wdeprecated-non-prototype] 585 | valToMem(index[memToVal(srcptr, image->pixlen)], destptr, dpixlen); | ^ ./../image/image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] ./../image/image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 585 | valToMem(index[memToVal(srcptr, image->pixlen)], destptr, dpixlen); | ^ ./../image/image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 598 | 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 C23 [-Wdeprecated-non-prototype] 600 | 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 C23 [-Wdeprecated-non-prototype] 601 | 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 C23 [-Wdeprecated-non-prototype] 602 | 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 C23 [-Wdeprecated-non-prototype] 605 | 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 C23 [-Wdeprecated-non-prototype] 95 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | 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 C23 [-Wdeprecated-non-prototype] 613 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | 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 C23 [-Wdeprecated-non-prototype] 649 | 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 C23 [-Wdeprecated-non-prototype] 652 | 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 C23 [-Wdeprecated-non-prototype] 643 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | void freeXImage(); | ^ 44 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c zio.c -o zio.o zio.c:53:50: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | 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 C23 [-Wdeprecated-non-prototype] 56 | 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 C23 [-Wdeprecated-non-prototype] 27 | 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 C23 [-Wdeprecated-non-prototype] 112 | 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 C23 [-Wdeprecated-non-prototype] 114 | 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 C23 [-Wdeprecated-non-prototype] 84 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 197 | 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 C23 [-Wdeprecated-non-prototype] 186 | 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 C23 [-Wdeprecated-non-prototype] 210 | 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 C23 [-Wdeprecated-non-prototype] 229 | 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 C23 [-Wdeprecated-non-prototype] 140 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 190 | 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 C23 [-Wdeprecated-non-prototype] 236 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 192 | 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 C23 [-Wdeprecated-non-prototype] 244 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 193 | 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 C23 [-Wdeprecated-non-prototype] 254 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 194 | 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 C23 [-Wdeprecated-non-prototype] 276 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 196 | 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 C23 [-Wdeprecated-non-prototype] 286 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 195 | void zclose(); | ^ 22 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c zoom.c -o zoom.o zoom.c:30:33: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | 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 C23 [-Wdeprecated-non-prototype] 14 | 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] 39 | Image *zoom(oimage, xzoom, yzoom, verbose) | ^ 40 | Image *oimage; 41 | float xzoom, yzoom; 42 | { char buf[BUFSIZ]; zoom.c:55:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | goodImage(oimage, "zoom"); | ^ zoom.c:76:53: warning: format specifies type 'int' but the argument has type 'float' [-Wformat] 76 | 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 C23 [-Wdeprecated-non-prototype] 94 | 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 C23 [-Wdeprecated-non-prototype] 138 | 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 C23 [-Wdeprecated-non-prototype] 149 | 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 C23 [-Wdeprecated-non-prototype] 161 | value= memToVal(srcptr, pixlen); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 168 | value= memToVal(srcptr, pixlen); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 170 | valToMem(value, destptr, pixlen); | ^ ./image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 178 | 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 C23 [-Wdeprecated-non-prototype] 181 | 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 C23 [-Wdeprecated-non-prototype] 182 | 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 C23 [-Wdeprecated-non-prototype] 39 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 199 | Image *zoom(); /* zoom.c */ | ^ 16 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c new.c -o new.o new.c:63:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 152 | 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 C23 [-Wdeprecated-non-prototype] 79 | 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 C23 [-Wdeprecated-non-prototype] 73 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 153 | 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 C23 [-Wdeprecated-non-prototype] 91 | 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 C23 [-Wdeprecated-non-prototype] 92 | 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 C23 [-Wdeprecated-non-prototype] 93 | 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 C23 [-Wdeprecated-non-prototype] 84 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 159 | 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 C23 [-Wdeprecated-non-prototype] 99 | 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 C23 [-Wdeprecated-non-prototype] 100 | 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 C23 [-Wdeprecated-non-prototype] 101 | 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 C23 [-Wdeprecated-non-prototype] 96 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 160 | 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 C23 [-Wdeprecated-non-prototype] 109 | 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 C23 [-Wdeprecated-non-prototype] 120 | 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 C23 [-Wdeprecated-non-prototype] 104 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 154 | 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 C23 [-Wdeprecated-non-prototype] 134 | 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 C23 [-Wdeprecated-non-prototype] 142 | 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 C23 [-Wdeprecated-non-prototype] 125 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 155 | 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 C23 [-Wdeprecated-non-prototype] 151 | 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 C23 [-Wdeprecated-non-prototype] 159 | 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 C23 [-Wdeprecated-non-prototype] 147 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 156 | 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 C23 [-Wdeprecated-non-prototype] 168 | 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 C23 [-Wdeprecated-non-prototype] 173 | 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 C23 [-Wdeprecated-non-prototype] 164 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 158 | 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 C23 [-Wdeprecated-non-prototype] 180 | 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 C23 [-Wdeprecated-non-prototype] 176 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 157 | 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 C23 [-Wdeprecated-non-prototype] 183 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 162 | 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 C23 [-Wdeprecated-non-prototype] 199 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 161 | 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 C23 [-Wdeprecated-non-prototype] 215 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 163 | void lfree(); | ^ 40 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c compress.c -o compress.o compress.c:44:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | 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 C23 [-Wdeprecated-non-prototype] 58 | 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 C23 [-Wdeprecated-non-prototype] 61 | 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 C23 [-Wdeprecated-non-prototype] 62 | 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 C23 [-Wdeprecated-non-prototype] 70 | oldpixval= memToVal(pixptr, image->pixlen); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 133 | valToMem(pixel_map[oldpixval], pixptr, image->pixlen); | ^ ./image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 136 | 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 C23 [-Wdeprecated-non-prototype] 137 | 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 C23 [-Wdeprecated-non-prototype] 163 | 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 C23 [-Wdeprecated-non-prototype] 33 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 135 | void compress_colormap(); /* compress.c */ | ^ 11 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c reduce.c -o reduce.o reduce.c:43:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | 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 C23 [-Wdeprecated-non-prototype] 93 | 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 C23 [-Wdeprecated-non-prototype] 120 | 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 C23 [-Wdeprecated-non-prototype] 147 | 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 C23 [-Wdeprecated-non-prototype] 174 | 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 C23 [-Wdeprecated-non-prototype] 201 | 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 C23 [-Wdeprecated-non-prototype] 228 | 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 C23 [-Wdeprecated-non-prototype] 259 | 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 C23 [-Wdeprecated-non-prototype] 380 | 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 C23 [-Wdeprecated-non-prototype] 403 | memToVal(pixel, image->pixlen))]++; | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 422 | pixel_counts[TRUE_TO_15BIT(memToVal(pixel, 3))]++; | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 446 | 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 C23 [-Wdeprecated-non-prototype] 503 | 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 C23 [-Wdeprecated-non-prototype] 504 | 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 C23 [-Wdeprecated-non-prototype] 507 | 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 C23 [-Wdeprecated-non-prototype] 538 | 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 C23 [-Wdeprecated-non-prototype] 551 | memToVal(pixel, image->pixlen))], | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 550 | valToMem(pixel_counts[TLA_TO_15BIT(image->rgb, | ^ ./image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 563 | valToMem(pixel_counts[TRUE_TO_15BIT(memToVal(pixel, 3))], | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 563 | valToMem(pixel_counts[TRUE_TO_15BIT(memToVal(pixel, 3))], | ^ ./image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 367 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 167 | 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 C23 [-Wdeprecated-non-prototype] 590 | 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 C23 [-Wdeprecated-non-prototype] 594 | 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 C23 [-Wdeprecated-non-prototype] 595 | 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 C23 [-Wdeprecated-non-prototype] 612 | valToMem((mask & *spixel ? dpixval : spixval), dpixel, 3); | ^ ./image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 630 | spixval= memToVal(spixel, image->pixlen); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 631 | valToMem(RGB_TO_TRUE(image->rgb.red[spixval], | ^ ./image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 580 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 168 | Image *expand(); | ^ 44 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c value.c -o value.o value.c:16:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 179 | 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 C23 [-Wdeprecated-non-prototype] 28 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 180 | 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 C23 [-Wdeprecated-non-prototype] 41 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 181 | 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 C23 [-Wdeprecated-non-prototype] 55 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 182 | 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 C23 [-Wdeprecated-non-prototype] 70 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 183 | void flipBits(); | ^ 10 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c misc.c -o misc.o misc.c:21:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | static char *signalName(sig) | ^ misc.c:73:44: warning: passing arguments to 'nameOfVisualClass' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | fprintf(stderr, " %s", nameOfVisualClass(local_screen->depths[a].visuals[b].class)); | ^ misc.c:50:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | void internalError(); | ^ misc.c:104:7: warning: passing arguments to 'tail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | tail(name)); | ^ misc.c:107:60: warning: passing arguments to 'tail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | `%s -help' to enter the interactive help facility.\n", tail(name), tail(name)); | ^ misc.c:107:72: warning: passing arguments to 'tail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | `%s -help' to enter the interactive help facility.\n", tail(name), tail(name)); | ^ misc.c:99:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | void usage(); | ^ misc.c:111:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | char *tail(); /* misc.c */ | ^ misc.c:134:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | goodImage(image, "processImage"); | ^ misc.c:145:19: warning: passing arguments to 'clip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | tmpimage= clip(image, options->clipx, options->clipy, | ^ misc.c:149:14: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | freeImage(image); | ^ misc.c:154:22: warning: passing arguments to 'rotate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | tmpimage = rotate(image, options->rotate, verbose); | ^ misc.c:155:14: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | freeImage(image); | ^ misc.c:164:24: warning: passing arguments to 'compress_colormap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | compress_colormap(image, verbose); | ^ misc.c:167:19: warning: passing arguments to 'zoom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | tmpimage= zoom(image, options->xzoom, options->yzoom, verbose); | ^ misc.c:168:14: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | freeImage(image); | ^ misc.c:173:9: warning: passing arguments to 'gray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | gray(image, verbose); | ^ misc.c:176:24: warning: passing arguments to 'normalize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | tmpimage= normalize(image, verbose); | ^ misc.c:178:16: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | freeImage(image); | ^ misc.c:184:13: warning: passing arguments to 'brighten' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | brighten(image, options->bright, verbose); | ^ misc.c:187:17: warning: passing arguments to 'gammacorrect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | gammacorrect(image, options->gamma, verbose); | ^ misc.c:193:21: warning: passing arguments to 'reduce' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | tmpimage= reduce(image, options->colors, verbose); | ^ misc.c:195:16: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | freeImage(image); | ^ misc.c:204:23: warning: passing arguments to 'dither' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | tmpimage= dither(image, verbose); | ^ misc.c:206:25: warning: passing arguments to 'halftone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | tmpimage= halftone(image, verbose); | ^ misc.c:207:14: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | freeImage(image); | ^ misc.c:211:22: warning: passing arguments to 'compress_colormap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | compress_colormap(image, verbose); | ^ misc.c:214:21: warning: passing arguments to 'smooth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | tmpimage= smooth(image, options->smooth, verbose); | ^ misc.c:216:16: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | freeImage(image); | ^ misc.c:123:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | Image *processImage(); | ^ misc.c:243:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | int errorHandler(); | ^ misc.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | vstrstr( s1, s2 ) | ^ 37 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c rotate.c -o rotate.o rotate.c:14:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | 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] 40 | Image *rotate(simage, degrees, verbose) | ^ 41 | Image *simage; /* Image to rotate */ 42 | int degrees; /* Number of degrees to rotate */ 43 | { rotate.c:66:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | 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 C23 [-Wdeprecated-non-prototype] 80 | 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 C23 [-Wdeprecated-non-prototype] 98 | 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 C23 [-Wdeprecated-non-prototype] 109 | 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 C23 [-Wdeprecated-non-prototype] 114 | 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 C23 [-Wdeprecated-non-prototype] 125 | valToMem(memToVal(sp, image1->pixlen), | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 125 | valToMem(memToVal(sp, image1->pixlen), | ^ ./image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 130 | 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 C23 [-Wdeprecated-non-prototype] 137 | 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 C23 [-Wdeprecated-non-prototype] 140 | 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 C23 [-Wdeprecated-non-prototype] 40 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 170 | Image *rotate(); /* rotate.c */ | ^ 15 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c rle.c -o rle.o rle.c:59:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | 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 C23 [-Wdeprecated-non-prototype] 73 | 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 C23 [-Wdeprecated-non-prototype] 111 | 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 C23 [-Wdeprecated-non-prototype] 121 | 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 C23 [-Wdeprecated-non-prototype] 103 | 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 C23 [-Wdeprecated-non-prototype] 203 | 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 C23 [-Wdeprecated-non-prototype] 212 | 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 C23 [-Wdeprecated-non-prototype] 224 | 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 C23 [-Wdeprecated-non-prototype] 233 | 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 C23 [-Wdeprecated-non-prototype] 270 | 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 C23 [-Wdeprecated-non-prototype] 285 | 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 C23 [-Wdeprecated-non-prototype] 301 | 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 C23 [-Wdeprecated-non-prototype] 307 | 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 C23 [-Wdeprecated-non-prototype] 334 | 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 C23 [-Wdeprecated-non-prototype] 343 | 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 C23 [-Wdeprecated-non-prototype] 350 | 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 C23 [-Wdeprecated-non-prototype] 354 | 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 C23 [-Wdeprecated-non-prototype] 360 | 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 C23 [-Wdeprecated-non-prototype] 361 | 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 C23 [-Wdeprecated-non-prototype] 370 | 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 C23 [-Wdeprecated-non-prototype] 437 | 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 C23 [-Wdeprecated-non-prototype] 187 | Image *rleLoad(fullname,name,verbose) | ^ 22 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c rlelib.c -o rlelib.o rlelib.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 215 | 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 C23 [-Wdeprecated-non-prototype] 420 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 205 | 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] 430 | RunSkipBlankLines(nblank, globals) | ^ 431 | register struct sv_globals * globals; 432 | { rlelib.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 206 | 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] 441 | RunSetColor(c, globals) | ^ 442 | register struct sv_globals * globals; 443 | { rlelib.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 207 | 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] 453 | RunSkipPixels(nskip, last, wasrun, globals) | ^ 454 | register struct sv_globals * globals; 455 | { rlelib.c:453:22: warning: parameter 'last' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 453 | RunSkipPixels(nskip, last, wasrun, globals) | ^ 454 | register struct sv_globals * globals; 455 | { rlelib.c:453:15: warning: parameter 'nskip' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 453 | RunSkipPixels(nskip, last, wasrun, globals) | ^ 454 | register struct sv_globals * globals; 455 | { rlelib.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 208 | 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] 464 | RunNewScanLine(flag, globals) | ^ 465 | register struct sv_globals * globals; 466 | { rlelib.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 209 | 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] 474 | Runputdata(buf, n, globals) | ^ 475 | rle_pixel * buf; 476 | register struct sv_globals * globals; 477 | { rlelib.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 210 | 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] 487 | Runputrun(color, n, last, globals) | ^ 488 | register struct sv_globals * globals; 489 | { rlelib.c:487:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 487 | Runputrun(color, n, last, globals) | ^ 488 | register struct sv_globals * globals; 489 | { rlelib.c:487:11: warning: parameter 'color' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 487 | Runputrun(color, n, last, globals) | ^ 488 | register struct sv_globals * globals; 489 | { rlelib.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 211 | Runputrun(), | ^ rlelib.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 212 | RunputEof(); | ^ rlelib.c:505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 214 | 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 C23 [-Wdeprecated-non-prototype] 573 | 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 C23 [-Wdeprecated-non-prototype] 574 | 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 C23 [-Wdeprecated-non-prototype] 595 | 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 C23 [-Wdeprecated-non-prototype] 596 | 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 C23 [-Wdeprecated-non-prototype] 609 | 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 C23 [-Wdeprecated-non-prototype] 612 | 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 C23 [-Wdeprecated-non-prototype] 627 | 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 C23 [-Wdeprecated-non-prototype] 630 | 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 C23 [-Wdeprecated-non-prototype] 646 | 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 C23 [-Wdeprecated-non-prototype] 561 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 151 | buildmap(); | ^ rlelib.c:711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | 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 C23 [-Wdeprecated-non-prototype] 742 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 162 | 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 C23 [-Wdeprecated-non-prototype] 828 | 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 C23 [-Wdeprecated-non-prototype] 839 | BREAD(short, magic, sizeof magic); | ^ rlelib.c:801:11: note: expanded from macro 'BREAD' 801 | 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 C23 [-Wdeprecated-non-prototype] 840 | SWAB(magic); | ^ ./rle.h:46:25: note: expanded from macro 'SWAB' 46 | #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) | ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' 115 | 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 C23 [-Wdeprecated-non-prototype] 845 | BREAD(struct XtndRsetup, setup, SETUPSIZE); /* assume VAX packing */ | ^ rlelib.c:801:11: note: expanded from macro 'BREAD' 801 | 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 C23 [-Wdeprecated-non-prototype] 848 | SWAB(setup.h_xpos); | ^ ./rle.h:46:25: note: expanded from macro 'SWAB' 46 | #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) | ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' 115 | 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 C23 [-Wdeprecated-non-prototype] 849 | SWAB(setup.h_ypos); | ^ ./rle.h:46:25: note: expanded from macro 'SWAB' 46 | #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) | ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' 115 | 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 C23 [-Wdeprecated-non-prototype] 850 | SWAB(setup.h_xlen); | ^ ./rle.h:46:25: note: expanded from macro 'SWAB' 46 | #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) | ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' 115 | 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 C23 [-Wdeprecated-non-prototype] 851 | SWAB(setup.h_ylen); | ^ ./rle.h:46:25: note: expanded from macro 'SWAB' 46 | #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) | ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' 115 | 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 C23 [-Wdeprecated-non-prototype] 860 | 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 C23 [-Wdeprecated-non-prototype] 862 | 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 C23 [-Wdeprecated-non-prototype] 864 | 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 C23 [-Wdeprecated-non-prototype] 867 | 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 C23 [-Wdeprecated-non-prototype] 870 | 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 C23 [-Wdeprecated-non-prototype] 897 | 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 C23 [-Wdeprecated-non-prototype] 906 | zread(infile, (byte *)globals->sv_cmap, sizeof(short) * maplen); | ^ rlelib.c:911:10: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | SWAB(globals->sv_cmap[i]); | ^ ./rle.h:46:25: note: expanded from macro 'SWAB' 46 | #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) | ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' 115 | doMemToValLSB(PTR,LEN)) | ^ rlelib.c:921:2: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | BREAD(short, comlen, sizeof comlen); /* get comment length */ | ^ rlelib.c:801:11: note: expanded from macro 'BREAD' 801 | 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 C23 [-Wdeprecated-non-prototype] 922 | SWAB(comlen); | ^ ./rle.h:46:25: note: expanded from macro 'SWAB' 46 | #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) | ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' 115 | 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 C23 [-Wdeprecated-non-prototype] 924 | 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 C23 [-Wdeprecated-non-prototype] 932 | 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 C23 [-Wdeprecated-non-prototype] 940 | (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 C23 [-Wdeprecated-non-prototype] 988 | 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 C23 [-Wdeprecated-non-prototype] 1046 | 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 C23 [-Wdeprecated-non-prototype] 1076 | 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 C23 [-Wdeprecated-non-prototype] 1108 | 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 C23 [-Wdeprecated-non-prototype] 1124 | 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 C23 [-Wdeprecated-non-prototype] 1127 | 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 C23 [-Wdeprecated-non-prototype] 1153 | BREAD(struct inst, inst, 2); | ^ rlelib.c:801:11: note: expanded from macro 'BREAD' 801 | 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 C23 [-Wdeprecated-non-prototype] 1165 | BREAD(short, long_data, sizeof long_data); | ^ rlelib.c:801:11: note: expanded from macro 'BREAD' 801 | 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 C23 [-Wdeprecated-non-prototype] 1166 | SWAB(long_data); | ^ ./rle.h:46:25: note: expanded from macro 'SWAB' 46 | #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) | ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' 115 | 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 C23 [-Wdeprecated-non-prototype] 1194 | BREAD(short, long_data, sizeof long_data); | ^ rlelib.c:801:11: note: expanded from macro 'BREAD' 801 | 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 C23 [-Wdeprecated-non-prototype] 1195 | SWAB(long_data); | ^ ./rle.h:46:25: note: expanded from macro 'SWAB' 46 | #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) | ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' 115 | 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 C23 [-Wdeprecated-non-prototype] 1216 | BREAD(short, long_data, sizeof long_data); | ^ rlelib.c:801:11: note: expanded from macro 'BREAD' 801 | 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 C23 [-Wdeprecated-non-prototype] 1217 | SWAB(long_data); | ^ ./rle.h:46:25: note: expanded from macro 'SWAB' 46 | #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) | ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' 115 | 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 C23 [-Wdeprecated-non-prototype] 1225 | 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 C23 [-Wdeprecated-non-prototype] 1227 | (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 C23 [-Wdeprecated-non-prototype] 1233 | (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 C23 [-Wdeprecated-non-prototype] 1255 | BREAD(short, long_data, sizeof long_data); | ^ rlelib.c:801:11: note: expanded from macro 'BREAD' 801 | 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 C23 [-Wdeprecated-non-prototype] 1256 | SWAB(long_data); | ^ ./rle.h:46:25: note: expanded from macro 'SWAB' 46 | #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) | ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' 115 | 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 C23 [-Wdeprecated-non-prototype] 1263 | BREAD(short, word, sizeof(short)); | ^ rlelib.c:801:11: note: expanded from macro 'BREAD' 801 | 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 C23 [-Wdeprecated-non-prototype] 1264 | SWAB(word); | ^ ./rle.h:46:25: note: expanded from macro 'SWAB' 46 | #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) | ^ ./image.h:115:23: note: expanded from macro 'memToValLSB' 115 | 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 C23 [-Wdeprecated-non-prototype] 1272 | 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 C23 [-Wdeprecated-non-prototype] 1300 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 807 | 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] 1393 | dithermap(levels, gamma, rgbmap, divN, modN, magic) | ^ 1394 | double gamma; 1395 | int rgbmap[][3]; 1396 | int divN[256]; 1397 | int modN[256]; 1398 | int magic[16][16]; 1399 | { 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 C23 [-Wdeprecated-non-prototype] 1421 | 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 C23 [-Wdeprecated-non-prototype] 1393 | 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] 1453 | bwdithermap(levels, gamma, bwmap, divN, modN, magic) | ^ 1454 | double gamma; 1455 | int bwmap[]; 1456 | int divN[256]; 1457 | int modN[256]; 1458 | int magic[16][16]; 1459 | { 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 C23 [-Wdeprecated-non-prototype] 1474 | 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 C23 [-Wdeprecated-non-prototype] 1453 | 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 C23 [-Wdeprecated-non-prototype] 1512 | 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 C23 [-Wdeprecated-non-prototype] 1568 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1354 | 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 C23 [-Wdeprecated-non-prototype] 1641 | 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] 1679 | dithergb(x, y, r, g, b, levels, divN, modN, magic) | ^ 1680 | int divN[256]; 1681 | int modN[256]; 1682 | int magic[16][16]; 1683 | { rlelib.c:1679:22: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1679 | dithergb(x, y, r, g, b, levels, divN, modN, magic) | ^ 1680 | int divN[256]; 1681 | int modN[256]; 1682 | int magic[16][16]; 1683 | { rlelib.c:1679:19: warning: parameter 'g' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1679 | dithergb(x, y, r, g, b, levels, divN, modN, magic) | ^ 1680 | int divN[256]; 1681 | int modN[256]; 1682 | int magic[16][16]; 1683 | { rlelib.c:1679:16: warning: parameter 'r' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1679 | dithergb(x, y, r, g, b, levels, divN, modN, magic) | ^ 1680 | int divN[256]; 1681 | int modN[256]; 1682 | int magic[16][16]; 1683 | { rlelib.c:1679:13: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1679 | dithergb(x, y, r, g, b, levels, divN, modN, magic) | ^ 1680 | int divN[256]; 1681 | int modN[256]; 1682 | int magic[16][16]; 1683 | { rlelib.c:1679:10: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1679 | dithergb(x, y, r, g, b, levels, divN, modN, magic) | ^ 1680 | int divN[256]; 1681 | int modN[256]; 1682 | int magic[16][16]; 1683 | { rlelib.c:1679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1679 | 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] 1710 | ditherbw(x, y, val, divN, modN, magic) | ^ 1711 | int divN[256]; 1712 | int modN[256]; 1713 | int magic[16][16]; 1714 | { rlelib.c:1710:13: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1710 | ditherbw(x, y, val, divN, modN, magic) | ^ 1711 | int divN[256]; 1712 | int modN[256]; 1713 | int magic[16][16]; 1714 | { rlelib.c:1710:10: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1710 | ditherbw(x, y, val, divN, modN, magic) | ^ 1711 | int divN[256]; 1712 | int modN[256]; 1713 | int magic[16][16]; 1714 | { rlelib.c:1710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1710 | ditherbw(x, y, val, divN, modN, magic) | ^ 109 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c smooth.c -o smooth.o smooth.c:27:14: warning: passing arguments to 'expand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | 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 C23 [-Wdeprecated-non-prototype] 28 | 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 C23 [-Wdeprecated-non-prototype] 30 | 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 C23 [-Wdeprecated-non-prototype] 51 | pixval= memToVal(yindex[y1] + xindex[x1], old->pixlen); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 65 | valToMem(pixval, destptr, new->pixlen); | ^ ./image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 71 | 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 C23 [-Wdeprecated-non-prototype] 14 | 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] 75 | Image *smooth(image, iterations, verbose) | ^ 76 | Image *image; 77 | int verbose; 78 | { int a; smooth.c:90:16: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | 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 C23 [-Wdeprecated-non-prototype] 75 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 172 | Image *smooth(); /* smooth.c */ | ^ 11 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c halftone.c -o halftone.o halftone.c:167:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | 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 C23 [-Wdeprecated-non-prototype] 178 | 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 C23 [-Wdeprecated-non-prototype] 180 | 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 C23 [-Wdeprecated-non-prototype] 195 | 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 C23 [-Wdeprecated-non-prototype] 216 | color= memToVal(sp, spl); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 155 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 143 | Image *halftone(); /* halftone.c */ | ^ 7 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c clip.c -o clip.o clip.c:25:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | 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 C23 [-Wdeprecated-non-prototype] 46 | 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 C23 [-Wdeprecated-non-prototype] 83 | 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 C23 [-Wdeprecated-non-prototype] 92 | 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 C23 [-Wdeprecated-non-prototype] 100 | valToMem(memToVal(sp, simage->pixlen), dp, simage->pixlen); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 100 | valToMem(memToVal(sp, simage->pixlen), dp, simage->pixlen); | ^ ./image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 111 | 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 C23 [-Wdeprecated-non-prototype] 14 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 128 | Image *clip(); /* clip.c */ | ^ 10 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c dither.c -o dither.o dither.c:60:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | 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 C23 [-Wdeprecated-non-prototype] 72 | 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 C23 [-Wdeprecated-non-prototype] 75 | 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 C23 [-Wdeprecated-non-prototype] 86 | 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 C23 [-Wdeprecated-non-prototype] 94 | 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 C23 [-Wdeprecated-non-prototype] 109 | 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 C23 [-Wdeprecated-non-prototype] 110 | 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 C23 [-Wdeprecated-non-prototype] 127 | color = memToVal(src, spl); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 133 | 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 C23 [-Wdeprecated-non-prototype] 141 | 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 C23 [-Wdeprecated-non-prototype] 150 | 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 C23 [-Wdeprecated-non-prototype] 152 | 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 C23 [-Wdeprecated-non-prototype] 171 | 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 C23 [-Wdeprecated-non-prototype] 172 | 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 C23 [-Wdeprecated-non-prototype] 173 | 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 C23 [-Wdeprecated-non-prototype] 40 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 137 | 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 C23 [-Wdeprecated-non-prototype] 192 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | 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 C23 [-Wdeprecated-non-prototype] 210 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | 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 C23 [-Wdeprecated-non-prototype] 235 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | static void RightToLeft(); | ^ 23 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xbitmap.c -o xbitmap.o xbitmap.c:101:13: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | 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 C23 [-Wdeprecated-non-prototype] 94 | 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 C23 [-Wdeprecated-non-prototype] 124 | 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 C23 [-Wdeprecated-non-prototype] 149 | 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 C23 [-Wdeprecated-non-prototype] 154 | 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 C23 [-Wdeprecated-non-prototype] 156 | 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 C23 [-Wdeprecated-non-prototype] 190 | 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 C23 [-Wdeprecated-non-prototype] 193 | 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 C23 [-Wdeprecated-non-prototype] 200 | 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 C23 [-Wdeprecated-non-prototype] 213 | 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 C23 [-Wdeprecated-non-prototype] 214 | 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 C23 [-Wdeprecated-non-prototype] 243 | 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 C23 [-Wdeprecated-non-prototype] 131 | 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 C23 [-Wdeprecated-non-prototype] 256 | 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 C23 [-Wdeprecated-non-prototype] 251 | int xbitmapIdent(fullname, name) | ^ 15 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xpixmap.c -o xpixmap.o xpixmap.c:38:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | 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 C23 [-Wdeprecated-non-prototype] 34 | 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 C23 [-Wdeprecated-non-prototype] 64 | 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 C23 [-Wdeprecated-non-prototype] 73 | 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 C23 [-Wdeprecated-non-prototype] 74 | 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 C23 [-Wdeprecated-non-prototype] 79 | 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 C23 [-Wdeprecated-non-prototype] 118 | 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 C23 [-Wdeprecated-non-prototype] 124 | 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 C23 [-Wdeprecated-non-prototype] 128 | 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 C23 [-Wdeprecated-non-prototype] 137 | 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 C23 [-Wdeprecated-non-prototype] 139 | 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 C23 [-Wdeprecated-non-prototype] 144 | 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 C23 [-Wdeprecated-non-prototype] 151 | *(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 C23 [-Wdeprecated-non-prototype] 152 | 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 C23 [-Wdeprecated-non-prototype] 157 | 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 C23 [-Wdeprecated-non-prototype] 158 | 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 C23 [-Wdeprecated-non-prototype] 163 | 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 C23 [-Wdeprecated-non-prototype] 169 | 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 C23 [-Wdeprecated-non-prototype] 173 | 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 C23 [-Wdeprecated-non-prototype] 175 | 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 C23 [-Wdeprecated-non-prototype] 194 | 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 C23 [-Wdeprecated-non-prototype] 212 | 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 C23 [-Wdeprecated-non-prototype] 216 | 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 C23 [-Wdeprecated-non-prototype] 217 | 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 C23 [-Wdeprecated-non-prototype] 226 | 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 C23 [-Wdeprecated-non-prototype] 230 | valToMem((unsigned long)a, dptr, image->pixlen); | ^ ./image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 233 | 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 C23 [-Wdeprecated-non-prototype] 236 | 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 C23 [-Wdeprecated-non-prototype] 43 | 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 C23 [-Wdeprecated-non-prototype] 245 | 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 C23 [-Wdeprecated-non-prototype] 240 | int xpixmapIdent(fullname, name) | ^ 31 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c pbm.c -o pbm.o pbm.c:62:16: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | 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 C23 [-Wdeprecated-non-prototype] 63 | 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 C23 [-Wdeprecated-non-prototype] 68 | 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 C23 [-Wdeprecated-non-prototype] 58 | 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 C23 [-Wdeprecated-non-prototype] 74 | 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 C23 [-Wdeprecated-non-prototype] 107 | 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 C23 [-Wdeprecated-non-prototype] 109 | if (memToVal((byte *)buf, 2) == memToVal((byte *)"P1", 2)) { | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 109 | if (memToVal((byte *)buf, 2) == memToVal((byte *)"P1", 2)) { | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 117 | if (memToVal((byte *)buf, 2) == memToVal((byte *)"P4", 2)) { | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 117 | if (memToVal((byte *)buf, 2) == memToVal((byte *)"P4", 2)) { | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 125 | if (memToVal(buf, 2) == 0x2a17) { | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 126 | 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 C23 [-Wdeprecated-non-prototype] 128 | *width= memToVal((byte *)buf, 2); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 129 | *height= memToVal((byte *)(buf + 2), 2); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 135 | if (memToVal(buf, 2) == memToVal((byte *)"P2", 2)) { | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 135 | if (memToVal(buf, 2) == memToVal((byte *)"P2", 2)) { | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 144 | if (memToVal(buf, 2) == memToVal((byte *)"P5", 2)) { | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 144 | if (memToVal(buf, 2) == memToVal((byte *)"P5", 2)) { | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 153 | if (memToVal(buf, 2) == memToVal((byte *)"P3", 2)) { | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 153 | if (memToVal(buf, 2) == memToVal((byte *)"P3", 2)) { | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 162 | if (memToVal(buf, 2) == memToVal((byte *)"P6", 2)) { | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 162 | if (memToVal(buf, 2) == memToVal((byte *)"P6", 2)) { | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 97 | 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 C23 [-Wdeprecated-non-prototype] 179 | 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 C23 [-Wdeprecated-non-prototype] 183 | 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 C23 [-Wdeprecated-non-prototype] 174 | 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 C23 [-Wdeprecated-non-prototype] 202 | 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 C23 [-Wdeprecated-non-prototype] 207 | 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 C23 [-Wdeprecated-non-prototype] 210 | 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 C23 [-Wdeprecated-non-prototype] 213 | 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 C23 [-Wdeprecated-non-prototype] 223 | 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 C23 [-Wdeprecated-non-prototype] 228 | 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 C23 [-Wdeprecated-non-prototype] 244 | 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 C23 [-Wdeprecated-non-prototype] 253 | 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 C23 [-Wdeprecated-non-prototype] 264 | 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 C23 [-Wdeprecated-non-prototype] 266 | 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 C23 [-Wdeprecated-non-prototype] 280 | 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 C23 [-Wdeprecated-non-prototype] 282 | 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 C23 [-Wdeprecated-non-prototype] 293 | 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 C23 [-Wdeprecated-non-prototype] 298 | 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 C23 [-Wdeprecated-non-prototype] 300 | 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 C23 [-Wdeprecated-non-prototype] 318 | 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 C23 [-Wdeprecated-non-prototype] 320 | 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 C23 [-Wdeprecated-non-prototype] 330 | 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 C23 [-Wdeprecated-non-prototype] 332 | 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 C23 [-Wdeprecated-non-prototype] 334 | 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 C23 [-Wdeprecated-non-prototype] 351 | 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 C23 [-Wdeprecated-non-prototype] 353 | 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 C23 [-Wdeprecated-non-prototype] 354 | 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 C23 [-Wdeprecated-non-prototype] 368 | 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 C23 [-Wdeprecated-non-prototype] 370 | 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 C23 [-Wdeprecated-non-prototype] 371 | 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 C23 [-Wdeprecated-non-prototype] 383 | 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 C23 [-Wdeprecated-non-prototype] 385 | 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 C23 [-Wdeprecated-non-prototype] 387 | 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 C23 [-Wdeprecated-non-prototype] 402 | 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 C23 [-Wdeprecated-non-prototype] 424 | 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 C23 [-Wdeprecated-non-prototype] 426 | 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 C23 [-Wdeprecated-non-prototype] 428 | 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 C23 [-Wdeprecated-non-prototype] 429 | 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 C23 [-Wdeprecated-non-prototype] 439 | 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 C23 [-Wdeprecated-non-prototype] 448 | 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 C23 [-Wdeprecated-non-prototype] 457 | 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 C23 [-Wdeprecated-non-prototype] 458 | 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 C23 [-Wdeprecated-non-prototype] 187 | Image *pbmLoad(fullname, name, verbose) | ^ pbm.c:363:11: warning: unsequenced modification and access to 'destptr' [-Wunsequenced] 363 | *(destptr++) = PM_SCALE(*destptr, maxval, 0xff); | ^ ~~~~~~~ 66 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c pcx.c -o pcx.o pcx.c:56:20: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | 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 C23 [-Wdeprecated-non-prototype] 58 | 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 C23 [-Wdeprecated-non-prototype] 59 | 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 C23 [-Wdeprecated-non-prototype] 77 | 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 C23 [-Wdeprecated-non-prototype] 78 | 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 C23 [-Wdeprecated-non-prototype] 43 | 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 C23 [-Wdeprecated-non-prototype] 120 | 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 C23 [-Wdeprecated-non-prototype] 123 | 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 C23 [-Wdeprecated-non-prototype] 95 | 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 C23 [-Wdeprecated-non-prototype] 185 | 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 C23 [-Wdeprecated-non-prototype] 190 | 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 C23 [-Wdeprecated-non-prototype] 193 | 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 C23 [-Wdeprecated-non-prototype] 165 | 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 C23 [-Wdeprecated-non-prototype] 258 | 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 C23 [-Wdeprecated-non-prototype] 310 | 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 C23 [-Wdeprecated-non-prototype] 312 | 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 C23 [-Wdeprecated-non-prototype] 313 | 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 C23 [-Wdeprecated-non-prototype] 314 | 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 C23 [-Wdeprecated-non-prototype] 318 | 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 C23 [-Wdeprecated-non-prototype] 321 | 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 C23 [-Wdeprecated-non-prototype] 347 | 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 C23 [-Wdeprecated-non-prototype] 349 | 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 C23 [-Wdeprecated-non-prototype] 353 | 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 C23 [-Wdeprecated-non-prototype] 355 | 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 C23 [-Wdeprecated-non-prototype] 356 | 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 C23 [-Wdeprecated-non-prototype] 366 | 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 C23 [-Wdeprecated-non-prototype] 376 | 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 C23 [-Wdeprecated-non-prototype] 377 | 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 C23 [-Wdeprecated-non-prototype] 378 | 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 C23 [-Wdeprecated-non-prototype] 295 | Image *pcxLoad ( fullname, name, verbose ) | ^ 30 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xwd.c -o xwd.o xwd.c:33:12: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | 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 C23 [-Wdeprecated-non-prototype] 39 | if (memToVal(gh.file_version, 4) != XWD_VERSION) | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 46 | header->header_size= memToVal(gh.header_size, 4); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 47 | header->file_version= memToVal(gh.file_version, 4); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 48 | header->pixmap_format= memToVal(gh.pixmap_format, 4); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 49 | header->pixmap_depth= memToVal(gh.pixmap_depth, 4); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 50 | header->pixmap_width= memToVal(gh.pixmap_width, 4); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 51 | header->pixmap_height= memToVal(gh.pixmap_height, 4); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 52 | header->xoffset= memToVal(gh.xoffset, 4); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 53 | header->byte_order= memToVal(gh.byte_order, 4); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 54 | header->bitmap_unit= memToVal(gh.bitmap_unit, 4); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 55 | header->bitmap_bit_order= memToVal(gh.bitmap_bit_order, 4); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 56 | header->bitmap_pad= memToVal(gh.bitmap_pad, 4); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 57 | header->bits_per_pixel= memToVal(gh.bits_per_pixel, 4); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 58 | header->bytes_per_line= memToVal(gh.bytes_per_line, 4); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 59 | header->visual_class= memToVal(gh.visual_class, 4); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 64 | header->colormap_entries= memToVal(gh.colormap_entries, 4); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 65 | header->ncolors= memToVal(gh.ncolors, 4); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 79 | 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 C23 [-Wdeprecated-non-prototype] 131 | 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 C23 [-Wdeprecated-non-prototype] 25 | 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 C23 [-Wdeprecated-non-prototype] 141 | 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 C23 [-Wdeprecated-non-prototype] 144 | 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 C23 [-Wdeprecated-non-prototype] 135 | 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 C23 [-Wdeprecated-non-prototype] 165 | 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 C23 [-Wdeprecated-non-prototype] 185 | 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 C23 [-Wdeprecated-non-prototype] 188 | 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 C23 [-Wdeprecated-non-prototype] 192 | 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 C23 [-Wdeprecated-non-prototype] 199 | 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 C23 [-Wdeprecated-non-prototype] 202 | 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 C23 [-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 C23 [-Wdeprecated-non-prototype] 202 | valToMem(loader(dptr, unit), iptr, unit); | ^ ./image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 210 | 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 C23 [-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 C23 [-Wdeprecated-non-prototype] 210 | valToMem(loader(dptr, unit) >> shift, iptr, trailer); | ^ ./image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 213 | 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 C23 [-Wdeprecated-non-prototype] 148 | 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 C23 [-Wdeprecated-non-prototype] 242 | 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 C23 [-Wdeprecated-non-prototype] 262 | 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 C23 [-Wdeprecated-non-prototype] 269 | 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 C23 [-Wdeprecated-non-prototype] 273 | 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 C23 [-Wdeprecated-non-prototype] 281 | 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 C23 [-Wdeprecated-non-prototype] 284 | 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 C23 [-Wdeprecated-non-prototype] 288 | valToMem(memToVal(iptr + index, image->pixlen) | (1 << plane), | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 288 | valToMem(memToVal(iptr + index, image->pixlen) | (1 << plane), | ^ ./image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 303 | 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 C23 [-Wdeprecated-non-prototype] 221 | 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 C23 [-Wdeprecated-non-prototype] 328 | 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 C23 [-Wdeprecated-non-prototype] 352 | 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 C23 [-Wdeprecated-non-prototype] 355 | 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 C23 [-Wdeprecated-non-prototype] 359 | 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 C23 [-Wdeprecated-non-prototype] 366 | 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 C23 [-Wdeprecated-non-prototype] 371 | pixel= memToVal(dptr, 1); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 373 | valToMem(pixel & 0xf, iptr++, 1); /* by flipBits */ | ^ ./image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 375 | valToMem(pixel >> 4, iptr++, 1); | ^ ./image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 378 | valToMem(pixel >> 4, iptr++, 1); | ^ ./image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 380 | valToMem(pixel & 0xf, iptr++, 1); | ^ ./image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 385 | valToMem(pixel, iptr++, 1); | ^ ./image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 390 | 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 C23 [-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 C23 [-Wdeprecated-non-prototype] 390 | valToMem(loader(dptr, pixlen) & pixmask, iptr, pixlen); | ^ ./image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 403 | 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 C23 [-Wdeprecated-non-prototype] 312 | 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 C23 [-Wdeprecated-non-prototype] 417 | 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 C23 [-Wdeprecated-non-prototype] 420 | 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 C23 [-Wdeprecated-non-prototype] 448 | 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 C23 [-Wdeprecated-non-prototype] 449 | 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 C23 [-Wdeprecated-non-prototype] 474 | 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 C23 [-Wdeprecated-non-prototype] 475 | 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 C23 [-Wdeprecated-non-prototype] 484 | 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 C23 [-Wdeprecated-non-prototype] 485 | 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 C23 [-Wdeprecated-non-prototype] 494 | image->rgb.red[memToVal(cmap[a].pixel, 4)]= memToVal(cmap[a].red, 2); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 494 | image->rgb.red[memToVal(cmap[a].pixel, 4)]= memToVal(cmap[a].red, 2); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 495 | image->rgb.green[memToVal(cmap[a].pixel, 4)]= memToVal(cmap[a].green, 2); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 495 | image->rgb.green[memToVal(cmap[a].pixel, 4)]= memToVal(cmap[a].green, 2); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 496 | image->rgb.blue[memToVal(cmap[a].pixel, 4)]= memToVal(cmap[a].blue, 2); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 496 | image->rgb.blue[memToVal(cmap[a].pixel, 4)]= memToVal(cmap[a].blue, 2); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 499 | 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 C23 [-Wdeprecated-non-prototype] 407 | Image *xwdLoad(fullname, name, verbose) | ^ 80 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c mac.c -o mac.o mac.c:79:12: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | 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 C23 [-Wdeprecated-non-prototype] 87 | 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 C23 [-Wdeprecated-non-prototype] 91 | 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 C23 [-Wdeprecated-non-prototype] 55 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | 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 C23 [-Wdeprecated-non-prototype] 144 | 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 C23 [-Wdeprecated-non-prototype] 162 | 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 C23 [-Wdeprecated-non-prototype] 166 | 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 C23 [-Wdeprecated-non-prototype] 170 | 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 C23 [-Wdeprecated-non-prototype] 176 | 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 C23 [-Wdeprecated-non-prototype] 182 | 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 C23 [-Wdeprecated-non-prototype] 191 | 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 C23 [-Wdeprecated-non-prototype] 205 | 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 C23 [-Wdeprecated-non-prototype] 213 | 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 C23 [-Wdeprecated-non-prototype] 214 | 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 C23 [-Wdeprecated-non-prototype] 151 | 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 C23 [-Wdeprecated-non-prototype] 224 | 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 C23 [-Wdeprecated-non-prototype] 232 | 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 C23 [-Wdeprecated-non-prototype] 218 | int macIdent(fullname, name) | ^ 19 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c jpeg.c -o jpeg.o jpeg.c:70:11: warning: passing arguments to 'jselerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | 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 C23 [-Wdeprecated-non-prototype] 71 | 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 C23 [-Wdeprecated-non-prototype] 77 | 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 C23 [-Wdeprecated-non-prototype] 83 | ((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 C23 [-Wdeprecated-non-prototype] 97 | 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 C23 [-Wdeprecated-non-prototype] 102 | 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 C23 [-Wdeprecated-non-prototype] 104 | 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 C23 [-Wdeprecated-non-prototype] 108 | (*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 C23 [-Wdeprecated-non-prototype] 59 | 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 C23 [-Wdeprecated-non-prototype] 125 | 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 C23 [-Wdeprecated-non-prototype] 126 | 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 C23 [-Wdeprecated-non-prototype] 133 | 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 C23 [-Wdeprecated-non-prototype] 140 | ((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 C23 [-Wdeprecated-non-prototype] 153 | 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 C23 [-Wdeprecated-non-prototype] 158 | 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 C23 [-Wdeprecated-non-prototype] 161 | 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 C23 [-Wdeprecated-non-prototype] 165 | (*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 C23 [-Wdeprecated-non-prototype] 114 | 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 C23 [-Wdeprecated-non-prototype] 183 | 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 C23 [-Wdeprecated-non-prototype] 184 | 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 C23 [-Wdeprecated-non-prototype] 196 | 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 C23 [-Wdeprecated-non-prototype] 197 | 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 C23 [-Wdeprecated-non-prototype] 177 | 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 C23 [-Wdeprecated-non-prototype] 211 | 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 C23 [-Wdeprecated-non-prototype] 262 | 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 C23 [-Wdeprecated-non-prototype] 259 | 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 C23 [-Wdeprecated-non-prototype] 270 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 726 | 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 C23 [-Wdeprecated-non-prototype] 302 | 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 C23 [-Wdeprecated-non-prototype] 311 | return JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 299 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | 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 C23 [-Wdeprecated-non-prototype] 326 | 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 C23 [-Wdeprecated-non-prototype] 328 | 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 C23 [-Wdeprecated-non-prototype] 321 | 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 C23 [-Wdeprecated-non-prototype] 345 | ERREXIT(cinfo->emethods, "Arithmetic coding not supported"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 348 | 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 C23 [-Wdeprecated-non-prototype] 351 | 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 C23 [-Wdeprecated-non-prototype] 356 | 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 C23 [-Wdeprecated-non-prototype] 359 | 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 C23 [-Wdeprecated-non-prototype] 333 | 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 C23 [-Wdeprecated-non-prototype] 380 | ERREXIT(cinfo->emethods, "Bogus sampling factors"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 366 | 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 C23 [-Wdeprecated-non-prototype] 431 | 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 C23 [-Wdeprecated-non-prototype] 434 | 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 C23 [-Wdeprecated-non-prototype] 477 | (*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 C23 [-Wdeprecated-non-prototype] 485 | (*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 C23 [-Wdeprecated-non-prototype] 486 | (*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 C23 [-Wdeprecated-non-prototype] 489 | (*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 C23 [-Wdeprecated-non-prototype] 492 | (*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 C23 [-Wdeprecated-non-prototype] 493 | (*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 C23 [-Wdeprecated-non-prototype] 494 | (*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 C23 [-Wdeprecated-non-prototype] 501 | FREE(cinfo->comp_info); | ^ jpeg.c:498:35: note: expanded from macro 'FREE' 498 | (*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 C23 [-Wdeprecated-non-prototype] 503 | FREE(cinfo->quant_tbl_ptrs[i]); | ^ jpeg.c:498:35: note: expanded from macro 'FREE' 498 | (*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 C23 [-Wdeprecated-non-prototype] 505 | FREE(cinfo->dc_huff_tbl_ptrs[i]); | ^ jpeg.c:498:35: note: expanded from macro 'FREE' 498 | (*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 C23 [-Wdeprecated-non-prototype] 506 | FREE(cinfo->ac_huff_tbl_ptrs[i]); | ^ jpeg.c:498:35: note: expanded from macro 'FREE' 498 | (*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 C23 [-Wdeprecated-non-prototype] 409 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 688 | 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 C23 [-Wdeprecated-non-prototype] 588 | a = JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 589 | return (a << 8) + JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 582 | 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 C23 [-Wdeprecated-non-prototype] 602 | TRACEMS2(cinfo->emethods, 1, | ^ ./jpeg.h:529:31: note: expanded from macro 'TRACEMS2' 529 | (*(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 C23 [-Wdeprecated-non-prototype] 606 | (void) JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 594 | 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 C23 [-Wdeprecated-non-prototype] 624 | index = JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 626 | TRACEMS1(cinfo->emethods, 1, "Define Huffman Table 0x%02x", index); | ^ ./jpeg.h:524:31: note: expanded from macro 'TRACEMS1' 524 | (*(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 C23 [-Wdeprecated-non-prototype] 631 | bits[i] = JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 635 | TRACEMS8(cinfo->emethods, 2, " %3d %3d %3d %3d %3d %3d %3d %3d", | ^ ./jpeg.h:553:31: note: expanded from macro 'TRACEMS8' 553 | (*(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 C23 [-Wdeprecated-non-prototype] 638 | TRACEMS8(cinfo->emethods, 2, " %3d %3d %3d %3d %3d %3d %3d %3d", | ^ ./jpeg.h:553:31: note: expanded from macro 'TRACEMS8' 553 | (*(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 C23 [-Wdeprecated-non-prototype] 643 | ERREXIT(cinfo->emethods, "Bogus DHT counts"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 646 | huffval[i] = JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 658 | ERREXIT1(cinfo->emethods, "Bogus DHT index %d", index); | ^ ./jpeg.h:504:30: note: expanded from macro 'ERREXIT1' 504 | (*(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 C23 [-Wdeprecated-non-prototype] 661 | *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 C23 [-Wdeprecated-non-prototype] 611 | 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 C23 [-Wdeprecated-non-prototype] 682 | index = JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 683 | val = JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 685 | TRACEMS2(cinfo->emethods, 1, | ^ ./jpeg.h:529:31: note: expanded from macro 'TRACEMS2' 529 | (*(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 C23 [-Wdeprecated-non-prototype] 689 | ERREXIT1(cinfo->emethods, "Bogus DAC index %d", index); | ^ ./jpeg.h:504:30: note: expanded from macro 'ERREXIT1' 504 | (*(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 C23 [-Wdeprecated-non-prototype] 697 | ERREXIT1(cinfo->emethods, "Bogus DAC value 0x%x", val); | ^ ./jpeg.h:504:30: note: expanded from macro 'ERREXIT1' 504 | (*(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 C23 [-Wdeprecated-non-prototype] 672 | 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 C23 [-Wdeprecated-non-prototype] 718 | n = JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 722 | TRACEMS2(cinfo->emethods, 1, | ^ ./jpeg.h:529:31: note: expanded from macro 'TRACEMS2' 529 | (*(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 C23 [-Wdeprecated-non-prototype] 726 | ERREXIT1(cinfo->emethods, "Bogus table number %d", n); | ^ ./jpeg.h:504:30: note: expanded from macro 'ERREXIT1' 504 | (*(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 C23 [-Wdeprecated-non-prototype] 729 | 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 C23 [-Wdeprecated-non-prototype] 733 | tmp = JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 735 | tmp = (tmp<<8) + JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 740 | TRACEMS8(cinfo->emethods, 2, " %4d %4d %4d %4d %4d %4d %4d %4d", | ^ ./jpeg.h:553:31: note: expanded from macro 'TRACEMS8' 553 | (*(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 C23 [-Wdeprecated-non-prototype] 706 | 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 C23 [-Wdeprecated-non-prototype] 757 | ERREXIT(cinfo->emethods, "Bogus length in DRI"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 761 | TRACEMS1(cinfo->emethods, 1, | ^ ./jpeg.h:524:31: note: expanded from macro 'TRACEMS1' 524 | (*(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 C23 [-Wdeprecated-non-prototype] 752 | 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 C23 [-Wdeprecated-non-prototype] 782 | b[buffp] = JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 789 | ERREXIT2(cinfo->emethods, "Unsupported JFIF revision number %d.%02d", | ^ ./jpeg.h:507:30: note: expanded from macro 'ERREXIT2' 507 | (*(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 C23 [-Wdeprecated-non-prototype] 793 | TRACEMS2(cinfo->emethods, 0, "Warning: unknown JFIF revision number %d.%02d", | ^ ./jpeg.h:529:31: note: expanded from macro 'TRACEMS2' 529 | (*(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 C23 [-Wdeprecated-non-prototype] 802 | TRACEMS3(cinfo->emethods, 1, "JFIF APP0 marker, density %dx%d %d", | ^ ./jpeg.h:535:31: note: expanded from macro 'TRACEMS3' 535 | (*(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 C23 [-Wdeprecated-non-prototype] 805 | TRACEMS(cinfo->emethods, 1, "Unknown APP0 marker (not JFIF)"); | ^ ./jpeg.h:520:31: note: expanded from macro 'TRACEMS' 520 | ((*(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 C23 [-Wdeprecated-non-prototype] 808 | TRACEMS1(cinfo->emethods, 1, | ^ ./jpeg.h:524:31: note: expanded from macro 'TRACEMS1' 524 | (*(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 C23 [-Wdeprecated-non-prototype] 813 | (void) JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 767 | 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 C23 [-Wdeprecated-non-prototype] 830 | cinfo->data_precision = JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 833 | cinfo->num_components = JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 835 | TRACEMS4(cinfo->emethods, 1, | ^ ./jpeg.h:542:31: note: expanded from macro 'TRACEMS4' 542 | (*(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 C23 [-Wdeprecated-non-prototype] 845 | ERREXIT(cinfo->emethods, "Empty JPEG image (DNL not supported)"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 849 | ERREXIT(cinfo->emethods, "Unsupported JPEG data precision"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 861 | ERREXIT(cinfo->emethods, "Bogus SOF length"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 864 | (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 C23 [-Wdeprecated-non-prototype] 869 | compptr->component_id = JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 870 | c = JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 873 | compptr->quant_tbl_no = JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 875 | TRACEMS4(cinfo->emethods, 1, " Component %d: %dhx%dv q=%d", | ^ ./jpeg.h:542:31: note: expanded from macro 'TRACEMS4' 542 | (*(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 C23 [-Wdeprecated-non-prototype] 818 | 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 C23 [-Wdeprecated-non-prototype] 893 | n = JGETC(cinfo); /* Number of components */ | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 898 | ERREXIT(cinfo->emethods, "Bogus SOS length"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 900 | TRACEMS1(cinfo->emethods, 1, "Start Of Scan: %d components", n); | ^ ./jpeg.h:524:31: note: expanded from macro 'TRACEMS1' 524 | (*(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 C23 [-Wdeprecated-non-prototype] 903 | cc = JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 904 | c = JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 912 | ERREXIT(cinfo->emethods, "Invalid component number in SOS"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 919 | TRACEMS3(cinfo->emethods, 1, " c%d: [dc=%d ac=%d]", cc, | ^ ./jpeg.h:535:31: note: expanded from macro 'TRACEMS3' 535 | (*(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 C23 [-Wdeprecated-non-prototype] 924 | (void) JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 883 | 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 C23 [-Wdeprecated-non-prototype] 937 | TRACEMS(cinfo->emethods, 1, "Start of Image"); | ^ ./jpeg.h:520:31: note: expanded from macro 'TRACEMS' 520 | ((*(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 C23 [-Wdeprecated-non-prototype] 931 | 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 C23 [-Wdeprecated-non-prototype] 969 | c = JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 973 | c = JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 978 | TRACEMS2(cinfo->emethods, 1, "Skipped %d bytes before marker 0x%02x", | ^ ./jpeg.h:529:31: note: expanded from macro 'TRACEMS2' 529 | (*(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 C23 [-Wdeprecated-non-prototype] 957 | 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 C23 [-Wdeprecated-non-prototype] 1047 | TRACEMS1(cinfo->emethods, 1, "Unexpected marker 0x%02x", c); | ^ ./jpeg.h:524:31: note: expanded from macro 'TRACEMS1' 524 | (*(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 C23 [-Wdeprecated-non-prototype] 986 | 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 C23 [-Wdeprecated-non-prototype] 1118 | TRACEMS3(cinfo->emethods, 0, | ^ ./jpeg.h:535:31: note: expanded from macro 'TRACEMS3' 535 | (*(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 C23 [-Wdeprecated-non-prototype] 1065 | 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 C23 [-Wdeprecated-non-prototype] 1158 | TRACEMS(cinfo->emethods, 1, "End Of Image"); | ^ ./jpeg.h:520:31: note: expanded from macro 'TRACEMS' 520 | ((*(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 C23 [-Wdeprecated-non-prototype] 1164 | ERREXIT1(cinfo->emethods, "Unexpected marker 0x%02x", c); | ^ ./jpeg.h:504:30: note: expanded from macro 'ERREXIT1' 504 | (*(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 C23 [-Wdeprecated-non-prototype] 1144 | 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 C23 [-Wdeprecated-non-prototype] 1177 | 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 C23 [-Wdeprecated-non-prototype] 1189 | 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 C23 [-Wdeprecated-non-prototype] 1205 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 723 | 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 C23 [-Wdeprecated-non-prototype] 1279 | ERREXIT(cinfo->emethods, "Too many components for interleaved scan"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 1305 | ERREXIT(cinfo->emethods, "I'm confused about the image width"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 1309 | ERREXIT(cinfo->emethods, "Sampling factors too large for interleaved scan"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 1315 | (*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 C23 [-Wdeprecated-non-prototype] 1270 | 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 C23 [-Wdeprecated-non-prototype] 1344 | (*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 C23 [-Wdeprecated-non-prototype] 1320 | 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 C23 [-Wdeprecated-non-prototype] 1387 | 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 C23 [-Wdeprecated-non-prototype] 1349 | 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 C23 [-Wdeprecated-non-prototype] 1430 | (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 C23 [-Wdeprecated-non-prototype] 1432 | 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 C23 [-Wdeprecated-non-prototype] 1419 | 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 C23 [-Wdeprecated-non-prototype] 1449 | (*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 C23 [-Wdeprecated-non-prototype] 1451 | (*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 C23 [-Wdeprecated-non-prototype] 1439 | 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 C23 [-Wdeprecated-non-prototype] 1464 | (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 C23 [-Wdeprecated-non-prototype] 1467 | (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 C23 [-Wdeprecated-non-prototype] 1456 | 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 C23 [-Wdeprecated-non-prototype] 1484 | (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 C23 [-Wdeprecated-non-prototype] 1486 | (*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 C23 [-Wdeprecated-non-prototype] 1475 | 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 C23 [-Wdeprecated-non-prototype] 1501 | (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 C23 [-Wdeprecated-non-prototype] 1503 | (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 C23 [-Wdeprecated-non-prototype] 1509 | (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 C23 [-Wdeprecated-non-prototype] 1513 | (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 C23 [-Wdeprecated-non-prototype] 1491 | 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 C23 [-Wdeprecated-non-prototype] 1539 | (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 C23 [-Wdeprecated-non-prototype] 1541 | (*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 C23 [-Wdeprecated-non-prototype] 1545 | (*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 C23 [-Wdeprecated-non-prototype] 1546 | (*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 C23 [-Wdeprecated-non-prototype] 1528 | 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 C23 [-Wdeprecated-non-prototype] 1563 | 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 C23 [-Wdeprecated-non-prototype] 1551 | 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 C23 [-Wdeprecated-non-prototype] 1613 | (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 C23 [-Wdeprecated-non-prototype] 1570 | 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 C23 [-Wdeprecated-non-prototype] 1632 | (*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 C23 [-Wdeprecated-non-prototype] 1635 | (*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 C23 [-Wdeprecated-non-prototype] 1624 | 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 C23 [-Wdeprecated-non-prototype] 1670 | (*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 C23 [-Wdeprecated-non-prototype] 1677 | (*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 C23 [-Wdeprecated-non-prototype] 1681 | (*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 C23 [-Wdeprecated-non-prototype] 1647 | 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 C23 [-Wdeprecated-non-prototype] 1704 | (*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 C23 [-Wdeprecated-non-prototype] 1706 | (*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 C23 [-Wdeprecated-non-prototype] 1730 | (*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 C23 [-Wdeprecated-non-prototype] 1689 | 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 C23 [-Wdeprecated-non-prototype] 1809 | ((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 C23 [-Wdeprecated-non-prototype] 1815 | (*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 C23 [-Wdeprecated-non-prototype] 1816 | (*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 C23 [-Wdeprecated-non-prototype] 1817 | (*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 C23 [-Wdeprecated-non-prototype] 1843 | (*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 C23 [-Wdeprecated-non-prototype] 1895 | (*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 C23 [-Wdeprecated-non-prototype] 1896 | (*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 C23 [-Wdeprecated-non-prototype] 1897 | (*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 C23 [-Wdeprecated-non-prototype] 1898 | (*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 C23 [-Wdeprecated-non-prototype] 1901 | 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 C23 [-Wdeprecated-non-prototype] 1902 | ERREXIT(cinfo->emethods, "Didn't expect more than one scan"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 1744 | 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 C23 [-Wdeprecated-non-prototype] 1977 | (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 C23 [-Wdeprecated-non-prototype] 1980 | (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 C23 [-Wdeprecated-non-prototype] 1986 | (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 C23 [-Wdeprecated-non-prototype] 1991 | ((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 C23 [-Wdeprecated-non-prototype] 2035 | (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 C23 [-Wdeprecated-non-prototype] 2041 | (*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 C23 [-Wdeprecated-non-prototype] 2042 | (*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 C23 [-Wdeprecated-non-prototype] 2043 | (*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 C23 [-Wdeprecated-non-prototype] 2069 | (*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 C23 [-Wdeprecated-non-prototype] 2094 | (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 C23 [-Wdeprecated-non-prototype] 2122 | (*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 C23 [-Wdeprecated-non-prototype] 2123 | (*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 C23 [-Wdeprecated-non-prototype] 2124 | (*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 C23 [-Wdeprecated-non-prototype] 2125 | (*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 C23 [-Wdeprecated-non-prototype] 2139 | } 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 C23 [-Wdeprecated-non-prototype] 2149 | (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 C23 [-Wdeprecated-non-prototype] 2161 | (*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 C23 [-Wdeprecated-non-prototype] 2163 | (*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 C23 [-Wdeprecated-non-prototype] 2164 | (*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 C23 [-Wdeprecated-non-prototype] 1940 | 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 C23 [-Wdeprecated-non-prototype] 2196 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 715 | 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 C23 [-Wdeprecated-non-prototype] 2224 | 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 C23 [-Wdeprecated-non-prototype] 2317 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 719 | 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 C23 [-Wdeprecated-non-prototype] 2380 | 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 C23 [-Wdeprecated-non-prototype] 2448 | int c = JGETC(dcinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 2454 | c = JGETC(dcinfo); /* Byte stuffing */ | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 2456 | ERREXIT1(dcinfo->emethods, | ^ ./jpeg.h:504:30: note: expanded from macro 'ERREXIT1' 504 | (*(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 C23 [-Wdeprecated-non-prototype] 2442 | 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 C23 [-Wdeprecated-non-prototype] 2476 | 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 C23 [-Wdeprecated-non-prototype] 2506 | 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 C23 [-Wdeprecated-non-prototype] 2572 | ERREXIT(cinfo->emethods, "Use of undefined Huffman table"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 2557 | 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 C23 [-Wdeprecated-non-prototype] 2606 | c = JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 2610 | c = JGETC(cinfo); | ^ ./jpeg.h:390:41: note: expanded from macro 'JGETC' 390 | (*(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 C23 [-Wdeprecated-non-prototype] 2615 | ERREXIT2(cinfo->emethods, "Found 0x%02x marker instead of RST%d", | ^ ./jpeg.h:507:30: note: expanded from macro 'ERREXIT2' 507 | (*(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 C23 [-Wdeprecated-non-prototype] 2619 | TRACEMS2(cinfo->emethods, 1, "Skipped %d bytes before RST%d", | ^ ./jpeg.h:529:31: note: expanded from macro 'TRACEMS2' 529 | (*(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 C23 [-Wdeprecated-non-prototype] 2622 | TRACEMS1(cinfo->emethods, 2, "RST%d", cinfo->next_restart_num); | ^ ./jpeg.h:524:31: note: expanded from macro 'TRACEMS1' 524 | (*(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 C23 [-Wdeprecated-non-prototype] 2592 | 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 C23 [-Wdeprecated-non-prototype] 2640 | 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 C23 [-Wdeprecated-non-prototype] 2671 | 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 C23 [-Wdeprecated-non-prototype] 2683 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 716 | 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 C23 [-Wdeprecated-non-prototype] 2706 | 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 C23 [-Wdeprecated-non-prototype] 2721 | 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 C23 [-Wdeprecated-non-prototype] 2777 | 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 C23 [-Wdeprecated-non-prototype] 2770 | 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 C23 [-Wdeprecated-non-prototype] 2794 | 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 C23 [-Wdeprecated-non-prototype] 2790 | 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 C23 [-Wdeprecated-non-prototype] 2804 | 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 C23 [-Wdeprecated-non-prototype] 2823 | ERREXIT(cinfo->emethods, "Bogus JPEG colorspace"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 2830 | ERREXIT(cinfo->emethods, "Bogus JPEG colorspace"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 2835 | ERREXIT(cinfo->emethods, "Bogus JPEG colorspace"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 2839 | ERREXIT(cinfo->emethods, "Unsupported JPEG colorspace"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 2852 | ERREXIT(cinfo->emethods, "Unsupported color conversion request"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 2862 | ERREXIT(cinfo->emethods, "Unsupported color conversion request"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 2870 | ERREXIT(cinfo->emethods, "Unsupported color conversion request"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 2874 | ERREXIT(cinfo->emethods, "Unsupported output colorspace"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 2816 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 721 | 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 C23 [-Wdeprecated-non-prototype] 2911 | 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 C23 [-Wdeprecated-non-prototype] 2945 | (*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 C23 [-Wdeprecated-non-prototype] 2931 | 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 C23 [-Wdeprecated-non-prototype] 2971 | (*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 C23 [-Wdeprecated-non-prototype] 2958 | 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 C23 [-Wdeprecated-non-prototype] 2995 | 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 C23 [-Wdeprecated-non-prototype] 3007 | 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 C23 [-Wdeprecated-non-prototype] 3020 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 718 | 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 C23 [-Wdeprecated-non-prototype] 3044 | 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 C23 [-Wdeprecated-non-prototype] 3077 | ERREXIT(cinfo->emethods, "Bogus unsubsample parameters"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 3057 | 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 C23 [-Wdeprecated-non-prototype] 3112 | ERREXIT(cinfo->emethods, "Pipeline controller messed up"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 3114 | 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 C23 [-Wdeprecated-non-prototype] 3104 | 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 C23 [-Wdeprecated-non-prototype] 3124 | 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 C23 [-Wdeprecated-non-prototype] 3145 | ERREXIT(cinfo->emethods, "CCIR601 subsampling not implemented yet"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 3156 | ERREXIT(cinfo->emethods, "Fractional subsampling not implemented yet"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 3138 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 720 | 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 C23 [-Wdeprecated-non-prototype] 3252 | 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 C23 [-Wdeprecated-non-prototype] 3316 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 693 | 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 C23 [-Wdeprecated-non-prototype] 3336 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 696 | 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 C23 [-Wdeprecated-non-prototype] 3390 | ERREXIT1(methods, "Insufficient memory (case %d)", which); | ^ ./jpeg.h:504:30: note: expanded from macro 'ERREXIT1' 504 | (*(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 C23 [-Wdeprecated-non-prototype] 3386 | 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 C23 [-Wdeprecated-non-prototype] 3402 | 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 C23 [-Wdeprecated-non-prototype] 3396 | 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 C23 [-Wdeprecated-non-prototype] 3414 | 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 C23 [-Wdeprecated-non-prototype] 3410 | 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 C23 [-Wdeprecated-non-prototype] 3431 | 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 C23 [-Wdeprecated-non-prototype] 3419 | 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 C23 [-Wdeprecated-non-prototype] 3449 | 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 C23 [-Wdeprecated-non-prototype] 3441 | 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 C23 [-Wdeprecated-non-prototype] 3470 | 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 C23 [-Wdeprecated-non-prototype] 3458 | 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 C23 [-Wdeprecated-non-prototype] 3488 | 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 C23 [-Wdeprecated-non-prototype] 3480 | 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 C23 [-Wdeprecated-non-prototype] 3528 | 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 C23 [-Wdeprecated-non-prototype] 3551 | 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 C23 [-Wdeprecated-non-prototype] 3574 | 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 C23 [-Wdeprecated-non-prototype] 3614 | ERREXIT(methods, "Bogus access_big_sarray request"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 3603 | 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 C23 [-Wdeprecated-non-prototype] 3632 | ERREXIT(methods, "Bogus access_big_barray request"); | ^ ./jpeg.h:502:53: note: expanded from macro 'ERREXIT' 502 | #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 C23 [-Wdeprecated-non-prototype] 3621 | 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 C23 [-Wdeprecated-non-prototype] 3639 | 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 C23 [-Wdeprecated-non-prototype] 3649 | 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 C23 [-Wdeprecated-non-prototype] 3666 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 730 | 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 C23 [-Wdeprecated-non-prototype] 3697 | 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 C23 [-Wdeprecated-non-prototype] 3710 | 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 C23 [-Wdeprecated-non-prototype] 3725 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 729 | EXTERN void jselerror PP((external_methods_ptr emethods)); /* jerror.c */ | ^ 310 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c g3.c -o g3.o g3.c:74:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | 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 C23 [-Wdeprecated-non-prototype] 104 | 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 C23 [-Wdeprecated-non-prototype] 97 | 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 C23 [-Wdeprecated-non-prototype] 132 | 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 C23 [-Wdeprecated-non-prototype] 155 | 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 C23 [-Wdeprecated-non-prototype] 178 | 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 C23 [-Wdeprecated-non-prototype] 295 | 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 C23 [-Wdeprecated-non-prototype] 327 | 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 C23 [-Wdeprecated-non-prototype] 382 | 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 C23 [-Wdeprecated-non-prototype] 316 | 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 C23 [-Wdeprecated-non-prototype] 398 | 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 C23 [-Wdeprecated-non-prototype] 424 | 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 C23 [-Wdeprecated-non-prototype] 429 | 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 C23 [-Wdeprecated-non-prototype] 437 | 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 C23 [-Wdeprecated-non-prototype] 438 | 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 C23 [-Wdeprecated-non-prototype] 455 | 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 C23 [-Wdeprecated-non-prototype] 456 | 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 C23 [-Wdeprecated-non-prototype] 460 | 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 C23 [-Wdeprecated-non-prototype] 387 | 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 C23 [-Wdeprecated-non-prototype] 480 | 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 C23 [-Wdeprecated-non-prototype] 473 | int g3Ident(fullname, name) | ^ 21 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c path.c -o path.o path.c:96:31: warning: passing arguments to 'expandPath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | 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 C23 [-Wdeprecated-non-prototype] 105 | 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 C23 [-Wdeprecated-non-prototype] 43 | 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 C23 [-Wdeprecated-non-prototype] 144 | 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 C23 [-Wdeprecated-non-prototype] 157 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | int findImage(); | ^ path.c:261:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 261 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ path.c:309:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | 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 C23 [-Wdeprecated-non-prototype] 255 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | char *expandPath(); /* path.c */ | ^ 10 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c sunraster.c -o sunraster.o sunraster.c:23:11: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | switch (memToVal(header->type, 4)) { | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 46 | memToVal(header->width, 4), memToVal(header->height, 4)); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 46 | memToVal(header->width, 4), memToVal(header->height, 4)); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 48 | switch (memToVal(header->depth, 4)) { | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 54 | memToVal(header->maplen, 4) > 0 ? "color" : "greyscale"); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 18 | 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 C23 [-Wdeprecated-non-prototype] 76 | 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 C23 [-Wdeprecated-non-prototype] 80 | 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 C23 [-Wdeprecated-non-prototype] 87 | if (memToVal(header.magic, 4) != RMAGICNUMBER) { | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 99 | 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 C23 [-Wdeprecated-non-prototype] 70 | 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 C23 [-Wdeprecated-non-prototype] 123 | 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 C23 [-Wdeprecated-non-prototype] 128 | 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 C23 [-Wdeprecated-non-prototype] 135 | 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 C23 [-Wdeprecated-non-prototype] 151 | 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 C23 [-Wdeprecated-non-prototype] 106 | 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 C23 [-Wdeprecated-non-prototype] 175 | 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 C23 [-Wdeprecated-non-prototype] 179 | 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 C23 [-Wdeprecated-non-prototype] 182 | 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 C23 [-Wdeprecated-non-prototype] 186 | if (memToVal(header.magic, 4) != RMAGICNUMBER) { | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 187 | 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 C23 [-Wdeprecated-non-prototype] 195 | 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 C23 [-Wdeprecated-non-prototype] 199 | 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 C23 [-Wdeprecated-non-prototype] 204 | depth= memToVal(header.depth, 4); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 207 | image= newBitImage(memToVal(header.width, 4), | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 208 | memToVal(header.height, 4)); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 207 | 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 C23 [-Wdeprecated-non-prototype] 211 | image= newRGBImage(memToVal(header.width, 4), | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 212 | memToVal(header.height, 4), | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 213 | memToVal(header.depth, 4)); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 211 | 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 C23 [-Wdeprecated-non-prototype] 217 | image= newTrueImage(memToVal(header.width, 4), | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 218 | memToVal(header.height, 4), | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 219 | memToVal(header.depth, 4)); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 217 | 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 C23 [-Wdeprecated-non-prototype] 237 | if ((mapsize = memToVal(header.maplen, 4))) { | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 238 | 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 C23 [-Wdeprecated-non-prototype] 239 | 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 C23 [-Wdeprecated-non-prototype] 248 | 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 C23 [-Wdeprecated-non-prototype] 254 | 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 C23 [-Wdeprecated-non-prototype] 263 | 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 C23 [-Wdeprecated-non-prototype] 272 | 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 C23 [-Wdeprecated-non-prototype] 278 | 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 C23 [-Wdeprecated-non-prototype] 285 | enc= (memToVal(header.type, 4) == RRLENCODED); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 295 | 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 C23 [-Wdeprecated-non-prototype] 318 | 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 C23 [-Wdeprecated-non-prototype] 328 | 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 C23 [-Wdeprecated-non-prototype] 329 | 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 C23 [-Wdeprecated-non-prototype] 158 | Image *sunRasterLoad(fullname, name, verbose) | ^ 49 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c mcidas.c -o mcidas.o mcidas.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | 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 C23 [-Wdeprecated-non-prototype] 41 | 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 C23 [-Wdeprecated-non-prototype] 45 | 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 C23 [-Wdeprecated-non-prototype] 63 | 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 C23 [-Wdeprecated-non-prototype] 35 | 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 C23 [-Wdeprecated-non-prototype] 78 | 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 C23 [-Wdeprecated-non-prototype] 82 | 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 C23 [-Wdeprecated-non-prototype] 85 | 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 C23 [-Wdeprecated-non-prototype] 91 | 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 C23 [-Wdeprecated-non-prototype] 100 | 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 C23 [-Wdeprecated-non-prototype] 116 | 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 C23 [-Wdeprecated-non-prototype] 123 | 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 C23 [-Wdeprecated-non-prototype] 125 | 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 C23 [-Wdeprecated-non-prototype] 127 | 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 C23 [-Wdeprecated-non-prototype] 134 | 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 C23 [-Wdeprecated-non-prototype] 148 | 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 C23 [-Wdeprecated-non-prototype] 150 | 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 C23 [-Wdeprecated-non-prototype] 151 | 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 C23 [-Wdeprecated-non-prototype] 68 | Image *mcidasLoad(fullname, name, verbose) | ^ 19 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c fbm.c -o fbm.o fbm.c:123:12: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | 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 C23 [-Wdeprecated-non-prototype] 108 | 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 C23 [-Wdeprecated-non-prototype] 188 | 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 C23 [-Wdeprecated-non-prototype] 205 | 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 C23 [-Wdeprecated-non-prototype] 209 | 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 C23 [-Wdeprecated-non-prototype] 214 | 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 C23 [-Wdeprecated-non-prototype] 216 | 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 C23 [-Wdeprecated-non-prototype] 221 | 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 C23 [-Wdeprecated-non-prototype] 223 | 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 C23 [-Wdeprecated-non-prototype] 250 | 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 C23 [-Wdeprecated-non-prototype] 258 | 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 C23 [-Wdeprecated-non-prototype] 261 | 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 C23 [-Wdeprecated-non-prototype] 262 | 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 C23 [-Wdeprecated-non-prototype] 195 | 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 C23 [-Wdeprecated-non-prototype] 272 | 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 C23 [-Wdeprecated-non-prototype] 280 | 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 C23 [-Wdeprecated-non-prototype] 266 | int fbmIdent(fullname, name) | ^ 17 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c faces.c -o faces.o faces.c:68:13: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | 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 C23 [-Wdeprecated-non-prototype] 59 | 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] 87 | Image *facesLoad(fullname, name, verbose) | ^ 88 | char *fullname, *name; 89 | { ZFILE *zf; faces.c:103:19: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | 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 C23 [-Wdeprecated-non-prototype] 108 | 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 C23 [-Wdeprecated-non-prototype] 130 | 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 C23 [-Wdeprecated-non-prototype] 133 | 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 C23 [-Wdeprecated-non-prototype] 139 | 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 C23 [-Wdeprecated-non-prototype] 143 | 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 C23 [-Wdeprecated-non-prototype] 169 | 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 C23 [-Wdeprecated-non-prototype] 87 | 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 C23 [-Wdeprecated-non-prototype] 178 | 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 C23 [-Wdeprecated-non-prototype] 173 | int facesIdent(fullname, name) | ^ 13 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c cmuwmraster.c -o cmuwmraster.o cmuwmraster.c:25:11: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | (int) memToVal(headerp->width, sizeof(long)), | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 26 | (int) memToVal(headerp->height, sizeof(long)), | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 27 | (int) memToVal(headerp->depth, sizeof(short))); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 19 | 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 C23 [-Wdeprecated-non-prototype] 37 | 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 C23 [-Wdeprecated-non-prototype] 43 | 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 C23 [-Wdeprecated-non-prototype] 51 | if (memToVal(header.magic, sizeof(long)) != CMUWM_MAGIC) | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 65 | 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 C23 [-Wdeprecated-non-prototype] 30 | 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 C23 [-Wdeprecated-non-prototype] 80 | 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 C23 [-Wdeprecated-non-prototype] 86 | 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 C23 [-Wdeprecated-non-prototype] 90 | 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 C23 [-Wdeprecated-non-prototype] 94 | if (memToVal(header.magic, sizeof(long)) != CMUWM_MAGIC) | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 96 | 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 C23 [-Wdeprecated-non-prototype] 103 | 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 C23 [-Wdeprecated-non-prototype] 107 | if (memToVal(header.depth, sizeof(short)) != 1) | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | doMemToVal(PTR,LEN)) | ^ cmuwmraster.c:111:5: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 111 | (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 C23 [-Wdeprecated-non-prototype] 115 | image = newBitImage(width = memToVal(header.width, sizeof(long)), | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 116 | height = memToVal(header.height, sizeof(long))); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 115 | 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 C23 [-Wdeprecated-non-prototype] 123 | 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 C23 [-Wdeprecated-non-prototype] 145 | 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 C23 [-Wdeprecated-non-prototype] 147 | 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 C23 [-Wdeprecated-non-prototype] 70 | Image* cmuwmLoad(fullname, name, verbose) | ^ 24 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c bright.c -o bright.o bright.c:29:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | 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 C23 [-Wdeprecated-non-prototype] 19 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 130 | 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 C23 [-Wdeprecated-non-prototype] 82 | 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 C23 [-Wdeprecated-non-prototype] 73 | 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 C23 [-Wdeprecated-non-prototype] 119 | 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 C23 [-Wdeprecated-non-prototype] 151 | 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 C23 [-Wdeprecated-non-prototype] 184 | 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 C23 [-Wdeprecated-non-prototype] 186 | 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 C23 [-Wdeprecated-non-prototype] 193 | pixval= memToVal(srcptr, image->pixlen); | ^ ./image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 141 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 133 | 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] 249 | void gray(image, verbose) | ^ 250 | Image *image; 251 | { int a; bright.c:256:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | 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 C23 [-Wdeprecated-non-prototype] 249 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 132 | void gray(); | ^ 16 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c img.c -o img.o img.c:43:20: warning: passing arguments to 'zopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | 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 C23 [-Wdeprecated-non-prototype] 46 | 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 C23 [-Wdeprecated-non-prototype] 52 | 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 C23 [-Wdeprecated-non-prototype] 35 | 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 C23 [-Wdeprecated-non-prototype] 79 | 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 C23 [-Wdeprecated-non-prototype] 82 | 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 C23 [-Wdeprecated-non-prototype] 83 | 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 C23 [-Wdeprecated-non-prototype] 103 | 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 C23 [-Wdeprecated-non-prototype] 105 | 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 C23 [-Wdeprecated-non-prototype] 118 | 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 C23 [-Wdeprecated-non-prototype] 125 | 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 C23 [-Wdeprecated-non-prototype] 135 | 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 C23 [-Wdeprecated-non-prototype] 140 | 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 C23 [-Wdeprecated-non-prototype] 144 | 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 C23 [-Wdeprecated-non-prototype] 147 | 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 C23 [-Wdeprecated-non-prototype] 151 | 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 C23 [-Wdeprecated-non-prototype] 152 | 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 C23 [-Wdeprecated-non-prototype] 154 | 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 C23 [-Wdeprecated-non-prototype] 161 | 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 C23 [-Wdeprecated-non-prototype] 165 | 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 C23 [-Wdeprecated-non-prototype] 167 | 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 C23 [-Wdeprecated-non-prototype] 65 | 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 C23 [-Wdeprecated-non-prototype] 194 | 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 C23 [-Wdeprecated-non-prototype] 260 | 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 C23 [-Wdeprecated-non-prototype] 185 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | 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 C23 [-Wdeprecated-non-prototype] 277 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static void IMG_WriteByte(); /* Write output byte */ | ^ 28 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c mc_tables.c -o mc_tables.o mc_tables.c:11:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | mc_sensor(sscode) | ^ 1 warning generated. rm -f window.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG window.c window.c:75:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 75 | while ((AlarmWentOff == 0)) { | ~~~~~~~~~~~~~^~~~ window.c:75:24: note: remove extraneous parentheses around the comparison to silence this warning 75 | while ((AlarmWentOff == 0)) { | ~ ^ ~ window.c:75:24: note: use '=' to turn this equality comparison into an assignment 75 | 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 C23 [-Wdeprecated-non-prototype] 60 | 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 C23 [-Wdeprecated-non-prototype] 97 | 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 C23 [-Wdeprecated-non-prototype] 121 | 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 C23 [-Wdeprecated-non-prototype] 184 | 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 C23 [-Wdeprecated-non-prototype] 154 | 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 C23 [-Wdeprecated-non-prototype] 190 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | 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 C23 [-Wdeprecated-non-prototype] 215 | 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 C23 [-Wdeprecated-non-prototype] 204 | 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] 227 | 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 C23 [-Wdeprecated-non-prototype] 222 | 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 C23 [-Wdeprecated-non-prototype] 261 | 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 C23 [-Wdeprecated-non-prototype] 306 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | 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 C23 [-Wdeprecated-non-prototype] 336 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | 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 C23 [-Wdeprecated-non-prototype] 349 | 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 C23 [-Wdeprecated-non-prototype] 378 | 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 C23 [-Wdeprecated-non-prototype] 493 | void bestVisualOfClass(disp, scrn, image, visual_class, rvisual, rdepth) | ^ window.c:587:8: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 587 | &winx, &winy, &winwidth, &winheight); | ^~~~~ /usr/local/include/X11/Xlib.h:2595:25: note: passing argument to parameter here 2595 | int* /* x_return */, | ^ window.c:587:15: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 587 | &winx, &winy, &winwidth, &winheight); | ^~~~~ /usr/local/include/X11/Xlib.h:2596:25: note: passing argument to parameter here 2596 | int* /* y_return */, | ^ window.c:587:22: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 587 | &winx, &winy, &winwidth, &winheight); | ^~~~~~~~~ /usr/local/include/X11/Xlib.h:2597:29: note: passing argument to parameter here 2597 | int* /* width_return */, | ^ window.c:587:33: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 587 | &winx, &winy, &winwidth, &winheight); | ^~~~~~~~~~ /usr/local/include/X11/Xlib.h:2599:1: note: passing argument to parameter here 2599 | ); | ^ window.c:663:35: warning: passing arguments to 'imageToXImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | 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 C23 [-Wdeprecated-non-prototype] 733 | if (((pixmap= ximageToPixmap(disp, ImageWindow, ximageinfo)) == | ^ window.c:528:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | char imageInWindow(); | ^ 28 warnings generated. rm -f png.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG png.c png.c:47:39: warning: non-void function does not return a value [-Wreturn-type] 47 | pngIdent(char *fullname, char *name) {} | ^ png.c:73:24: warning: passing 'char[4]' to parameter of type 'png_const_bytep' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 73 | is_png = !png_sig_cmp(header, 0, sizeof(header)); | ^~~~~~ /usr/local/include/png.h:945:50: note: passing argument to parameter 'sig' here 945 | PNG_EXPORT(3, int, png_sig_cmp, (png_const_bytep sig, size_t start, | ^ png.c:150:22: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | image = newTrueImage(width, height); | ^ png.c:159:10: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 159 | destptr = image->data; | ^ ~~~~~~~~~~~ png.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | pngLoad(fullname, name, verbose) | ^ 5 warnings generated. rm -f libmgpimage.a ar cq 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 -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 -lpng16 -L/usr/local/lib -lpng -L/usr/local/lib -lmng -L/usr/local/lib -L/usr/local/lib -lXft -lgif -lXext -lX11 -Wl,-rpath,/usr/local/lib rm -f print.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 79 | char *expandPath(); /* path.c */ | ^ print.c:360:14: note: conflicting prototype is here 360 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 80 | int findImage(); | ^ print.c:362:12: note: conflicting prototype is here 362 | 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 C23 [-Wdeprecated-non-prototype] 365 | 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 C23 [-Wdeprecated-non-prototype] 417 | 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 C23 [-Wdeprecated-non-prototype] 520 | 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 C23 [-Wdeprecated-non-prototype] 543 | 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 C23 [-Wdeprecated-non-prototype] 771 | 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 C23 [-Wdeprecated-non-prototype] 796 | 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 C23 [-Wdeprecated-non-prototype] 1287 | icon_output(tp) | ^ print.c:1300:10: warning: cast to smaller integer type 'int' from 'struct fontmap *' [-Wpointer-to-int-cast] 1300 | 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 C23 [-Wdeprecated-non-prototype] 1400 | 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 C23 [-Wdeprecated-non-prototype] 1409 | 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 C23 [-Wdeprecated-non-prototype] 1434 | 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 C23 [-Wdeprecated-non-prototype] 1462 | 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 C23 [-Wdeprecated-non-prototype] 1471 | 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 C23 [-Wdeprecated-non-prototype] 1484 | 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 C23 [-Wdeprecated-non-prototype] 1542 | 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 C23 [-Wdeprecated-non-prototype] 1598 | 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 C23 [-Wdeprecated-non-prototype] 1624 | 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 C23 [-Wdeprecated-non-prototype] 1651 | icon_remember(icon, fontsize, offset, color) | ^ print.c:1661:29: warning: cast to 'struct fontmap *' from smaller integer type 'int' [-Wint-to-pointer-cast] 1661 | 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 C23 [-Wdeprecated-non-prototype] 1679 | 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 C23 [-Wdeprecated-non-prototype] 1688 | d = memToVal(src, pl); | ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 1689 | valToMem(d, tgt, pl); | ^ ./image/image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 1697 | 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 C23 [-Wdeprecated-non-prototype] 1671 | 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 C23 [-Wdeprecated-non-prototype] 1711 | 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 C23 [-Wdeprecated-non-prototype] 1718 | d = memToVal(src, pl); | ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 1719 | valToMem(d, tgt, pl); | ^ ./image/image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 1727 | 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 C23 [-Wdeprecated-non-prototype] 1703 | 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 C23 [-Wdeprecated-non-prototype] 1743 | 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 C23 [-Wdeprecated-non-prototype] 1750 | d = memToVal(src, pl); | ^ ./image/image.h:113:20: note: expanded from macro 'memToVal' 113 | 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 C23 [-Wdeprecated-non-prototype] 1751 | valToMem(d, tgt, pl); | ^ ./image/image.h:118:17: note: expanded from macro 'valToMem' 118 | 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 C23 [-Wdeprecated-non-prototype] 1759 | 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 C23 [-Wdeprecated-non-prototype] 1735 | 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 C23 [-Wdeprecated-non-prototype] 1768 | 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 C23 [-Wdeprecated-non-prototype] 1784 | 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] 1809 | 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 C23 [-Wdeprecated-non-prototype] 1814 | 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 C23 [-Wdeprecated-non-prototype] 1833 | 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] 1858 | 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 C23 [-Wdeprecated-non-prototype] 1863 | 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 C23 [-Wdeprecated-non-prototype] 1869 | 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 C23 [-Wdeprecated-non-prototype] 1913 | 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 C23 [-Wdeprecated-non-prototype] 1942 | 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 C23 [-Wdeprecated-non-prototype] 1966 | 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 C23 [-Wdeprecated-non-prototype] 1967 | 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 C23 [-Wdeprecated-non-prototype] 1972 | 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 C23 [-Wdeprecated-non-prototype] 1978 | 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 C23 [-Wdeprecated-non-prototype] 2039 | 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 C23 [-Wdeprecated-non-prototype] 2040 | 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 C23 [-Wdeprecated-non-prototype] 2045 | 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 C23 [-Wdeprecated-non-prototype] 2086 | 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 C23 [-Wdeprecated-non-prototype] 2113 | 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 C23 [-Wdeprecated-non-prototype] 2150 | 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 C23 [-Wdeprecated-non-prototype] 2188 | 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 C23 [-Wdeprecated-non-prototype] 2224 | 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 C23 [-Wdeprecated-non-prototype] 2347 | 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 C23 [-Wdeprecated-non-prototype] 2488 | 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 C23 [-Wdeprecated-non-prototype] 2564 | 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 C23 [-Wdeprecated-non-prototype] 2574 | loadfont(font, name) | ^ 62 warnings generated. rm -f x11dummy.o cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/local/lib/X11/mgp\" -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -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/local/include -I/usr/local/include -I.. -I/usr/local/include -DLIBICONV_PLUG 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 C23 [-Wdeprecated-non-prototype] 38 | 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 C23 [-Wdeprecated-non-prototype] 97 | 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 C23 [-Wdeprecated-non-prototype] 117 | 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 C23 [-Wdeprecated-non-prototype] 138 | free_alloc_colors(clr) | ^ x11dummy.c:145:34: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign] 145 | XFreeColors(display, colormap, clr->colors, clr->num, 0); | ^~~~~~~~~~~ /usr/local/include/X11/Xlib.h:2538:32: note: passing argument to parameter here 2538 | unsigned long* /* pixels */, | ^ x11dummy.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | regist_alloc_colors(clr, colors, num) | ^ 6 warnings generated. rm -f mgp2ps cc -o mgp2ps -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 -lpng16 -L/usr/local/lib -lpng -L/usr/local/lib -lmng -L/usr/local/lib -L/usr/local/lib -lXft -lgif -lXext -lX11 -Wl,-rpath,/usr/local/lib rm -f mgp._man if test -z "" ; then cd `dirname mgp` && ln -s `basename mgp.man` `basename mgp._man`; else tradcpp -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/local -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 tradcpp -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/local -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 tradcpp -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/local -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 -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xwintoppm.c -o xwintoppm.o xwintoppm.c:151:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | static long parse_long (s) | ^ xwintoppm.c:179:29: warning: passing arguments to 'Setup_Display_And_Screen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | Setup_Display_And_Screen(&argc, argv); | ^ xwintoppm.c:182:36: warning: passing arguments to 'Select_Window_Args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | target_win = Select_Window_Args(&argc, argv); | ^ xwintoppm.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | main(argc, argv) | ^ xwintoppm.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | Get24bitDirectColors(colors) | ^ xwintoppm.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | Window_Dump(window, out) | ^ xwintoppm.c:345:20: warning: passing arguments to 'outl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | if (debug) outl("xwintoppm: Getting target window information.\n"); | ^ xwintoppm.c:347:18: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | Fatal_Error("Can't get target window attributes."); | ^ xwintoppm.c:430:20: warning: passing arguments to 'outl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | if (debug) outl("xwintoppm: Getting Colors.\n"); | ^ xwintoppm.c:460:20: warning: passing arguments to 'outl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | if (debug) outl("xwintoppm: Calculating header size.\n"); | ^ xwintoppm.c:542:20: warning: passing arguments to 'outl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | if (debug) outl("xwintoppm: Dumping pixmap. bufsize=%d\n",buffer_size); | ^ xwintoppm.c:605:34: warning: passing arguments to 'outl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | if(debug && ncolors > 0) outl("xwd: Freeing colors.\n"); | ^ xwintoppm.c:611:20: warning: passing arguments to 'outl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | if (debug) outl("xwd: Freeing window name string.\n"); | ^ xwintoppm.c:639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | Error(string) | ^ xwintoppm.c:642:6: warning: passing arguments to 'outl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | outl("\nxwd: Error => %s\n", string); | ^ xwintoppm.c:645:7: warning: passing arguments to 'outl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | outl("\n"); | ^ xwintoppm.c:656:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | int Image_Size(image) | ^ xwintoppm.c:678:18: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | Fatal_Error("Out of memory!"); | ^ xwintoppm.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | ReadColors(vis,cmap,colors) | ^ xwintoppm.c:716:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | int Get_XColors(win_info, colors) | ^ xwintoppm.c:733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | _swapshort (bp, n) | ^ xwintoppm.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | _swaplong (bp, n) | ^ 22 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c dsimple.c -o dsimple.o dsimple.c:89:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | Fatal_Error("Out of memory!"); | ^ dsimple.c:83:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | char *Malloc(size) | ^ dsimple.c:108:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | Fatal_Error("Out of memory!"); | ^ dsimple.c:98:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | char *Realloc(ptr, size) | ^ dsimple.c:118:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | char *Get_Display_Name(pargc, argv) | ^ dsimple.c:154:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | Display *Open_Display(display_name) | ^ dsimple.c:178:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | void Setup_Display_And_Screen(argc, argv) | ^ dsimple.c:196:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | Fatal_Error("Unable to open font %s!", name); | ^ dsimple.c:190:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | XFontStruct *Open_Font(name) | ^ 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 C23 [-Wdeprecated-non-prototype] 211 | Fatal_Error("Can't open file %s!", filename); | ^ dsimple.c:213:16: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | Fatal_Error("file %s: Bad bitmap format.", filename); | ^ dsimple.c:215:16: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | Fatal_Error("Out of memory!"); | ^ dsimple.c:206:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | static void _bitmap_error(status, filename) | ^ dsimple.c:218:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | Pixmap ReadBitmapFile(d, filename, width, height, x_hot, y_hot) | ^ dsimple.c:240:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | void WriteBitmapFile(filename, bitmap, width, height, x_hot, y_hot) | ^ dsimple.c:305:24: warning: passing arguments to 'Window_With_Name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | w = Window_With_Name(dpy, RootWindow(dpy, screen), | ^ dsimple.c:308:17: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | Fatal_Error("No window with name %s exists!",OPTION); | ^ dsimple.c:318:17: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | Fatal_Error("Invalid window id format: %s.", OPTION); | ^ dsimple.c:276:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | Window Select_Window_Args(rargc, argv) | ^ dsimple.c:367:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | Fatal_Error("Bad color format '%s'.", name); | ^ dsimple.c:370:15: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | Fatal_Error("XAllocColor failed!"); | ^ dsimple.c:346:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | unsigned long Resolve_Color(); | ^ dsimple.c:382:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | Pixmap Bitmap_To_Pixmap(); | ^ dsimple.c:410:7: warning: passing arguments to 'outl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | outl("blip!"); | ^ dsimple.c:434:41: warning: passing arguments to 'Fatal_Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | if (status != GrabSuccess) Fatal_Error("Can't grab the mouse."); | ^ dsimple.c:418:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | Window Select_Window(); | ^ dsimple.c:469:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | Window Window_With_Name(); | ^ dsimple.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | outl(msg, arg0,arg1,arg2,arg3,arg4,arg5,arg6) | ^ dsimple.c:61:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | void outl(); | ^ dsimple.c:519:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | void Fatal_Error(); | ^ 35 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c list.c -o list.o list.c:58:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | 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 C23 [-Wdeprecated-non-prototype] 77 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | int add_to_list ( | ^ list.c:104:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 104 | if (lp = (list_ptr) malloc( sizeof( list_item))) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ list.c:104:12: note: place parentheses around the assignment to silence this warning 104 | if (lp = (list_ptr) malloc( sizeof( list_item))) { | ^ | ( ) list.c:104:12: note: use '==' to turn this assignment into an equality comparison 104 | 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 C23 [-Wdeprecated-non-prototype] 125 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | 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 C23 [-Wdeprecated-non-prototype] 149 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | 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 C23 [-Wdeprecated-non-prototype] 176 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | 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 C23 [-Wdeprecated-non-prototype] 207 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | 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 C23 [-Wdeprecated-non-prototype] 243 | 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 C23 [-Wdeprecated-non-prototype] 229 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | 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 C23 [-Wdeprecated-non-prototype] 257 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | 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 C23 [-Wdeprecated-non-prototype] 279 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | 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 C23 [-Wdeprecated-non-prototype] 297 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | int list_is_empty ( | ^ 22 warnings generated. cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c multiVis.c -o multiVis.o multiVis.c:190:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | 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 C23 [-Wdeprecated-non-prototype] 203 | 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 C23 [-Wdeprecated-non-prototype] 266 | 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 C23 [-Wdeprecated-non-prototype] 324 | 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 C23 [-Wdeprecated-non-prototype] 412 | 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 C23 [-Wdeprecated-non-prototype] 498 | 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 C23 [-Wdeprecated-non-prototype] 685 | 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 C23 [-Wdeprecated-non-prototype] 781 | 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 C23 [-Wdeprecated-non-prototype] 884 | 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 C23 [-Wdeprecated-non-prototype] 894 | 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 C23 [-Wdeprecated-non-prototype] 907 | 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 C23 [-Wdeprecated-non-prototype] 932 | 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 C23 [-Wdeprecated-non-prototype] 954 | 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] 976 | width, height, border_width,vis, cmap, parent) | ^ 977 | list_ptr image_wins; 978 | Window w; 979 | int xrr; 980 | int yrr; 981 | int x_vis; 982 | int y_vis; 983 | int width; 984 | int height; 985 | Visual *vis; 986 | Colormap cmap; 987 | Window parent; 988 | { multiVis.c:975:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | 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 C23 [-Wdeprecated-non-prototype] 1013 | 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 C23 [-Wdeprecated-non-prototype] 1033 | 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 C23 [-Wdeprecated-non-prototype] 1107 | 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 C23 [-Wdeprecated-non-prototype] 1241 | void FreeXVisualInfo(pVisuals, pOverlayVisuals, pImageVisuals) | ^ 19 warnings generated. rm -f xwintoppm cc -o xwintoppm -L/usr/local/lib xwintoppm.o dsimple.o list.o multiVis.o -lXmu -lXt -lSM -lICE -lXext -lX11 -lXext -lX11 -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 tradcpp -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/local -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 tradcpp -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/local -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 cd /wrkdirs/usr/ports/misc/magicpoint/work/magicpoint-1.13a/contrib/xmindpath && IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/misc/magicpoint/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/magicpoint/work XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/magicpoint/work/.cache HOME=/wrkdirs/usr/ports/misc/magicpoint/work TMPDIR="/tmp" PATH=/usr/local/libexec/ccache:/wrkdirs/usr/ports/misc/magicpoint/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/magicpoint/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-I.. -I/usr/local/include -DLIBICONV_PLUG" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" /usr/bin/make MANPATH="/usr/local/share/man" DESTDIR=/wrkdirs/usr/ports/misc/magicpoint/work/stage 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/local/include -c ./main.c -o main.o ./main.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | main(argc, argv) | ^ ./main.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | mainloop(fd) | ^ ./main.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | buttonpress(button, state) | ^ ./main.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | uucplock(name) | ^ ./main.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | uucpunlock(name) | ^ ./main.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | sigtrap(no) | ^ 6 warnings generated. cc -o xmindpath main.o -lutil -lXtst -lXext -lSM -lICE -L/usr/local/lib -lX11 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> magicpoint-1.13a_20 depends on executable: pnmscale - not found ===> Installing existing package /packages/All/netpbm-11.04.02_2.pkg [pkg.DaveG.ca] Installing netpbm-11.04.02_2... [pkg.DaveG.ca] `-- Installing jasper-4.2.8... [pkg.DaveG.ca] `-- Extracting jasper-4.2.8: .......... done [pkg.DaveG.ca] Extracting netpbm-11.04.02_2: .......... done ===> magicpoint-1.13a_20 depends on executable: pnmscale - found ===> Returning to build of magicpoint-1.13a_20 ===> magicpoint-1.13a_20 depends on package: perl5>=5.42.r<5.43 - found ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/xtst.pc - found ===> magicpoint-1.13a_20 depends on file: /usr/local/libdata/pkgconfig/xft.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for magicpoint-1.13a_20 ===> Generating temporary packing list making ./image/libmgpimage.a in ./image... /usr/bin/install -c -s mgp /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/bin/mgp /usr/bin/install -c -s mgp2ps /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/bin/mgp2ps /usr/bin/install -c -m 0755 mgpembed.pl /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/bin/mgpembed installing in ./image... install in image done installing in ./sample... + mkdir -p /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/lib/X11/mgp /usr/bin/install -c -m 0444 default.mgp /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/lib/X11/mgp/default.mgp /usr/bin/install -c -m 0444 mgp1.jpg /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/lib/X11/mgp/mgp1.jpg /usr/bin/install -c -m 0444 mgp2.jpg /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/lib/X11/mgp/mgp2.jpg /usr/bin/install -c -m 0444 mgp3.jpg /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/lib/X11/mgp/mgp3.jpg install in sample done installing in ./contrib... /usr/bin/install -c -m 0755 mgpnet /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/bin/mgpnet installing in contrib/xwintoppm... /usr/bin/install -c -s xwintoppm /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/bin/xwintoppm install in contrib/xwintoppm done rm -f /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/man/man1/mgp.1* /usr/bin/install -c -m 0444 mgp._man /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/man/man1/mgp.1 gzip -n /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/man/man1/mgp.1 rm -f /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/man/man1/mgp2ps.1* /usr/bin/install -c -m 0444 mgp2ps._man /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/man/man1/mgp2ps.1 gzip -n /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/man/man1/mgp2ps.1 rm -f /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/man/man1/mgpembed.1* /usr/bin/install -c -m 0444 mgpembed._man /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/man/man1/mgpembed.1 gzip -n /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/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... rm -f /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/man/man1/mgpnet.1* /usr/bin/install -c -m 0444 mgpnet._man /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/man/man1/mgpnet.1 gzip -n /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/man/man1/mgpnet.1 installing man pages in contrib/xwintoppm... rm -f /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/man/man1/xwintoppm.1* /usr/bin/install -c -m 0444 xwintoppm._man /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/man/man1/xwintoppm.1 gzip -n /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/man/man1/xwintoppm.1 install.man in contrib/xwintoppm done install -m 444 /wrkdirs/usr/ports/misc/magicpoint/work/magicpoint-1.13a/contrib/xmindpath/xmindpath.1 /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/man/man1/ install /wrkdirs/usr/ports/misc/magicpoint/work/magicpoint-1.13a/contrib/xmindpath/xmindpath /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/bin/ /usr/bin/strip /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/bin/xmindpath /bin/mkdir -p /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/doc/magicpoint cd /wrkdirs/usr/ports/misc/magicpoint/work/magicpoint-1.13a && install -m 0644 COPYRIGHT COPYRIGHT.jp FAQ README README.fonts README.fonts.jp README.lang RELNOTES SYNTAX TODO.jp USAGE USAGE.jp /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/doc/magicpoint/ /bin/mkdir -p /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/doc/magicpoint/sample cd /wrkdirs/usr/ports/misc/magicpoint/work/magicpoint-1.13a/sample && install -m 0644 README README.jp cloud.jpg dad.eps dad.jpg default.mgp embed-jp.mgp embed.mgp gradation-jp.mgp gradation.mgp mgp-old1.jpg mgp-old2.jpg mgp-old3.jpg mgp.mng mgp1.jpg mgp2.jpg mgp3.jpg mgp3.xbm mgprc-sample multilingual.mgp sample-fr.mgp sample-jp.mgp sample.mgp sendmail6-jp.mgp sendmail6.mgp tutorial-jp.mgp tutorial.mgp v6-jp.mgp v6.mgp v6header.eps v6header.jpg /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/doc/magicpoint/sample/ /bin/mkdir -p /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/doc/magicpoint/emacs-lisp cd /wrkdirs/usr/ports/misc/magicpoint/work/magicpoint-1.13a/contrib && install -m 0644 mgp-mode.el /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/doc/magicpoint/emacs-lisp/ /bin/mkdir -p /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/doc/magicpoint/emacs-lisp/mgp-el cd /wrkdirs/usr/ports/misc/magicpoint/work/magicpoint-1.13a/contrib/mgp-el && install -m 0644 COPYING README mgp.el mgp.sty sample.tex /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/doc/magicpoint/emacs-lisp/mgp-el/ /bin/mkdir -p /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/doc/magicpoint/scripts cd /wrkdirs/usr/ports/misc/magicpoint/work/magicpoint-1.13a/contrib && install -m 555 eqn2eps.sh tex2eps.sh mgp2html.pl mgp2latex.pl /wrkdirs/usr/ports/misc/magicpoint/work/stage/usr/local/share/doc/magicpoint/scripts/ ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-01-25T10:22:10+0000' 'PKG_NOTE_ports_top_git_hash=076a295eb33c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=5a142601f023' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for magicpoint-1.13a_20 ===> Building magicpoint-1.13a_20 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for magicpoint-1.13a_20 build of misc/magicpoint | magicpoint-1.13a_20 ended at Sun Jan 25 05:27:43 EST 2026 build time: 00:05:39