=>> Building graphics/xgrasp build started at Tue May 6 01:45:32 EDT 2025 port directory: /usr/ports/graphics/xgrasp package name: xgrasp-1.7d_3 building for: FreeBSD 13amd64-weekly-desktop-job-04 13.4-RELEASE-p4 FreeBSD 13.4-RELEASE-p4 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 396 Feb 24 2024 /usr/ports/graphics/xgrasp/Makefile Ports top last git commit: 57a50b106b87 Ports top unclean checkout: yes Port dir last git commit: d9c7e0b18ad0 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1402000 Jail OSVERSION: 1304000 Job Id: 04 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1304000 UNAME_v=FreeBSD 13.4-RELEASE-p4 UNAME_r=13.4-RELEASE-p4 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=/mnt/data/.m/13amd64-weekly-desktop/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen GID=0 OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 UID=0 PWD=/mnt/data/.m/13amd64-weekly-desktop/04/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13amd64-weekly-desktop SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/mnt/data/.m/13amd64-weekly-desktop/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--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/xgrasp/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/xgrasp/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/xgrasp/work/.cache HOME=/wrkdirs/usr/ports/graphics/xgrasp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/xgrasp/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/xgrasp/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/xgrasp/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/xgrasp/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/xgrasp/work/.cache HOME=/wrkdirs/usr/ports/graphics/xgrasp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/xgrasp/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/xgrasp/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 -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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-- OSREL=13.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xgrasp" EXAMPLESDIR="share/examples/xgrasp" DATADIR="share/xgrasp" WWWDIR="www/xgrasp" ETCDIR="etc/xgrasp" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xgrasp DOCSDIR=/usr/local/share/doc/xgrasp EXAMPLESDIR=/usr/local/share/examples/xgrasp WWWDIR=/usr/local/www/xgrasp ETCDIR=/usr/local/etc/xgrasp --End SUB_LIST-- ---Begin make.conf--- 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 #### #### # Work around some weirdness when fetching golang modules GO_TAGS+=netcgo .if ${.CURDIR:M*/www/chromium*} MAKE_JOBS_NUMBER=24 .endif .if ${.CURDIR:M*/www/ungoogled-chromium*} MAKE_JOBS_NUMBER=24 .endif .if ${.CURDIR:M*/lang/rust*} MAKE_JOBS_NUMBER=10 .endif .if ${.CURDIR:M*/lang/gcc*} MAKE_JOBS_NUMBER=10 .endif .if ${.CURDIR:M*/www/iridium*} MAKE_JOBS_NUMBER=16 .endif .if ${.CURDIR:M*/devel/electron*} MAKE_JOBS_NUMBER=20 .endif .if ${.CURDIR:M*/databases/mongodb*} MAKE_JOBS_NUMBER=12 .endif .if ${.CURDIR:M*/devel/llvm*} MAKE_JOBS_NUMBER=16 .endif # Speed things up a bit MAKE_JOBS_NUMBER?=8 #### #### #MAKE_JOBS_NUMBER?=4 # Alows us to build ports non-interactivly DISABLE_LICENSES=yes LICENSES_ACCEPTED+= DCC # Enable SNDIO on anything that supports it #OPTIONS_SET+=PULSEAUDIO OPTIONS_SET+=SNDIO # Yes we have MS Windows x11-fonts_webfonts_SET+=EXTRAFONTS CLEARTYPE # Desktop Specific Options sysutils_gksu_UNSET+=NAUTILUS x11-wm_compiz-fusion_UNSET+=EMERALD accessibility_redshift_SET+=GUI VIDMODE # These ports default to other audio servers, audio_espeak_UNSET+=PORTAUDIO www_qt5-webengine_UNSET+=ALSA www_qt6-webengine_UNSET+=ALSA audio_rhvoice_UNSET+=AO comms_morse_UNSET+=OSS audio_harp_UNSET+=OSS # Somehow these options are being set and result in ports being rebuilt needlessly becuase they are actually turned off audio_alsa-plugins_SET+=FFMPEG JACK PULSEAUDIO SAMPLERATE SPEEX #### Misc Poudriere #### .include "/etc/make.conf.ports_env" ---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=nobody UID=65534 GID=65534 ===> NOTICE: The xgrasp port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xgrasp-1.7d_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.0.6.pkg [13amd64-weekly-desktop-job-04] Installing pkg-2.0.6... [13amd64-weekly-desktop-job-04] Extracting pkg-2.0.6: .......... done ===> xgrasp-1.7d_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xgrasp-1.7d_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xgrasp port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by xgrasp-1.7d_3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xgrasp port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by xgrasp-1.7d_3 for building => SHA256 Checksum OK for xgrasp.1.7d.tar.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> NOTICE: The xgrasp port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by xgrasp-1.7d_3 for building ===> Extracting for xgrasp-1.7d_3 => SHA256 Checksum OK for xgrasp.1.7d.tar.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Patching for xgrasp-1.7d_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xgrasp-1.7d_3 depends on executable: imake - not found ===> Installing existing package /packages/All/imake-1.0.10_1,1.pkg [13amd64-weekly-desktop-job-04] Installing imake-1.0.10_1,1... [13amd64-weekly-desktop-job-04] `-- Installing gccmakedep-1.0.4... [13amd64-weekly-desktop-job-04] `-- Extracting gccmakedep-1.0.4: .. done [13amd64-weekly-desktop-job-04] `-- Installing makedepend-1.0.9,1... [13amd64-weekly-desktop-job-04] `-- Extracting makedepend-1.0.9,1: .. done [13amd64-weekly-desktop-job-04] `-- Installing perl5-5.36.3_2... [13amd64-weekly-desktop-job-04] `-- Extracting perl5-5.36.3_2: .......... done [13amd64-weekly-desktop-job-04] `-- Installing xorg-cf-files-1.0.8_1... [13amd64-weekly-desktop-job-04] `-- Extracting xorg-cf-files-1.0.8_1: .......... done [13amd64-weekly-desktop-job-04] Extracting imake-1.0.10_1,1: .......... done ===> xgrasp-1.7d_3 depends on executable: imake - found ===> Returning to build of xgrasp-1.7d_3 ===> xgrasp-1.7d_3 depends on executable: tradcpp - not found ===> Installing existing package /packages/All/tradcpp-0.5.3.pkg [13amd64-weekly-desktop-job-04] Installing tradcpp-0.5.3... [13amd64-weekly-desktop-job-04] Extracting tradcpp-0.5.3: .. done ===> xgrasp-1.7d_3 depends on executable: tradcpp - found ===> Returning to build of xgrasp-1.7d_3 ===> xgrasp-1.7d_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.12,1.pkg [13amd64-weekly-desktop-job-04] Installing libX11-1.8.12,1... [13amd64-weekly-desktop-job-04] `-- Installing libxcb-1.17.0... [13amd64-weekly-desktop-job-04] | `-- Installing libXau-1.0.11... [13amd64-weekly-desktop-job-04] | `-- Extracting libXau-1.0.11: .......... done [13amd64-weekly-desktop-job-04] | `-- Installing libXdmcp-1.1.5... [13amd64-weekly-desktop-job-04] | | `-- Installing xorgproto-2024.1... [13amd64-weekly-desktop-job-04] | | `-- Extracting xorgproto-2024.1: .......... done [13amd64-weekly-desktop-job-04] | `-- Extracting libXdmcp-1.1.5: ...... done [13amd64-weekly-desktop-job-04] `-- Extracting libxcb-1.17.0: .......... done [13amd64-weekly-desktop-job-04] Extracting libX11-1.8.12,1: .......... done ===> xgrasp-1.7d_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of xgrasp-1.7d_3 ===> xgrasp-1.7d_3 depends on file: /usr/local/libdata/pkgconfig/xext.pc - not found ===> Installing existing package /packages/All/libXext-1.3.6,1.pkg [13amd64-weekly-desktop-job-04] Installing libXext-1.3.6,1... [13amd64-weekly-desktop-job-04] Extracting libXext-1.3.6,1: .......... done ===> xgrasp-1.7d_3 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> Returning to build of xgrasp-1.7d_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Configuring for xgrasp-1.7d_3 mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -- xgrasp.c parser.c exec.c readfiles.c gif.c fades.c usleep.c strdup.c glib.c > .depend =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building for xgrasp-1.7d_3 --- xgrasp.o --- --- parser.o --- --- exec.o --- --- readfiles.o --- --- gif.o --- --- fades.o --- --- usleep.o --- --- glib.o --- --- xgrasp.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xgrasp.c -o xgrasp.o --- parser.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c parser.c -o parser.o --- exec.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c exec.c -o exec.o --- readfiles.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c readfiles.c -o readfiles.o --- gif.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c gif.c -o gif.o --- fades.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c fades.c -o fades.o --- usleep.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c usleep.c -o usleep.o --- glib.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c glib.c -o glib.o glib.c:47:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | exit(1); | ^ glib.c:47:5: note: include the header or explicitly provide a declaration for 'exit' glib.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 | error(s1, s2, s3) | ^ glib.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | GetWord(fp) | ^ --- usleep.o --- usleep.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | usleep(usec) | ^ --- glib.o --- glib.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | GetLong(fp) | ^ glib.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | PutWord(fp, w) | ^ glib.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | PutLong(fp, l) | ^ glib.c:111:21: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | data = (char *) malloc(len); | ^ glib.c:111:21: note: include the header or explicitly provide a declaration for 'malloc' glib.c:113:33: warning: too few arguments in call to 'error' 113 | error("%s: not enough memory\n"); | ~~~~~ ^ glib.c:117:47: warning: too few arguments in call to 'error' 117 | error("%s: error writing: %s\n", dir[i].fname); | ~~~~~ ^ glib.c:120:5: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | free(data); | ^ glib.c:120:5: note: include the header or explicitly provide a declaration for 'free' glib.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | extractfile(in, dir, i) | ^ glib.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | writefile(fname, dir, nfiles) | ^ glib.c:159:11: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 159 | if (!strcmp(dir[i].fname, s)) | ^ glib.c:159:11: note: include the header or explicitly provide a declaration for 'strcmp' glib.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | findname(dir, nfiles, s) | ^ glib.c:165:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 165 | usage() | ^ | int glib.c:167:59: warning: too few arguments in call to 'error' 167 | error("usage: %s [-dstuea] libname [files...]\n", NULL); | ~~~~~ ^ glib.c:168:1: warning: non-void function does not return a value [-Wreturn-type] 168 | } | ^ glib.c:170:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 170 | main(argc, argv) | ^ | int glib.c:197:17: warning: call to undeclared function 'getopt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 197 | while ((c = getopt(argc, argv, "hd:s:t:u:e:a:")) != -1) | ^ --- usleep.o --- 1 warning generated. --- glib.o --- glib.c:260:39: warning: too few arguments in call to 'error' 260 | error("%s: %s not found!\n", libfname); | ~~~~~ ^ glib.c:288:24: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 287 | printf("%2d %s\t%d\t%d\n", | ~~ | %ld 288 | i, dir[i].fname, dir[i].offset, dir[i].len); | ^~~~~~~~~~~~~ glib.c:288:39: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 287 | printf("%2d %s\t%d\t%d\n", | ~~ | %ld 288 | i, dir[i].fname, dir[i].offset, dir[i].len); | ^~~~~~~~~~ glib.c:296:35: warning: too few arguments in call to 'error' 296 | error("%s: not enough memory\n"); | ~~~~~ ^ glib.c:313:6: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 313 | memcpy(&dir[i], &dir[i + 1], sizeof(FilenameStruct)); | ^ glib.c:313:6: note: include the header or explicitly provide a declaration for 'memcpy' glib.c:326:10: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 326 | n = strlen(fn); | ^ glib.c:326:10: note: include the header or explicitly provide a declaration for 'strlen' glib.c:328:57: warning: too few arguments in call to 'error' 328 | error("%s: '%s' is too long, must be < 13 chars.\n", s); | ~~~~~ ^ glib.c:337:32: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 337 | dir = (FilenameStruct *) realloc(dir, | ^ glib.c:337:32: note: include the header or explicitly provide a declaration for 'realloc' glib.c:342:6: warning: call to undeclared library function 'memset' with type 'void *(void *, int, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 342 | memset(dir[idx].fname, 0, 14); | ^ glib.c:342:6: note: include the header or explicitly provide a declaration for 'memset' glib.c:346:33: warning: too few arguments in call to 'error' 346 | error("%s: %s not found!\n", s); | ~~~~~ ^ glib.c:353:34: warning: too few arguments in call to 'error' 353 | error("%s: not enough memory\n"); | ~~~~~ ^ glib.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | main(argc, argv) | ^ --- xgrasp._man --- rm -f xgrasp._man if test -z "" ; then cd `dirname xgrasp` && ln -s `basename xgrasp.man` `basename xgrasp._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" < xgrasp.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/\@\@$/\\/' >xgrasp._man; fi --- glib._man --- rm -f glib._man if test -z "" ; then cd `dirname glib` && ln -s `basename glib.man` `basename glib._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" < glib.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/\@\@$/\\/' >glib._man; fi --- readfiles.o --- In file included from readfiles.c:29: --- xgrasp.o --- In file included from xgrasp.c:29: --- readfiles.o --- ./grasp.h:64: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 previous declaration [-Wdeprecated-non-prototype] 64 | extern char *strdup(); | ^ --- xgrasp.o --- ./grasp.h:64: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 previous declaration [-Wdeprecated-non-prototype] 64 | extern char *strdup(); | ^ --- parser.o --- In file included from parser.c:29: ./grasp.h:64: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 previous declaration [-Wdeprecated-non-prototype] 64 | extern char *strdup(); | ^ --- readfiles.o --- readfiles.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | lowerstr(s) | ^ In file included from readfiles.c:29: ./grasp.h:63: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] 63 | extern void lowerstr(); | ^ --- xgrasp.o --- xgrasp.c:58:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | exit(1); | ^ xgrasp.c:58:5: note: include the header or explicitly provide a declaration for 'exit' xgrasp.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | error(s1, s2) | ^ --- parser.o --- parser.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 | sows(ptr) | ^ --- readfiles.o --- readfiles.c:62:20: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | b[i] = GetByte(fp); | ^ --- xgrasp.o --- xgrasp.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | outi(s, i) | ^ --- parser.o --- parser.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | sowsanl(ptr) | ^ --- xgrasp.o --- xgrasp.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | outs(s1, s2) | ^ --- readfiles.o --- readfiles.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | hexdump(fp, n) | ^ --- parser.o --- parser.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | copytoken(src, dst) | ^ --- xgrasp.o --- xgrasp.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | GetByte(fp) | ^ In file included from xgrasp.c:29: ./grasp.h:56: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] 56 | extern u_int GetByte(); | ^ --- parser.o --- parser.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | lookuptoken(ptr) | ^ parser.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | tokentoint(s, ret) | ^ --- xgrasp.o --- xgrasp.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | GetWord(fp) | ^ In file included from xgrasp.c:29: ./grasp.h:57: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] 57 | extern u_int GetWord(); | ^ --- parser.o --- parser.c:225:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | error("%s: too many labels!"); | ^ parser.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | addlabel(ex, s) | ^ parser.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | addargcount(ex, tokenaddr) | ^ parser.c:243:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 243 | error("%s: text file too large. can only have %d tokens\n", MAXCODES); | ^ parser.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | addtoken(ex, t) | ^ parser.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | addstring(ex, string) | ^ --- xgrasp.o --- xgrasp.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | GetLong(fp) | ^ In file included from xgrasp.c:29: ./grasp.h:58: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] 58 | extern u_int GetLong(); | ^ --- readfiles.o --- readfiles.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | findext(s) | ^ --- parser.o --- parser.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | addint(token, arg, ex, string, integer) | ^ --- gif.o --- In file included from gif.c:29: ./grasp.h:64: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 previous declaration [-Wdeprecated-non-prototype] 64 | extern char *strdup(); | ^ --- xgrasp.o --- xgrasp.c:116:29: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | fn = (FilenameStruct *) malloc(*count * sizeof(FilenameStruct)); | ^ xgrasp.c:116:29: note: include the header or explicitly provide a declaration for 'malloc' --- readfiles.o --- readfiles.c:155:18: warning: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 155 | stringtofont(ex, i) | ^ 156 | ExecStruct *ex; 157 | { --- xgrasp.o --- xgrasp.c:121:10: warning: passing arguments to 'lowerstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | lowerstr(fn[i].fname); | ^ --- readfiles.o --- readfiles.c:163:6: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | free(ex->Code[i].val.s); | ^ readfiles.c:163:6: note: include the header or explicitly provide a declaration for 'free' --- parser.o --- parser.c:331:4: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 331 | error("%s: parse error on int range\n"); | ^ --- xgrasp.o --- xgrasp.c:123:51: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] --- readfiles.o --- readfiles.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xgrasp.o --- 123 | fprintf(stderr, "%13s %6d\n", fn[i].fname, fn[i].offset); | ~~~ ^~~~~~~~~~~~ | %6ld --- readfiles.o --- 155 | stringtofont(ex, i) | ^ --- xgrasp.o --- xgrasp.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | readdirectory(fp, count) | ^ --- parser.o --- parser.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | parsefile(ex, ptr) | ^ --- xgrasp.o --- xgrasp.c:128:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 128 | usage() | ^ | int --- gif.o --- gif.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | AddToPixel(Index) | ^ --- xgrasp.o --- xgrasp.c:131:1: warning: non-void function does not return a value [-Wreturn-type] 131 | } | ^ --- gif.o --- gif.c:165:26: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- xgrasp.o --- xgrasp.c:133:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- gif.o --- 165 | im = (ImageStruct *) malloc(sizeof(ImageStruct)); | ^ gif.c:165:26: note: include the header or explicitly provide a declaration for 'malloc' --- xgrasp.o --- 133 | main(argc, argv) | ^ | int --- gif.o --- gif.c:169:23: warning: passing arguments to 'GetLong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | filesize = GetLong(fp); /* length of whole image file... */ | ^ --- readfiles.o --- readfiles.c:213:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 213 | error("%s: image \"%s\" referenced but not in directory.\n", s); | ^ readfiles.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 | stringtoimage(ex, i, deftype) | ^ --- gif.o --- gif.c:177:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 177 | error("%s: not enough memory to read gif file.\n", NULL); | ^ gif.c:185:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 185 | if (strncmp(ptr, id, 6)) { | ^~~ /usr/include/string.h:105:26: note: passing argument to parameter here 105 | int strncmp(const char *, const char *, size_t) __pure; | ^ gif.c:186:2: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 186 | free(im->name); | ^ gif.c:186:2: note: include the header or explicitly provide a declaration for 'free' gif.c:190:25: warning: call to undeclared function 'readimage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | return (ImageStruct *) readimage(fp, dirent, EXT_PIC); | ^ gif.c:190:9: warning: cast to 'ImageStruct *' from smaller integer type 'int' [-Wint-to-pointer-cast] 190 | return (ImageStruct *) readimage(fp, dirent, EXT_PIC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- readfiles.o --- readfiles.c:232:6: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 232 | error("%s: label \"%s\" referenced but not found.\n", s); | ^ readfiles.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | stringtolabel(ex, i) | ^ --- xgrasp.o --- xgrasp.c:194:40: warning: too few arguments in call to 'error' 194 | error("%s: couldn't create mono gc.\n"); | ~~~~~ ^ xgrasp.c:200:45: warning: too few arguments in call to 'error' 200 | error("%s: only works on color displays\n"); | ~~~~~ ^ --- readfiles.o --- readfiles.c:253:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 253 | error("%s: exec \"%s\" referenced but not in directory.\n", s); | ^ readfiles.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | stringtoexec(ex, i) | ^ --- xgrasp.o --- xgrasp.c:225:5: warning: call to undeclared function 'readfiles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | readfiles(fp, dir, count); | ^ xgrasp.c:227:5: warning: call to undeclared function 'execfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 227 | execfile(exec[0], 0); | ^ xgrasp.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | main(argc, argv) | ^ --- readfiles.o --- readfiles.c:296:5: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 296 | error("%s: bad width calc."); | ^ readfiles.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 | calcwidth(data, width, height, left) | ^ readfiles.c:297:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 297 | } | ^ readfiles.c:314:27: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | font = (FontStruct *) malloc(sizeof(FontStruct)); | ^ readfiles.c:314:27: note: include the header or explicitly provide a declaration for 'malloc' --- gif.o --- gif.c:399:53: 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] 399 | xim = XCreateImage(dsp, vis, im->d, ZPixmap, 0, Image, | ^~~~~ --- readfiles.o --- readfiles.c:316:19: warning: passing arguments to 'GetLong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | (void) GetLong(fp); /* skip file length */ | ^ readfiles.c:317:19: warning: passing arguments to 'GetWord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | (void) GetWord(fp); /* skip length */ | ^ --- gif.o --- /usr/local/include/X11/Xlib.h:1443:22: note: passing argument to parameter here 1443 | char* /* data */, | ^ --- readfiles.o --- readfiles.c:320:18: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | num = GetByte(fp); | ^ readfiles.c:327:20: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | first = GetByte(fp); | ^ --- gif.o --- gif.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | readgifimage(fp, dirent) | ^ --- readfiles.o --- readfiles.c:328:26: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | font->width = GetByte(fp); | ^ readfiles.c:329:27: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | font->height = GetByte(fp); | ^ readfiles.c:330:23: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | datasize = GetByte(fp); | ^ readfiles.c:333:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 333 | error("%s: couldn't malloc glyph memory\n"); | ^ readfiles.c:355:40: 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] 355 | font->glyphs[i].width = calcwidth(data, font->width, font->height, | ^~~~ readfiles.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | readfont(fp, dirent) | ^ --- exec.o --- In file included from exec.c:31: ./grasp.h:64: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 previous declaration [-Wdeprecated-non-prototype] 64 | extern char *strdup(); | ^ --- readfiles.o --- readfiles.c:414:19: warning: passing arguments to 'GetLong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | (void) GetLong(fp); /* skip file length */ | ^ readfiles.c:420:19: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | type = GetByte(fp); | ^ readfiles.c:427:24: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | checktype = GetByte(fp); | ^ readfiles.c:432:25: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | fontascent = GetByte(fp); | ^ readfiles.c:433:18: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | num = GetByte(fp); | ^ readfiles.c:435:20: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | first = GetByte(fp) + 0x20; | ^ readfiles.c:436:27: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | proportional = GetByte(fp); /* 0 = non-proportional */ | ^ readfiles.c:437:26: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | font->width = GetByte(fp); | ^ readfiles.c:438:27: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | font->height = GetByte(fp); | ^ readfiles.c:439:19: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | bpsl = GetByte(fp); | ^ readfiles.c:441:23: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | spacegap = GetByte(fp); | ^ readfiles.c:442:22: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- exec.o --- exec.c:93:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | exit(0); | ^ --- readfiles.o --- 442 | chargap = GetByte(fp); | ^ --- exec.o --- exec.c:93:2: note: include the header or explicitly provide a declaration for 'exit' --- readfiles.o --- readfiles.c:443:20: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | lfgap = GetByte(fp); | ^ --- exec.o --- exec.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | ExitEvent(ev) | ^ --- readfiles.o --- readfiles.c:444:19: warning: passing arguments to 'GetWord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | (void) GetWord(fp); /* skip file length */ | ^ readfiles.c:445:22: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | italics = GetByte(fp); | ^ readfiles.c:447:24: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | fntinvert = GetByte(fp); /* 0 = dont invert, 1 = invert */ | ^ readfiles.c:448:23: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | fnthbold = GetByte(fp); /* number of overlapping bits horizontal */ | ^ readfiles.c:449:23: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | fntvbold = GetByte(fp); /* number of overlapping bits vertical */ | ^ readfiles.c:450:22: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | fnthmag = GetByte(fp); /* integral horizontal bit magnification */ | ^ readfiles.c:451:22: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | fntvmag = GetByte(fp); /* integral vertical bit magnification */ | ^ --- exec.o --- exec.c:104:16: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XClientMessageEvent *' [-Wincompatible-pointer-types] 104 | ExitEvent(&ev); | ^~~ --- readfiles.o --- readfiles.c:452:24: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | fnthfract = GetByte(fp); /* fractional horizontal bit magnification */ | ^ readfiles.c:453:24: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | fntvfract = GetByte(fp); /* fractional vertical bit magnification */ | ^ readfiles.c:454:27: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | fntdirection = GetByte(fp); /* Print direction 0 = left to right, 1...3 = | ^ readfiles.c:456:23: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | fntrot90 = GetByte(fp); /* rotation 0 = up, 1...3 = counterclock 1...3 */ | ^ readfiles.c:457:23: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | fnthflip = GetByte(fp); /* horizontal flip 0 = no, 1 = yes */ | ^ readfiles.c:458:23: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | fntvflip = GetByte(fp); /* vertical flip 0 = no, 1 = yes */ | ^ readfiles.c:459:23: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | fntcolor = GetByte(fp); /* color of font */ | ^ --- exec.o --- exec.c:121:2: warning: call to undeclared function 'usleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- readfiles.o --- readfiles.c:460:25: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- exec.o --- 121 | usleep(10000); /* sleep for 1/100th of a second */ | ^ --- readfiles.o --- 460 | fntsubtype = GetByte(fp); /* subcategory type of this font */ | ^ --- exec.o --- exec.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | delay(d) | ^ --- readfiles.o --- readfiles.c:470:27: warning: passing arguments to 'GetWord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | celloffs[i] = GetWord(fp); | ^ readfiles.c:473:25: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | cellwidth[i] = GetByte(fp); | ^ --- exec.o --- exec.c:144:6: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 144 | error("%s: resolvewild no data\n"); | ^ --- readfiles.o --- readfiles.c:478:6: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 478 | error("%s: couldn't malloc glyph memory\n"); | ^ --- exec.o --- exec.c:154:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | error("%s: resolvewild type mismatch.\n"); | ^ exec.c:163:9: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 163 | return (void *) ex->Code[i].val.i; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ exec.c:167:6: warning: call to undeclared function 'stringtoimage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 167 | stringtoimage(i, EXT_CLP); | ^ exec.c:172:6: warning: call to undeclared function 'stringtofont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | stringtofont(i); | ^ exec.c:176:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 176 | error("%s: resolvewild type failure\n"); | ^ --- readfiles.o --- readfiles.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | readset(fp, dirent) | ^ --- exec.o --- exec.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | resolvewild(ex, ip, type) | ^ exec.c:178:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 178 | } | ^ exec.c:184:13: warning: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 184 | installcmap(i) | ^ 185 | { exec.c: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 | installcmap(i) | ^ --- readfiles.o --- readfiles.c:551:22: warning: passing arguments to 'GetLong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | filelen = GetLong(fp); /* length of whole image file... */ | ^ readfiles.c:559:20: warning: passing arguments to 'GetWord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | magic = GetWord(fp); | ^ readfiles.c:561:17: warning: passing arguments to 'GetWord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | im->w = GetWord(fp); | ^ readfiles.c:562:17: warning: passing arguments to 'GetWord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | im->h = GetWord(fp); | ^ --- exec.o --- exec.c:300:6: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 300 | free(picreg[0]); | ^ exec.c:300:6: note: include the header or explicitly provide a declaration for 'free' exec.c:302:30: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- readfiles.o --- readfiles.c:573:17: warning: passing arguments to 'GetWord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | im->w = GetWord(fp); | ^ --- exec.o --- 302 | picreg[0] = (ImageStruct *) malloc(sizeof(ImageStruct)); | ^ exec.c:302:30: note: include the header or explicitly provide a declaration for 'malloc' --- readfiles.o --- readfiles.c:574:17: warning: passing arguments to 'GetWord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | im->h = GetWord(fp); | ^ readfiles.c:575:20: warning: passing arguments to 'GetWord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | im->xoff = GetWord(fp); | ^ readfiles.c:576:20: warning: passing arguments to 'GetWord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | im->yoff = GetWord(fp); | ^ readfiles.c:577:15: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | bpp = GetByte(fp); | ^ readfiles.c:580:13: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | if (GetByte(fp) != 0xff) | ^ readfiles.c:581:6: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 581 | error("%s: %s is corrupt\n", im->name); | ^ readfiles.c:582:16: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | type = GetByte(fp); | ^ readfiles.c:583:17: warning: passing arguments to 'GetWord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | edesc = GetWord(fp); | ^ readfiles.c:584:18: warning: passing arguments to 'GetWord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | exsize = GetWord(fp); | ^ --- exec.o --- exec.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | setvideomode(c) | ^ --- readfiles.o --- readfiles.c:601:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 601 | error("%s: malloc failed on image data.\n"); | ^ readfiles.c:661:19: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | pal = GetByte(fp); | ^ readfiles.c:662:17: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | j = GetByte(fp); | ^ --- exec.o --- exec.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | unimplemented(ex, ip) | ^ --- readfiles.o --- readfiles.c:684:31: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | int pal = GetByte(fp); | ^ readfiles.c:698:34: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | im->colors[i].red = (GetByte(fp) * 255 / maxcolorval) << 8; | ^ readfiles.c:699:36: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | im->colors[i].green = (GetByte(fp) * 255 / maxcolorval) << 8; | ^ --- exec.o --- exec.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- readfiles.o --- readfiles.c:700:35: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- exec.o --- 353 | drawWideRect(dpy, win, gc, x, y, w, h, thick) | ^ --- readfiles.o --- 700 | im->colors[i].blue = (GetByte(fp) * 255 / maxcolorval) << 8; | ^ --- exec.o --- exec.c:413:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 413 | error("%s: argcount mismatch\n"); | ^ --- readfiles.o --- readfiles.c:723:18: warning: passing arguments to 'GetWord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | blocks = GetWord(fp); | ^ --- exec.o --- exec.c:394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | f_box(ex, ip, nargs) | ^ --- readfiles.o --- readfiles.c:743:21: warning: passing arguments to 'GetWord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | rlebytes = GetWord(fp); | ^ readfiles.c:744:20: warning: passing arguments to 'GetWord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | bufsize = GetWord(fp); | ^ readfiles.c:745:16: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | esc = GetByte(fp); | ^ readfiles.c:756:30: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | u_char c = GetByte(fp); | ^ --- exec.o --- exec.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | f_break(ex, ip, nargs) | ^ --- readfiles.o --- readfiles.c:759:31: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | u_int count = GetByte(fp); | ^ readfiles.c:762:23: warning: passing arguments to 'GetWord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | count = GetWord(fp); | ^ readfiles.c:765:15: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | c = GetByte(fp); | ^ --- exec.o --- exec.c:471:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 471 | error("%s: argcount mismatch\n"); | ^ exec.c:475:13: warning: passing arguments to 'execfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | execfile(excarg(ex, ip), label); | ^ exec.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | f_call(ex, ip, nargs) | ^ exec.c:510:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 510 | error("%s: argcount mismatch\n"); | ^ exec.c:515:5: warning: call to undeclared function 'imagefade'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 515 | imagefade(fadestyle, clipreg[buf], | ^ exec.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | f_cfade(ex, ip, nargs) | ^ exec.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | f_cfree(ex, ip, nargs) | ^ exec.c:576:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 576 | error("%s: argcount mismatch\n"); | ^ --- readfiles.o --- readfiles.c:918:52: 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] 918 | xim = XCreateImage(dsp, vis, im->d, format, 0, ptr, im->w, im->h, 8, bpsl); | ^~~ --- exec.o --- exec.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | f_cgetbuf(ex, ip, nargs) | ^ --- readfiles.o --- /usr/local/include/X11/Xlib.h:1443:22: note: passing argument to parameter here 1443 | char* /* data */, | ^ readfiles.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | readimage(fp, dirent, filetype) | ^ --- exec.o --- exec.c:613:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 613 | error("%s: argcount mismatch\n"); | ^ exec.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | f_chgcolor(ex, ip, nargs) | ^ exec.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | f_circle(ex, ip, nargs) | ^ exec.c:686:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 686 | error("%s: argcount mismatch\n"); | ^ exec.c:676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | f_clearscr(ex, ip, nargs) | ^ exec.c:716:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 716 | clip = (int) resolvewild(ex, ip + 1, INTEGER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exec.c:722:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 722 | error("%s: argcount mismatch\n"); | ^ exec.c:705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 705 | f_cload(ex, ip, nargs) | ^ exec.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | f_closegl(ex, ip, nargs) | ^ exec.c:771:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 771 | error("%s: argcount mismatch\n"); | ^ exec.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | f_color(ex, ip, nargs) | ^ exec.c:807:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 807 | error("%s: argcount mismatch\n"); | ^ --- readfiles.o --- readfiles.c:956:22: warning: passing arguments to 'GetLong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | filelen = GetLong(fp); /* length of whole image file... */ | ^ --- exec.o --- exec.c:783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | f_cycle(ex, ip, nargs) | ^ exec.c:836:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 836 | error("%s: argcount mismatch\n"); | ^ exec.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | f_data(ex, ip, nargs) | ^ --- readfiles.o --- readfiles.c:994:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 994 | error("%s: malloc failed on image data.\n"); | ^ --- exec.o --- exec.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | f_databegin(ex, ip, nargs) | ^ exec.c:882:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 882 | error("%s: argcount mismatch\n"); | ^ exec.c:873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | f_dataend(ex, ip, nargs) | ^ exec.c:894:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 894 | f_dataskip(ex, ip, nargs) | ^ | int --- readfiles.o --- readfiles.c:1050:13: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | if (GetByte(fp) != 12) | ^ --- exec.o --- exec.c:904:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 904 | error("%s: argcount mismatch\n"); | ^ exec.c:894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | f_dataskip(ex, ip, nargs) | ^ --- readfiles.o --- readfiles.c:1054:33: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | im->colors[i].red = GetByte(fp) << 8; | ^ readfiles.c:1055:35: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1055 | im->colors[i].green = GetByte(fp) << 8; | ^ readfiles.c:1056:34: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1056 | im->colors[i].blue = GetByte(fp) << 8; | ^ --- exec.o --- exec.c:916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | f_dfree(ex, ip, nargs) | ^ exec.c:939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | f_dload(ex, ip, nargs) | ^ exec.c:964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | f_edge(ex, ip, nargs) | ^ --- readfiles.o --- readfiles.c:1088:32: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1088 | int byte = GetByte(fp); | ^ --- exec.o --- exec.c:988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | f_else(ex, ip, nargs) | ^ --- readfiles.o --- readfiles.c:1091:22: warning: passing arguments to 'GetByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | int value = GetByte(fp); | ^ --- exec.o --- exec.c:1011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | f_endlfloat(ex, ip, nargs) | ^ exec.c:1034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1034 | f_endif(ex, ip, nargs) | ^ --- readfiles.o --- readfiles.c:1108:52: 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] 1108 | xim = XCreateImage(dsp, vis, im->d, format, 0, ptr, im->w, im->h, 8, bpsl); | ^~~ /usr/local/include/X11/Xlib.h:1443:22: note: passing argument to parameter here 1443 | char* /* data */, | ^ --- exec.o --- exec.c:1057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1057 | f_exec(ex, ip, nargs) | ^ --- readfiles.o --- readfiles.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | readpcximage(fp, dirent) | ^ --- exec.o --- exec.c:1091:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1091 | error("%s: argcount mismatch\n"); | ^ exec.c:1081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | f_exit(ex, ip, nargs) | ^ exec.c:1104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1104 | f_ffree(ex, ip, nargs) | ^ exec.c:1140:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1140 | error("%s: argcount mismatch\n"); | ^ exec.c:1128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1128 | f_fgaps(ex, ip, nargs) | ^ exec.c:1167:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1167 | error("%s: argcount mismatch\n"); | ^ exec.c:1152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1152 | f_fload(ex, ip, nargs) | ^ exec.c:1215:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1215 | error("%s: argcount mismatch\n"); | ^ --- readfiles.o --- readfiles.c:1148:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1148 | error("%s: printcodes bogosity (%d)\n", ex->Code[i].token); | ^ readfiles.c:1117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1117 | printcodes(ex) | ^ --- exec.o --- exec.c:1185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | f_float(ex, ip, nargs) | ^ --- readfiles.o --- readfiles.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | converttypes(ex) | ^ --- exec.o --- exec.c:1306:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1306 | error("%s: argcount mismatch\n"); | ^ --- readfiles.o --- readfiles.c:1228:18: warning: passing arguments to 'GetLong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1228 | len = GetLong(fp); | ^ readfiles.c:1215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | readtxt(fp, dir) | ^ --- exec.o --- exec.c:1278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1278 | f_fly(ex, ip, nargs) | ^ --- readfiles.o --- readfiles.c:1251:6: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1251 | error("%s: %s has no extension.\n", dir[i].fname); | ^ readfiles.c:1263:39: warning: passing arguments to 'readgifimage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | image[numimages++] = readgifimage(fp, &dir[i]); | ^ readfiles.c:1285:2: warning: call to undeclared function 'parsefile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1285 | parsefile(ex, ex->txt); | ^ --- exec.o --- exec.c:1375:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1375 | error("%s: argcount mismatch\n"); | ^ exec.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 | f_font(ex, ip, nargs) | ^ exec.c:1397:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1397 | error("%s: argcount mismatch\n"); | ^ exec.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 | f_fstyle(ex, ip, nargs) | ^ --- readfiles.o --- readfiles.c:1240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1240 | readfiles(fp, dir, count) | ^ --- exec.o --- exec.c:1424:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1424 | error("%s: argcount mismatch\n"); | ^ exec.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 | f_getcolor(ex, ip, nargs) | ^ exec.c:1440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | f_getkey(ex, ip, nargs) | ^ exec.c:1473:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1473 | error("%s: argcount mismatch\n"); | ^ exec.c:1479:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1479 | error("%s: ipstack overflow\n"); | ^ exec.c:1463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1463 | f_gosub(ex, ip, nargs) | ^ exec.c:1497:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1497 | error("%s: argcount mismatch\n"); | ^ exec.c:1488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1488 | f_goto(ex, ip, nargs) | ^ exec.c:1519:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1519 | error("%s: argcount mismatch\n"); | ^ exec.c:1509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1509 | f_if(ex, ip, nargs) | ^ exec.c:1540:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1540 | error("%s: argcount mismatch\n"); | ^ exec.c:1531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1531 | f_ifkey(ex, ip, nargs) | ^ exec.c:1576:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1576 | error("%s: argcount mismatch\n"); | ^ exec.c:1559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1559 | f_ifmem(ex, ip, nargs) | ^ exec.c:1588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1588 | f_ifmouse(ex, ip, nargs) | ^ exec.c:1631:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1631 | error("%s: argcount mismatch\n"); | ^ exec.c:1616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1616 | f_ifvideo(ex, ip, nargs) | ^ exec.c:1643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1643 | f_int(ex, ip, nargs) | ^ exec.c:1698:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1698 | error("%s: argcount mismatch\n"); | ^ exec.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 | f_line(ex, ip, nargs) | ^ exec.c:1729:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1729 | error("%s: argcount mismatch\n"); | ^ exec.c:1733:13: warning: passing arguments to 'execfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1733 | execfile(excarg(ex, ip), label); | ^ exec.c:1713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1713 | f_link(ex, ip, nargs) | ^ exec.c:1742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1742 | f_local(ex, ip, nargs) | ^ exec.c:1774:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1774 | error("%s: argcount mismatch\n"); | ^ exec.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 | f_loop(ex, ip, nargs) | ^ exec.c:1801:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1801 | error("%s: argcount mismatch\n"); | ^ exec.c:1808:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1808 | error("%s: stack overflow\n"); | ^ exec.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 | f_mark(ex, ip, nargs) | ^ exec.c:1818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1818 | f_merge(ex, ip, nargs) | ^ exec.c:1858:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1858 | error("%s: argcount mismatch\n"); | ^ exec.c:1841:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1841 | f_mode(ex, ip, nargs) | ^ --- fades.o --- In file included from fades.c:30: ./grasp.h:64: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 previous declaration [-Wdeprecated-non-prototype] 64 | extern char *strdup(); | ^ --- exec.o --- exec.c:1894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1894 | f_mouse(ex, ip, nargs) | ^ exec.c:1943:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1943 | error("%s: argcount mismatch\n"); | ^ exec.c:1917:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1917 | f_move(ex, ip, nargs) | ^ exec.c:1966:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1966 | error("%s: argcount mismatch\n"); | ^ exec.c:1956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1956 | f_noise(ex, ip, nargs) | ^ exec.c:1989:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1989 | error("%s: argcount mismatch\n"); | ^ exec.c:1978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1978 | f_note(ex, ip, nargs) | ^ exec.c:2001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2001 | f_offset(ex, ip, nargs) | ^ exec.c:2025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2025 | f_opengl(ex, ip, nargs) | ^ exec.c:2048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2048 | f_out(ex, ip, nargs) | ^ exec.c:2084:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2084 | error("%s: argcount mismatch\n"); | ^ exec.c:2072:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2072 | f_palette(ex, ip, nargs) | ^ exec.c:2097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2097 | f_pan(ex, ip, nargs) | ^ --- fades.o --- fades.c:119:2: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | free(xim->data); | ^ fades.c:119:2: note: include the header or explicitly provide a declaration for 'free' --- exec.o --- exec.c:2133:6: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2133 | d = (int) resolvewild(ex, ip + 3, INTEGER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exec.c:2135:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2135 | speed = (int) resolvewild(ex, ip + 2, INTEGER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exec.c:2137:8: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2137 | buf = (int) resolvewild(ex, ip + 1, INTEGER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exec.c:2139:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2139 | fadestyle = (int) resolvewild(ex, ip, INTEGER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exec.c:2142:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2142 | error("%s: argcount mismatch\n"); | ^ exec.c:2152:2: warning: call to undeclared function 'imagefade'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2152 | imagefade(fadestyle, im, 0, 0, speed, 1); | ^ exec.c:2120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2120 | f_pfade(ex, ip, nargs) | ^ exec.c:2171:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2171 | error("%s: argcount mismatch\n"); | ^ exec.c:2163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2163 | f_pfree(ex, ip, nargs) | ^ exec.c:2185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2185 | f_pgetbuf(ex, ip, nargs) | ^ exec.c:2227:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2227 | error("%s: argcount mismatch\n"); | ^ exec.c:2209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2209 | f_pload(ex, ip, nargs) | ^ exec.c:2240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2240 | f_pnewbuf(ex, ip, nargs) | ^ exec.c:2279:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2279 | error("%s: argcount mismatch\n"); | ^ exec.c:2264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2264 | f_point(ex, ip, nargs) | ^ exec.c:2294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2294 | f_poke(ex, ip, nargs) | ^ exec.c:2318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2318 | f_pokel(ex, ip, nargs) | ^ exec.c:2342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2342 | f_pokew(ex, ip, nargs) | ^ exec.c:2366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2366 | f_pop(ex, ip, nargs) | ^ exec.c:2411:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2411 | error("%s: argcount mismatch\n"); | ^ exec.c:2389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2389 | f_position(ex, ip, nargs) | ^ exec.c:2423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2423 | f_psave(ex, ip, nargs) | ^ exec.c:2447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2447 | f_psetbuf(ex, ip, nargs) | ^ exec.c:2471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2471 | f_putdff(ex, ip, nargs) | ^ exec.c:2504:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2504 | int x = (int) resolvewild(ex, ip, INTEGER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exec.c:2505:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2505 | int y = (int) resolvewild(ex, ip + 1, INTEGER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exec.c:2506:24: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2506 | int clip = (int) resolvewild(ex, ip + 2, INTEGER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exec.c:2514:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2514 | clip = (int) resolvewild(ex, ip + 2, INTEGER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exec.c:2518:6: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2518 | y = (int) resolvewild(ex, ip + 1, INTEGER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exec.c:2519:6: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2519 | x = (int) resolvewild(ex, ip, INTEGER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exec.c:2522:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2522 | error("%s: argcount mismatch\n"); | ^ exec.c:2499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2499 | f_putup(ex, ip, nargs) | ^ exec.c:2558:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2558 | error("%s: argcount mismatch\n"); | ^ exec.c:2540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2540 | f_rect(ex, ip, nargs) | ^ exec.c:2572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2572 | f_resetgl(ex, ip, nargs) | ^ exec.c:2595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2595 | f_resetscr(ex, ip, nargs) | ^ exec.c:2628:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2628 | error("%s: argcount mismatch\n"); | ^ exec.c:2633:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2633 | error("%s: ipstack underflow\n"); | ^ exec.c:2618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2618 | f_return(ex, ip, nargs) | ^ exec.c:2643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2643 | f_revpage(ex, ip, nargs) | ^ exec.c:2666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2666 | f_send(ex, ip, nargs) | ^ --- fades.o --- fades.c:345:34: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- exec.o --- exec.c:2689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2689 | f_set(ex, ip, nargs) | ^ --- fades.o --- 345 | int *order = (int *) malloc(boxcount * sizeof(int)); | ^ fades.c:345:34: note: include the header or explicitly provide a declaration for 'malloc' fades.c:347:13: warning: call to undeclared function 'srandom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 347 | (void) srandom(getpid()); --- exec.o --- exec.c:2726:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2726 | error("%s: not 16 args to setcolor\n"); | ^ --- fades.o --- | ^ fades.c:347:21: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 347 | (void) srandom(getpid()); | ^ fades.c:351:20: warning: call to undeclared function 'random'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 351 | int i1 = random() % boxcount; | ^ --- exec.o --- exec.c:2712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2712 | f_setcolor(ex, ip, nargs) | ^ exec.c:2754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2754 | f_setpage(ex, ip, nargs) | ^ exec.c:2798:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2798 | error("%s: argcount mismatch\n"); | ^ exec.c:2777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2777 | f_setrgb(ex, ip, nargs) | ^ --- xgrasp.o --- 23 warnings generated. --- exec.o --- exec.c:2818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2818 | f_setupscr(ex, ip, nargs) | ^ exec.c:2841:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2841 | f_split(ex, ip, nargs) | ^ exec.c:2893:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2893 | error("%s: argcount mismatch\n"); | ^ exec.c:2902:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2902 | error("%s: %d,%d spread length mismatch\n", len, p2->cmaplen); | ^ --- fades.o --- fades.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | imagefade(fadestyle, im, xo, yo, speed, clip) | ^ --- exec.o --- exec.c:2865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2865 | f_spread(ex, ip, nargs) | ^ exec.c:2938:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2938 | displaystring(s, x, y) | ^ exec.c:2981:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2981 | error("%s: argcount mismatch\n"); | ^ exec.c:2960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2960 | f_text(ex, ip, nargs) | ^ exec.c:3049:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3049 | error("%s: argcount mismatch\n"); | ^ exec.c:3034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3034 | f_tile(ex, ip, nargs) | ^ exec.c:3065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3065 | f_timer(ex, ip, nargs) | ^ exec.c:3101:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3101 | error("%s: argcount mismatch\n"); | ^ exec.c:3088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3088 | f_tran(ex, ip, nargs) | ^ exec.c:3129:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3129 | error("%s: argcount mismatch\n"); | ^ exec.c:3113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3113 | f_video(ex, ip, nargs) | ^ exec.c:3139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3139 | KeyEvent(ev) | ^ exec.c:3175:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3175 | error("%s: argcount mismatch\n"); | ^ exec.c:3186:18: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XKeyEvent *' [-Wincompatible-pointer-types] 3186 | key = KeyEvent(&ev); | ^~~ exec.c:3192:13: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XClientMessageEvent *' [-Wincompatible-pointer-types] 3192 | ExitEvent(&ev); | ^~~ exec.c:3198:6: warning: call to undeclared function 'usleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3198 | usleep(10000); /* sleep for 1/100th of a second */ | ^ exec.c:3158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3158 | f_waitkey(ex, ip, nargs) | ^ exec.c:3211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3211 | f_when(ex, ip, nargs) | ^ exec.c:3270:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3270 | error("%s: argcount mismatch\n"); | ^ exec.c:3235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3235 | f_window(ex, ip, nargs) | ^ exec.c:3409:6: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3409 | error("%s: bogus token type.\n"); | ^ exec.c:3378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3378 | printexec(ex, nargs) | ^ exec.c:3435:28: 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] 3435 | switch (retval = funcs[i] (ex, ex->ip + 1, nargs)) { | ^ exec.c:3416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3416 | execfile(ex, ip) | ^ --- parser.o --- 15 warnings generated. --- gif.o --- 11 warnings generated. --- glib.o --- 31 warnings generated. --- glib --- rm -f glib cc -o glib -L/usr/local/lib glib.o -lXext -lX11 -lm -Wl,-rpath,/usr/local/lib --- fades.o --- 7 warnings generated. --- readfiles.o --- 111 warnings generated. --- exec.o --- 196 warnings generated. --- xgrasp --- rm -f xgrasp cc -o xgrasp -L/usr/local/lib xgrasp.o parser.o exec.o readfiles.o gif.o fades.o usleep.o strdup.c -lXext -lX11 -lm -Wl,-rpath,/usr/local/lib strdup.c:29:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 29 | extern char *malloc(); | ^ strdup.c:29:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' strdup.c:30:17: warning: incompatible redeclaration of library function 'strlen' [-Wincompatible-library-redeclaration] 30 | extern unsigned strlen(); | ^ strdup.c:30:17: note: 'strlen' is a builtin with type 'unsigned long (const char *)' strdup.c:35:17: warning: promoted type 'char *' of K&R function parameter is not compatible with the parameter type 'const char *' declared in a previous prototype [-Wknr-promoted-parameter] 35 | char *s; | ^ strdup.c:37:36: warning: passing arguments to 'strlen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | char *new = malloc(strlen(s) + 1); | ^ strdup.c:37:29: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | char *new = malloc(strlen(s) + 1); | ^ 5 warnings generated. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xgrasp-1.7d_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xgrasp-1.7d_3 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Staging for xgrasp-1.7d_3 ===> Generating temporary packing list /usr/bin/install -c -s xgrasp /wrkdirs/usr/ports/graphics/xgrasp/work/stage/usr/local/bin/xgrasp /usr/bin/install -c -s glib /wrkdirs/usr/ports/graphics/xgrasp/work/stage/usr/local/bin/glib install in . done rm -f /wrkdirs/usr/ports/graphics/xgrasp/work/stage/usr/local/share/man/man1/xgrasp.1* /usr/bin/install -c -m 0444 xgrasp._man /wrkdirs/usr/ports/graphics/xgrasp/work/stage/usr/local/share/man/man1/xgrasp.1 gzip -n /wrkdirs/usr/ports/graphics/xgrasp/work/stage/usr/local/share/man/man1/xgrasp.1 rm -f /wrkdirs/usr/ports/graphics/xgrasp/work/stage/usr/local/share/man/man1/glib.1* /usr/bin/install -c -m 0444 glib._man /wrkdirs/usr/ports/graphics/xgrasp/work/stage/usr/local/share/man/man1/glib.1 gzip -n /wrkdirs/usr/ports/graphics/xgrasp/work/stage/usr/local/share/man/man1/glib.1 install.man in . done ====> 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=2025-05-06T05:45:32+0000' 'PKG_NOTE_ports_top_git_hash=57a50b106b87' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=d9c7e0b18ad0' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building packages for xgrasp-1.7d_3 ===> Building xgrasp-1.7d_3 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for xgrasp-1.7d_3 build of graphics/xgrasp | xgrasp-1.7d_3 ended at Tue May 6 01:45:38 EDT 2025 build time: 00:00:07