=>> Building games/xoids build started at Sat Jan 24 16:25:42 EST 2026 port directory: /usr/ports/games/xoids package name: xoids-1.5_2 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 595 Aug 27 2024 /usr/ports/games/xoids/Makefile Ports top last git commit: 076a295eb33c Ports top unclean checkout: no Port dir last git commit: e427ab10bfca Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 15 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/15/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for xoids-1.5_2: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---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/games/xoids/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xoids/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/xoids/work/.cache HOME=/wrkdirs/usr/ports/games/xoids/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/xoids/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/xoids/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/games/xoids/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xoids/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/xoids/work/.cache HOME=/wrkdirs/usr/ports/games/xoids/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/xoids/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/xoids/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 -fcommon -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fcommon -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-- PORTDOCS="" OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xoids" EXAMPLESDIR="share/examples/xoids" DATADIR="share/xoids" WWWDIR="www/xoids" ETCDIR="etc/xoids" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xoids DOCSDIR=/usr/local/share/doc/xoids EXAMPLESDIR=/usr/local/share/examples/xoids WWWDIR=/usr/local/www/xoids ETCDIR=/usr/local/etc/xoids --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xoids 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 ===> xoids-1.5_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> xoids-1.5_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xoids-1.5_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xoids 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 xoids-1.5_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xoids 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 xoids-1.5_2 for building => SHA256 Checksum OK for xoids-1.5.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xoids 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 xoids-1.5_2 for building ===> Extracting for xoids-1.5_2 => SHA256 Checksum OK for xoids-1.5.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for xoids-1.5_2 ===> Applying FreeBSD patches for xoids-1.5_2 from /usr/ports/games/xoids/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xoids-1.5_2 depends on executable: imake - not found ===> Installing existing package /packages/All/imake-1.0.10_1,1.pkg [pkg.DaveG.ca] Installing imake-1.0.10_1,1... [pkg.DaveG.ca] `-- Installing gccmakedep-1.0.4... [pkg.DaveG.ca] `-- Extracting gccmakedep-1.0.4: .. done [pkg.DaveG.ca] `-- Installing makedepend-1.0.9,1... [pkg.DaveG.ca] `-- Extracting makedepend-1.0.9,1: .. done [pkg.DaveG.ca] `-- Installing perl5-5.42.0_1... [pkg.DaveG.ca] `-- Extracting perl5-5.42.0_1: .......... done [pkg.DaveG.ca] `-- Installing xorg-cf-files-1.0.8_1... [pkg.DaveG.ca] `-- Extracting xorg-cf-files-1.0.8_1: .......... done [pkg.DaveG.ca] Extracting imake-1.0.10_1,1: .......... done ===> xoids-1.5_2 depends on executable: imake - found ===> Returning to build of xoids-1.5_2 ===> xoids-1.5_2 depends on executable: tradcpp - not found ===> Installing existing package /packages/All/tradcpp-0.5.3.pkg [pkg.DaveG.ca] Installing tradcpp-0.5.3... [pkg.DaveG.ca] Extracting tradcpp-0.5.3: .. done ===> xoids-1.5_2 depends on executable: tradcpp - found ===> Returning to build of xoids-1.5_2 ===> xoids-1.5_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.12,1.pkg [pkg.DaveG.ca] Installing libX11-1.8.12,1... [pkg.DaveG.ca] `-- Installing libxcb-1.17.0... [pkg.DaveG.ca] | `-- Installing libXau-1.0.12... [pkg.DaveG.ca] | `-- Extracting libXau-1.0.12: .......... done [pkg.DaveG.ca] | `-- Installing libXdmcp-1.1.5... [pkg.DaveG.ca] | | `-- Installing xorgproto-2024.1... [pkg.DaveG.ca] | | `-- Extracting xorgproto-2024.1: .......... done [pkg.DaveG.ca] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] Extracting libX11-1.8.12,1: .......... done ===> xoids-1.5_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of xoids-1.5_2 ===> xoids-1.5_2 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - not found ===> Installing existing package /packages/All/libXpm-3.5.17_1.pkg [pkg.DaveG.ca] Installing libXpm-3.5.17_1... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] `-- Installing libXext-1.3.6,1... [pkg.DaveG.ca] `-- Extracting libXext-1.3.6,1: .......... done [pkg.DaveG.ca] `-- Installing libXt-1.3.0,1... [pkg.DaveG.ca] | `-- Installing libICE-1.1.2,1... [pkg.DaveG.ca] | `-- Extracting libICE-1.1.2,1: .......... done [pkg.DaveG.ca] | `-- Installing libSM-1.2.6,1... [pkg.DaveG.ca] | `-- Extracting libSM-1.2.6,1: ........ done [pkg.DaveG.ca] `-- Extracting libXt-1.3.0,1: .......... done [pkg.DaveG.ca] Extracting libXpm-3.5.17_1: .......... done ===> xoids-1.5_2 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> Returning to build of xoids-1.5_2 ===> xoids-1.5_2 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> xoids-1.5_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of xoids-1.5_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for xoids-1.5_2 imake -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I/usr/local/include/X11 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -- init.c oids.c oids_x.c > .depend =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for xoids-1.5_2 --- init.o --- --- oids.o --- --- oids_x.o --- --- xoids._man --- --- init.o --- cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/X11 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c init.c -o init.o --- oids.o --- cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/X11 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c oids.c -o oids.o --- xoids._man --- rm -f xoids._man --- oids_x.o --- cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/X11 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c oids_x.c -o oids_x.o --- xoids._man --- if test -z "" ; then cd `dirname xoids` && ln -s `basename xoids.man` `basename xoids._man`; else tradcpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=6 -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" < xoids.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/\@\@$/\\/' >xoids._man; fi --- init.o --- init.c:35:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | X_color(BLUE); | ^ init.c:37:11: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | X_string("X O I D S !", (int) (vdevice.sizeSy / 5)); | ^ init.c:41:12: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | X_color(WHITE); | ^ init.c:43:12: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | X_color(RED); | ^ init.c:46:12: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | X_string(mm_items[i], y); | ^ init.c:68:11: warning: passing arguments to 'X_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | X_update(0); | ^ init.c:129:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | X_color(BLUE); | ^ init.c:131:11: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | X_string("O P T I O N S", (int) (vdevice.sizeSy / 5)); | ^ init.c:132:11: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | X_string("(Use arrow keys and ENTER to select)", (int) (vdevice.sizeSy / 5 + 25)); | ^ init.c:139:12: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | X_color(WHITE); | ^ init.c:141:12: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | X_color(RED); | ^ init.c:144:12: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | X_string(om_items[i], y); | ^ init.c:146:24: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | if (i == 0) X_string(spd_str, y + (int) (vdevice.sizeSy / 20)); | ^ init.c:147:24: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | if (i == 1) X_string(gs, y + (int) (vdevice.sizeSy / 20)); | ^ init.c:191:11: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | X_color(BLACK); | ^ init.c:192:12: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | X_string(erase_str, y + (int) (vdevice.sizeSy / 20)); | ^ init.c:195:11: warning: passing arguments to 'X_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | X_update(0); | ^ init.c:219:39: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | for (i=0;i<30;i++) r_num = random_num(0.0, 1.0); | ^ init.c:241:35: warning: passing arguments to 'init_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | if (!pass) Shrd[j] = init_object(NUM_SHARDS, MAPS_PER_360, shard1_xpm); | ^ init.c:244:29: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | Shrd[j][i].x = random_num(0.0, (float) vdevice.sizeSx); | ^ init.c:245:29: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | Shrd[j][i].y = random_num(0.0, (float) vdevice.sizeSy); | ^ init.c:247:52: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | Shrd[j][i].max_dying = (unsigned int) random_num((float) CARNAGE_LIFE, (float) (CARNAGE_LIFE - CARNAGE_LIFE / 2)); | ^ init.c:263:30: warning: passing arguments to 'X_spin_pixmap360' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | if (!pass) X_spin_pixmap360(Shrd[j]); | ^ init.c:271:28: warning: passing arguments to 'init_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | if (!pass) P = init_object(MAX_PLAYERS, MAPS_PER_360, player1_xpm); | ^ init.c:274:22: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | P[i].x = random_num(0.0, (float) vdevice.sizeSx); | ^ init.c:275:22: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | P[i].y = random_num(0.0, (float) vdevice.sizeSy); | ^ init.c:295:29: warning: passing arguments to 'X_spin_pixmap360' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | if (!pass) X_spin_pixmap360(P); | ^ init.c:298:29: warning: passing arguments to 'X_spin_pixmap360' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | if (!pass) X_spin_pixmap360(P->next); | ^ init.c:305:31: warning: passing arguments to 'init_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | if (!pass) Slrb = init_object(1, MAPS_PER_360, slurb_xpm); | ^ init.c:307:24: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | Slrb[0].x = random_num(0.0, (float) vdevice.sizeSx); | ^ init.c:308:24: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | Slrb[0].y = random_num(0.0, (float) vdevice.sizeSy); | ^ init.c:326:29: warning: passing arguments to 'X_spin_pixmap360' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | if (!pass) X_spin_pixmap360(Slrb); | ^ init.c:331:32: warning: passing arguments to 'init_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | if (!pass) Homer = init_object(1, MAPS_PER_360, homer_xpm); | ^ init.c:333:25: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | Homer[0].x = random_num(0.0, (float) vdevice.sizeSx); | ^ init.c:334:25: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | Homer[0].y = random_num(0.0, (float) vdevice.sizeSy); | ^ init.c:353:29: warning: passing arguments to 'X_spin_pixmap360' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | if (!pass) X_spin_pixmap360(Homer); | ^ init.c:358:32: warning: passing arguments to 'init_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | if (!pass) Resur = init_object(1, MAPS_PER_360, resurr_xpm); | ^ init.c:360:25: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | Resur[0].x = random_num(0.0, (float) vdevice.sizeSx); | ^ init.c:361:25: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | Resur[0].y = random_num(0.0, (float) vdevice.sizeSy); | ^ init.c:380:29: warning: passing arguments to 'X_spin_pixmap360' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | if (!pass) X_spin_pixmap360(Resur); | ^ init.c:385:32: warning: passing arguments to 'init_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | if (!pass) Flame = init_object(1, 2, flame1_xpm); | ^ init.c:409:35: warning: passing arguments to 'init_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | if (!pass) Power_Up = init_object(1, 2, laser1_xpm); | ^ init.c:411:28: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | Power_Up[0].x = random_num(0.0, (float) vdevice.sizeSx); | ^ init.c:412:28: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | Power_Up[0].y = random_num(0.0, (float) vdevice.sizeSy); | ^ init.c:436:31: warning: passing arguments to 'init_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | if (!pass) Meta = init_object(1, 1, meta_xpm); | ^ init.c:438:24: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | Meta[0].x = random_num(0.0, (float) vdevice.sizeSx); | ^ init.c:439:24: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | Meta[0].y = random_num(0.0, (float) vdevice.sizeSy); | ^ init.c:465:36: warning: passing arguments to 'init_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | if (!pass) Sml_O[j] = init_object(OID_DIVIDE, OIDS_PER_360, sml_oid_xpm); | ^ init.c:469:40: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | Sml_O[j][i].y_vec = 4.0 * random_num(-2.0, 2.0); | ^ init.c:470:40: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | Sml_O[j][i].x_vec = 4.0 * random_num(-2.0, 2.0); | ^ init.c:478:43: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | Sml_O[j][i].curr_map = (int) random_num(0.0, (float) OIDS_PER_360 - 2); | ^ init.c:487:30: warning: passing arguments to 'X_spin_pixmap360' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | if (!pass) X_spin_pixmap360(Sml_O[j]); | ^ init.c:498:36: warning: passing arguments to 'init_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | if (!pass) Med_O[j] = init_object(OID_DIVIDE, OIDS_PER_360, med_oid_xpm); | ^ init.c:502:40: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | Med_O[j][i].y_vec = 2.0 * random_num(-2.0, 2.0); | ^ init.c:503:40: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | Med_O[j][i].x_vec = 2.0 * random_num(-2.0, 2.0); | ^ init.c:515:43: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | Med_O[j][i].curr_map = (int) random_num(0.0, (float) OIDS_PER_360 - 2); | ^ init.c:524:30: warning: passing arguments to 'X_spin_pixmap360' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | if (!pass) X_spin_pixmap360(Med_O[j]); | ^ init.c:534:32: warning: passing arguments to 'init_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | if (!pass) Big_O = init_object(MAX_BIG_OIDS, OIDS_PER_360, big_oid_xpm); | ^ init.c:541:26: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | Big_O[i].x = random_num(0.0, (float) vdevice.sizeSx); | ^ init.c:542:26: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | Big_O[i].y = random_num(0.0, (float) vdevice.sizeSy); | ^ init.c:544:30: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | Big_O[i].y_vec = random_num(-2.0, 2.0); | ^ init.c:545:30: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | Big_O[i].x_vec = random_num(-2.0, 2.0); | ^ init.c:557:39: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | Big_O[i].curr_map = (int) random_num(0.0, (float) OIDS_PER_360 - 2); | ^ init.c:569:19: warning: passing arguments to 'X_spin_pixmap360' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | X_spin_pixmap360(Big_O); | ^ init.c:210:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | void init_all_objects(pass) | ^ In file included from init.c:14: ./oids.h:376:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 376 | void init_all_objects(); | ^ init.c:614:44: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | obj_ptr[i].rot_dir = 2 * (int)(random_num(0.8, 2.2)) - 3; | ^ init.c:581:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | Sprite *init_object(elems, n_maps, data) | ^ In file included from init.c:14: ./oids.h:377:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 377 | Sprite *init_object(); | ^ init.c:658:36: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | starfield[i].x = (int) random_num(0.0, 600.0); | ^ init.c:659:36: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | starfield[i].y = (int) random_num(0.0, 400.0); | ^ 71 warnings generated. --- oids.o --- oids.c:24:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 24 | main() | ^ | int oids.c:55:18: warning: passing arguments to 'init_all_objects' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | init_all_objects(0); | ^ oids.c:81:16: warning: passing arguments to 'revive_player' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | revive_player(the_obj); | ^ oids.c:82:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 82 | } while (the_obj = the_obj->next); | ~~~~~~~~^~~~~~~~~~~~~~~ oids.c:82:19: note: place parentheses around the assignment to silence this warning 82 | } while (the_obj = the_obj->next); | ^ | ( ) oids.c:82:19: note: use '==' to turn this assignment into an equality comparison 82 | } while (the_obj = the_obj->next); | ^ | == oids.c:95:17: warning: passing arguments to 'X_draw_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | X_draw_object(the_obj); | ^ oids.c:96:38: warning: passing arguments to 'X_draw_thrust' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | if (the_obj->thrust) X_draw_thrust(the_obj); | ^ oids.c:99:55: warning: passing arguments to 'warp_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | if (the_obj->state_ctr == HYPER_DELAY) warp_object(the_obj); | ^ oids.c:102:34: warning: passing arguments to 'revive_player' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | if (!game_over) revive_player(the_obj); | ^ oids.c:106:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 106 | } while (the_obj = the_obj->next); | ~~~~~~~~^~~~~~~~~~~~~~~ oids.c:106:20: note: place parentheses around the assignment to silence this warning 106 | } while (the_obj = the_obj->next); | ^ | ( ) oids.c:106:20: note: use '==' to turn this assignment into an equality comparison 106 | } while (the_obj = the_obj->next); | ^ | == oids.c:121:14: warning: passing arguments to 'make_burst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | make_burst(P, -1); | ^ oids.c:134:16: warning: passing arguments to 'X_draw_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | X_draw_object(Big_O); | ^ oids.c:135:15: warning: passing arguments to 'X_draw_shots' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | X_draw_shots(P); | ^ oids.c:136:16: warning: passing arguments to 'X_draw_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | X_draw_object(Slrb); | ^ oids.c:137:15: warning: passing arguments to 'X_draw_shots' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | X_draw_shots(Slrb); | ^ oids.c:138:16: warning: passing arguments to 'X_draw_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | X_draw_object(Homer); | ^ oids.c:139:16: warning: passing arguments to 'X_draw_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | X_draw_object(Resur); | ^ oids.c:141:39: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | Flame->curr_map = ((int) random_num(0.0, 6.0)) % 2; | ^ oids.c:144:17: warning: passing arguments to 'X_draw_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | X_draw_object(Flame); | ^ oids.c:146:16: warning: passing arguments to 'X_draw_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | X_draw_object(Power_Up); | ^ oids.c:147:16: warning: passing arguments to 'X_draw_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | X_draw_object(Meta); | ^ oids.c:152:26: warning: passing arguments to 'X_copy_object_to_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | X_copy_object_to_window(P); | ^ oids.c:153:26: warning: passing arguments to 'X_copy_object_to_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | X_copy_object_to_window(Slrb); | ^ oids.c:154:26: warning: passing arguments to 'X_copy_object_to_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | X_copy_object_to_window(Homer); | ^ oids.c:155:26: warning: passing arguments to 'X_copy_object_to_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | X_copy_object_to_window(Resur); | ^ oids.c:156:26: warning: passing arguments to 'X_copy_object_to_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | X_copy_object_to_window(Power_Up); | ^ oids.c:157:26: warning: passing arguments to 'X_copy_object_to_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | X_copy_object_to_window(Meta); | ^ oids.c:159:26: warning: passing arguments to 'X_copy_object_to_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | X_copy_object_to_window(Big_O); /* Leave this to end */ | ^ oids.c:161:11: warning: passing arguments to 'X_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | X_update(1); | ^ oids.c:166:16: warning: passing arguments to 'X_draw_bursts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | X_draw_bursts(0); | ^ oids.c:168:16: warning: passing arguments to 'X_draw_bursts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | X_draw_bursts(1); | ^ oids.c:170:15: warning: passing arguments to 'X_draw_stars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | X_draw_stars(WHITE, 0); | ^ oids.c:172:24: warning: passing arguments to 'X_draw_link' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | if (coop) X_draw_link(P, GREEN); | ^ oids.c:180:16: warning: passing arguments to 'update_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | update_object(P); | ^ oids.c:182:16: warning: passing arguments to 'update_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | update_object(Slrb); | ^ oids.c:183:16: warning: passing arguments to 'update_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | update_object(Homer); | ^ oids.c:184:16: warning: passing arguments to 'update_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | update_object(Resur); | ^ oids.c:185:16: warning: passing arguments to 'update_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | update_object(Big_O); | ^ oids.c:186:16: warning: passing arguments to 'update_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | update_object(Power_Up); | ^ oids.c:187:16: warning: passing arguments to 'update_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | update_object(Meta); | ^ oids.c:191:17: warning: passing arguments to 'X_clear_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | X_clear_object(P); | ^ oids.c:192:17: warning: passing arguments to 'X_clear_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | X_clear_object(Slrb); | ^ oids.c:193:17: warning: passing arguments to 'X_clear_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | X_clear_object(Homer); | ^ oids.c:194:17: warning: passing arguments to 'X_clear_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | X_clear_object(Resur); | ^ oids.c:195:17: warning: passing arguments to 'X_clear_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | X_clear_object(Power_Up); | ^ oids.c:196:17: warning: passing arguments to 'X_clear_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | X_clear_object(Meta); | ^ oids.c:197:17: warning: passing arguments to 'X_clear_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | X_clear_object(Big_O); | ^ oids.c:201:29: warning: passing arguments to 'update_shots' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | if (the_obj = update_shots(P)) { | ^ oids.c:201:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 201 | if (the_obj = update_shots(P)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~ oids.c:201:15: note: place parentheses around the assignment to silence this warning 201 | if (the_obj = update_shots(P)) { | ^ | ( ) oids.c:201:15: note: use '==' to turn this assignment into an equality comparison 201 | if (the_obj = update_shots(P)) { | ^ | == oids.c:203:26: 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] 203 | (*the_obj->kill_func)(the_obj); | ^ oids.c:206:29: warning: passing arguments to 'update_shots' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | if (the_obj = update_shots(Slrb)) { | ^ oids.c:206:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 206 | if (the_obj = update_shots(Slrb)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ oids.c:206:15: note: place parentheses around the assignment to silence this warning 206 | if (the_obj = update_shots(Slrb)) { | ^ | ( ) oids.c:206:15: note: use '==' to turn this assignment into an equality comparison 206 | if (the_obj = update_shots(Slrb)) { | ^ | == oids.c:207:25: 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] 207 | (*the_obj->kill_func)(the_obj); | ^ oids.c:210:16: warning: passing arguments to 'X_clear_shots' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | X_clear_shots(P); | ^ oids.c:211:16: warning: passing arguments to 'X_clear_shots' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | X_clear_shots(Slrb); | ^ oids.c:218:18: warning: passing arguments to 'check_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | check_collision(P, Big_O, 1, 1); | ^ oids.c:220:40: warning: passing arguments to 'simple_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | if (num_players > 1) simple_collision(P, P->next, 1, 1); | ^ oids.c:225:19: warning: passing arguments to 'check_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | check_collision(Slrb, Big_O, 1, 1); | ^ oids.c:226:20: warning: passing arguments to 'simple_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | simple_collision(P, Slrb, 1, 1); | ^ oids.c:227:41: warning: passing arguments to 'simple_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | if (num_players > 1) simple_collision(P->next, Slrb, 1, 1); | ^ oids.c:228:101: warning: passing arguments to 'create_new_shot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | if (Slrb->wpn != GUN && Slrb->shots < Weapon[Slrb->wpn].max_shots && !shot_clock) create_new_shot(Slrb); | ^ oids.c:233:17: warning: passing arguments to 'alien_lock_on' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | alien_lock_on(Homer); | ^ oids.c:234:20: warning: passing arguments to 'draw_homer_trail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | draw_homer_trail(0); | ^ oids.c:235:19: warning: passing arguments to 'check_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | check_collision(Homer, Big_O, 1, 1); | ^ oids.c:236:20: warning: passing arguments to 'simple_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | simple_collision(P, Homer, 1, 1); | ^ oids.c:237:38: warning: passing arguments to 'simple_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | if (!Slrb->state) simple_collision(Homer, Slrb, 1, 1); | ^ oids.c:238:41: warning: passing arguments to 'simple_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | if (num_players > 1) simple_collision(P->next, Homer, 1, 1); | ^ oids.c:242:19: warning: passing arguments to 'check_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | check_collision(Resur, Big_O, 1, 0); | ^ oids.c:243:20: warning: passing arguments to 'simple_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | simple_collision(P, Resur, 1, 1); | ^ oids.c:244:38: warning: passing arguments to 'simple_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | if (!Slrb->state) simple_collision(Resur, Slrb, 1, 1); | ^ oids.c:245:39: warning: passing arguments to 'simple_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | if (!Homer->state) simple_collision(Resur, Homer, 1, 1); | ^ oids.c:246:41: warning: passing arguments to 'simple_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | if (num_players > 1) simple_collision(P->next, Resur, 1, 1); | ^ oids.c:251:19: warning: passing arguments to 'check_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | check_collision(Power_Up, Big_O, 1, 1); | ^ oids.c:252:24: warning: passing arguments to 'simple_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | if (simple_collision(P, Power_Up, 0, 0)) the_obj = P; | ^ oids.c:253:24: warning: passing arguments to 'simple_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | if (simple_collision(Slrb, Power_Up, 0, 0)) the_obj = Slrb; | ^ oids.c:254:43: warning: passing arguments to 'simple_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | if (num_players > 1 && simple_collision(P->next, Power_Up, 0, 0)) the_obj = P->next; | ^ oids.c:256:30: warning: passing arguments to 'kill_power_up' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | if (the_obj) kill_power_up(Power_Up, the_obj); | ^ oids.c:261:19: warning: passing arguments to 'check_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | check_collision(Meta, Big_O, 1, 1); | ^ oids.c:262:24: warning: passing arguments to 'simple_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | if (simple_collision(P, Meta, 0, 0)) the_obj = P; | ^ oids.c:263:24: warning: passing arguments to 'simple_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | if (simple_collision(Slrb, Meta, 0, 0)) the_obj = Slrb; | ^ oids.c:264:43: warning: passing arguments to 'simple_collision' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | if (num_players > 1 && simple_collision(P->next, Meta, 0, 0)) the_obj = P->next; | ^ oids.c:266:30: warning: passing arguments to 'kill_power_up' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | if (the_obj) kill_power_up(Meta, the_obj); | ^ oids.c:284:49: warning: passing arguments to 'X_draw_stars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | if (warp_levels == MAPS_PER_360) X_draw_stars(WHITE, 1); | ^ oids.c:289:19: warning: passing arguments to 'X_flash_screen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | X_flash_screen(2); | ^ oids.c:316:18: warning: passing arguments to 'init_all_objects' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | init_all_objects(1); | ^ oids.c:392:19: warning: passing arguments to 'create_new_shot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | create_new_shot(player); | ^ oids.c:398:22: warning: passing arguments to 'X_clear_one_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | X_clear_one_object(player); | ^ oids.c:399:27: warning: passing arguments to 'X_copy_object_to_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | X_copy_object_to_window(player); | ^ oids.c:408:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 408 | if (player = P->next) { | ~~~~~~~^~~~~~~~~ oids.c:408:13: note: place parentheses around the assignment to silence this warning 408 | if (player = P->next) { | ^ | ( ) oids.c:408:13: note: use '==' to turn this assignment into an equality comparison 408 | if (player = P->next) { | ^ | == oids.c:442:20: warning: passing arguments to 'create_new_shot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | create_new_shot(player); | ^ oids.c:448:19: warning: passing arguments to 'X_clear_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | X_clear_object(player); | ^ oids.c:449:28: warning: passing arguments to 'X_copy_object_to_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | X_copy_object_to_window(player); | ^ oids.c:499:20: warning: passing arguments to 'X_clear_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | X_clear_object(obj->death_sprite); | ^ oids.c:500:29: warning: passing arguments to 'X_copy_object_to_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | X_copy_object_to_window(obj->death_sprite); | ^ oids.c:509:23: warning: passing arguments to 'X_clear_one_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | X_clear_one_object(obj); | ^ oids.c:523:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | (*obj->kill_func)(obj); | ^ oids.c:540:21: warning: passing arguments to 'put_inside_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | put_inside_window(obj); | ^ oids.c:553:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | (*obj->kill_func)(obj); | ^ oids.c:560:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 560 | } while (obj = obj->next); | ~~~~^~~~~~~~~~~ oids.c:560:15: note: place parentheses around the assignment to silence this warning 560 | } while (obj = obj->next); | ^ | ( ) oids.c:560:15: note: use '==' to turn this assignment into an equality comparison 560 | } while (obj = obj->next); | ^ | == oids.c:483:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | void update_object(obj) | ^ In file included from oids.c:21: ./oids.h:382:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 382 | void update_object(); | ^ oids.c:649:16: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | z = random_num(0.0, 20.0); | ^ oids.c:656:16: warning: passing arguments to 'revive_player' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | revive_player(Slrb); | ^ oids.c:659:16: warning: passing arguments to 'alien_lock_on' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | alien_lock_on(Slrb); | ^ oids.c:663:18: warning: passing arguments to 'create_new_shot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | create_new_shot(Slrb); | ^ oids.c:672:23: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | s = (int) random_num(0.0, 4.0); | ^ oids.c:676:31: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | Homer->y = (int) random_num(P->height, (float) vdevice.sizeSy); | ^ oids.c:680:31: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | Homer->y = (int) random_num(P->height, (float) vdevice.sizeSy); | ^ oids.c:683:31: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | Homer->x = (int) random_num(0.0, (float) vdevice.sizeSx); | ^ oids.c:687:31: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | Homer->x = (int) random_num(0.0, (float) vdevice.sizeSx); | ^ oids.c:691:31: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | Homer->x = (int) random_num(0.0, (float) vdevice.sizeSx); | ^ oids.c:692:31: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | Homer->y = (int) random_num(0.0, (float) vdevice.sizeSy); | ^ oids.c:696:19: warning: passing arguments to 'draw_homer_trail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | draw_homer_trail(1); | ^ oids.c:703:21: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | if ((z = random_num(0.0, 20.0)) > 23.0 - level / 2.0 && oids_shot > 15 && Resur->state == DEAD) { | ^ oids.c:704:16: warning: passing arguments to 'revive_player' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | revive_player(Resur); | ^ oids.c:706:28: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | Resur->x_vec = random_num(-4.0, 4.0); | ^ oids.c:707:28: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | Resur->y_vec = random_num(-4.0, 4.0); | ^ oids.c:720:17: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | if ((random_num(0.0, 20.0) < 10.0 && resurr_state == 1) || resurr_state == 3) { | ^ oids.c:799:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | X_color(BLACK); | ^ oids.c:801:11: warning: passing arguments to 'X_point' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | X_point(homer_trail[i][0], homer_trail[i][1]); | ^ oids.c:813:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | X_color(BLACK); | ^ oids.c:815:10: warning: passing arguments to 'X_point' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | X_point(homer_trail[0][0], homer_trail[0][1]); | ^ oids.c:817:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | X_color(RED); | ^ oids.c:822:18: warning: passing arguments to 'X_point' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | if (i) X_point(homer_trail[i][0], homer_trail[i][1]); | ^ oids.c:828:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | X_color(BLACK); | ^ oids.c:791:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | void draw_homer_trail(reset) | ^ In file included from oids.c:21: ./oids.h:415:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 415 | void draw_homer_trail(); | ^ oids.c:850:15: warning: passing arguments to 'distance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | if (distance(alien, P->next) < distance(alien, P) && P->next->pixmaps == P->next->orig_pixmaps) | ^ oids.c:850:42: warning: passing arguments to 'distance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | if (distance(alien, P->next) < distance(alien, P) && P->next->pixmaps == P->next->orig_pixmaps) | ^ oids.c:860:35: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | alien->x_vec = (int) (random_num(-4.0, 4.0)); | ^ oids.c:861:35: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | alien->y_vec = (int) (random_num(-4.0, 4.0)); | ^ oids.c:868:12: warning: passing arguments to 'speed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | s = speed(alien); | ^ oids.c:839:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | void alien_lock_on(alien) | ^ In file included from oids.c:21: ./oids.h:414:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 414 | void alien_lock_on(); | ^ oids.c:906:13: warning: passing arguments to 'speed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | if (speed(obj1) > speed(obj2)) { | ^ oids.c:906:27: warning: passing arguments to 'speed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | if (speed(obj1) > speed(obj2)) { | ^ oids.c:907:23: warning: passing arguments to 'bounce_objects' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | k = bounce_objects(obj1, obj2); | ^ oids.c:909:23: warning: passing arguments to 'bounce_objects' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | k = bounce_objects(obj2, obj1); | ^ oids.c:889:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | int simple_collision(obj1, obj2, bnce, kill) | ^ In file included from oids.c:21: ./oids.h:392:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 392 | int simple_collision(); | ^ oids.c:978:36: warning: passing arguments to 'bounce_objects' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | if (bnce) hit = bounce_objects(obj1, obj2); | ^ oids.c:981:29: warning: passing arguments to 'X_draw_link' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 981 | if (coop) X_draw_link(P, BLACK); | ^ oids.c:984:26: 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] 984 | (*obj2->kill_func)(obj2); | ^ oids.c:991:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 991 | } while (obj2 = obj2->next_draw); | ~~~~~^~~~~~~~~~~~~~~~~ oids.c:991:17: note: place parentheses around the assignment to silence this warning 991 | } while (obj2 = obj2->next_draw); | ^ | ( ) oids.c:991:17: note: use '==' to turn this assignment into an equality comparison 991 | } while (obj2 = obj2->next_draw); | ^ | == oids.c:993:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 993 | } while (obj1 = obj1->next_draw); | ~~~~~^~~~~~~~~~~~~~~~~ oids.c:993:16: note: place parentheses around the assignment to silence this warning 993 | } while (obj1 = obj1->next_draw); | ^ | ( ) oids.c:993:16: note: use '==' to turn this assignment into an equality comparison 993 | } while (obj1 = obj1->next_draw); | ^ | == oids.c:940:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | Sprite *check_collision(obj1, ob2, bnce, kill) | ^ In file included from oids.c:21: ./oids.h:385:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 385 | Sprite *check_collision(); | ^ oids.c:1023:11: warning: passing arguments to 'speed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | if (speed(obj1) > speed(obj2)) { | ^ oids.c:1023:25: warning: passing arguments to 'speed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | if (speed(obj1) > speed(obj2)) { | ^ oids.c:1011:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | int bounce_objects(obj1, obj2) | ^ In file included from oids.c:21: ./oids.h:388:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 388 | int bounce_objects(); | ^ oids.c:1092:20: warning: passing arguments to 'X_clear_one_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1092 | X_clear_one_object(obj); | ^ oids.c:1094:16: warning: passing arguments to 'X_flash_screen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | X_flash_screen(2); | ^ oids.c:1102:12: warning: passing arguments to 'make_burst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1102 | make_burst(obj, 1); | ^ oids.c:1104:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1104 | if (carnage = obj->death_sprite) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~ oids.c:1104:14: note: place parentheses around the assignment to silence this warning 1104 | if (carnage = obj->death_sprite) { | ^ | ( ) oids.c:1104:14: note: use '==' to turn this assignment into an equality comparison 1104 | if (carnage = obj->death_sprite) { | ^ | == oids.c:1108:44: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | ang = (obj->curr_map + (int) (random_num(0.0, (float) obj->num_pixmaps))) % obj->num_pixmaps; | ^ oids.c:1118:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1118 | } while (carnage = carnage->next); | ~~~~~~~~^~~~~~~~~~~~~~~ oids.c:1118:20: note: place parentheses around the assignment to silence this warning 1118 | } while (carnage = carnage->next); | ^ | ( ) oids.c:1118:20: note: use '==' to turn this assignment into an equality comparison 1118 | } while (carnage = carnage->next); | ^ | == oids.c:1123:22: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1123 | obj->x = random_num(0.0, (float) (vdevice.sizeSx)); | ^ oids.c:1124:22: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1124 | obj->y = random_num((float) P->height, (float) (vdevice.sizeSy)); | ^ oids.c:1085:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1085 | void explode_object(obj) | ^ In file included from oids.c:21: ./oids.h:386:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 386 | void explode_object(); | ^ oids.c:1143:22: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | obj->x = random_num(0.0, (float) vdevice.sizeSx); | ^ oids.c:1144:22: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1144 | obj->y = random_num(0.0, (float) vdevice.sizeSy); | ^ oids.c:1138:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1138 | void warp_object(obj) | ^ In file included from oids.c:21: ./oids.h:390:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 390 | void warp_object(); | ^ oids.c:1169:23: warning: passing arguments to 'X_draw_link' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1169 | if (coop) X_draw_link(P, BLACK); | ^ oids.c:1182:19: warning: passing arguments to 'put_inside_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | put_inside_window(player); | ^ oids.c:1184:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1184 | if (carnage = player->death_sprite) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ oids.c:1184:14: note: place parentheses around the assignment to silence this warning 1184 | if (carnage = player->death_sprite) { | ^ | ( ) oids.c:1184:14: note: use '==' to turn this assignment into an equality comparison 1184 | if (carnage = player->death_sprite) { | ^ | == oids.c:1189:27: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | carnage->x = random_num(0.0, (float) (vdevice.sizeSx)); | ^ oids.c:1190:27: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1190 | carnage->y = random_num(0.0, (float) (vdevice.sizeSy)); | ^ oids.c:1195:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1195 | } while (carnage = carnage->next); | ~~~~~~~~^~~~~~~~~~~~~~~ oids.c:1195:20: note: place parentheses around the assignment to silence this warning 1195 | } while (carnage = carnage->next); | ^ | ( ) oids.c:1195:20: note: use '==' to turn this assignment into an equality comparison 1195 | } while (carnage = carnage->next); | ^ | == oids.c:1163:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | void revive_player(player) | ^ In file included from oids.c:21: ./oids.h:387:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 387 | void revive_player(); | ^ oids.c:1253:18: warning: passing arguments to 'X_draw_bursts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1253 | X_draw_bursts(0); | ^ oids.c:1281:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1281 | void make_burst(obj, dir) | ^ In file included from oids.c:21: ./oids.h:400:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 400 | void make_burst(); | ^ oids.c:1335:16: warning: passing arguments to 'erase_shot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1335 | erase_shot(obj, i); | ^ oids.c:1345:25: warning: passing arguments to 'shot_collide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1345 | check = shot_collide(curr, Big_O); | ^ oids.c:1348:26: warning: passing arguments to 'shot_collide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1348 | check = shot_collide(curr, P); | ^ oids.c:1352:26: warning: passing arguments to 'shot_collide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1352 | check = shot_collide(curr, Slrb); | ^ oids.c:1356:26: warning: passing arguments to 'shot_collide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | check = shot_collide(curr, Homer); | ^ oids.c:1360:26: warning: passing arguments to 'shot_collide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | check = shot_collide(curr, Resur); | ^ oids.c:1367:39: warning: passing arguments to 'erase_shot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1367 | if (obj->wpn != LASER) erase_shot(obj, i); | ^ oids.c:1377:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1377 | } while (obj = obj->next); | ~~~~^~~~~~~~~~~ oids.c:1377:15: note: place parentheses around the assignment to silence this warning 1377 | } while (obj = obj->next); | ^ | ( ) oids.c:1377:15: note: use '==' to turn this assignment into an equality comparison 1377 | } while (obj = obj->next); | ^ | == oids.c:1311:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1311 | Sprite *update_shots(obj) | ^ In file included from oids.c:21: ./oids.h:380:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 380 | Sprite *update_shots(); | ^ oids.c:1420:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1420 | } while (obj = obj->next_draw); | ~~~~^~~~~~~~~~~~~~~~ oids.c:1420:15: note: place parentheses around the assignment to silence this warning 1420 | } while (obj = obj->next_draw); | ^ | ( ) oids.c:1420:15: note: use '==' to turn this assignment into an equality comparison 1420 | } while (obj = obj->next_draw); | ^ | == oids.c:1391:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1391 | Sprite *shot_collide(this_shot, obj) | ^ In file included from oids.c:21: ./oids.h:391:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 391 | Sprite *shot_collide(); | ^ oids.c:1444:15: warning: passing arguments to 'X_clear_shots' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1444 | X_clear_shots(obj); | ^ oids.c:1445:25: warning: passing arguments to 'X_copy_object_to_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1445 | X_copy_object_to_window(obj); | ^ oids.c:1436:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1436 | void erase_shot(obj, n) | ^ In file included from oids.c:21: ./oids.h:381:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 381 | void erase_shot(); | ^ oids.c:1478:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1478 | void create_new_shot(obj) | ^ In file included from oids.c:21: ./oids.h:379:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 379 | void create_new_shot(); | ^ oids.c:1553:20: warning: passing arguments to 'X_clear_one_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1553 | X_clear_one_object(the_shard); | ^ oids.c:1554:25: warning: passing arguments to 'X_copy_object_to_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1554 | X_copy_object_to_window(P); | ^ oids.c:1555:25: warning: passing arguments to 'X_copy_object_to_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1555 | X_copy_object_to_window(Slrb); | ^ oids.c:1556:25: warning: passing arguments to 'X_copy_object_to_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1556 | X_copy_object_to_window(Resur); | ^ oids.c:1563:16: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1563 | if (random_num(0.0, 10.0) > 9.0 && Power_Up->state) { | ^ oids.c:1572:16: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1572 | if (random_num(0.0, 10.0) < 0.3 && num_players > 1 && Meta->state && !fl && level > 1) { | ^ oids.c:1548:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | void kill_shard(the_shard) | ^ In file included from oids.c:21: ./oids.h:395:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 395 | void kill_shard(); | ^ oids.c:1593:20: warning: passing arguments to 'X_clear_one_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1593 | X_clear_one_object(obj); | ^ oids.c:1594:25: warning: passing arguments to 'X_copy_object_to_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1594 | X_copy_object_to_window(obj); | ^ oids.c:1589:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1589 | void destroy_object(obj) | ^ In file included from oids.c:21: ./oids.h:412:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 412 | void destroy_object(); | ^ oids.c:1611:20: warning: passing arguments to 'X_clear_one_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1611 | X_clear_one_object(obj); | ^ oids.c:1612:25: warning: passing arguments to 'X_copy_object_to_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1612 | X_copy_object_to_window(obj); | ^ oids.c:1607:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1607 | void destroy_homer(obj) | ^ In file included from oids.c:21: ./oids.h:413:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 413 | void destroy_homer(); | ^ oids.c:1633:20: warning: passing arguments to 'X_clear_one_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1633 | X_clear_one_object(the_pu); | ^ oids.c:1634:25: warning: passing arguments to 'X_copy_object_to_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1634 | X_copy_object_to_window(the_pu); | ^ oids.c:1647:28: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1647 | switch ((int) random_num(0.0, 5.0)) { | ^ oids.c:1627:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | void kill_power_up(the_pu, the_lucky) | ^ In file included from oids.c:21: ./oids.h:411:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 411 | void kill_power_up(); | ^ oids.c:1693:20: warning: passing arguments to 'X_clear_one_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1693 | X_clear_one_object(the_oid); | ^ oids.c:1694:25: warning: passing arguments to 'X_copy_object_to_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1694 | X_copy_object_to_window(Big_O); | ^ oids.c:1706:38: warning: passing arguments to 'revive_oid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1706 | for (i=0;inext); | ~~~~~~~^~~~~~~~~~~~~~ oids.c:1713:19: note: place parentheses around the assignment to silence this warning 1713 | } while (player = player->next); | ^ | ( ) oids.c:1713:19: note: use '==' to turn this assignment into an equality comparison 1713 | } while (player = player->next); | ^ | == oids.c:1716:17: warning: passing arguments to 'X_flash_screen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1716 | X_flash_screen(3); | ^ oids.c:1722:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1722 | if (debris = the_oid->death_sprite) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ oids.c:1722:13: note: place parentheses around the assignment to silence this warning 1722 | if (debris = the_oid->death_sprite) { | ^ | ( ) oids.c:1722:13: note: use '==' to turn this assignment into an equality comparison 1722 | if (debris = the_oid->death_sprite) { | ^ | == oids.c:1729:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1729 | } while (debris = debris->next); | ~~~~~~~^~~~~~~~~~~~~~ oids.c:1729:19: note: place parentheses around the assignment to silence this warning 1729 | } while (debris = debris->next); | ^ | ( ) oids.c:1729:19: note: use '==' to turn this assignment into an equality comparison 1729 | } while (debris = debris->next); | ^ | == oids.c:1684:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1684 | void destroy_oid(the_oid) | ^ In file included from oids.c:21: ./oids.h:398:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 398 | void destroy_oid(); | ^ oids.c:1750:22: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1750 | obj->x = random_num(0.0, (float) vdevice.sizeSx); | ^ oids.c:1751:22: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1751 | obj->y = random_num((float) P->height, (float) vdevice.sizeSy); | ^ oids.c:1763:23: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1763 | obj->x = random_num(0.0, (float) vdevice.sizeSx); | ^ oids.c:1764:23: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1764 | obj->y = random_num((float) P->height, (float) vdevice.sizeSy); | ^ oids.c:1766:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1766 | } while (obj = obj->next); | ~~~~^~~~~~~~~~~ oids.c:1766:16: note: place parentheses around the assignment to silence this warning 1766 | } while (obj = obj->next); | ^ | ( ) oids.c:1766:16: note: use '==' to turn this assignment into an equality comparison 1766 | } while (obj = obj->next); | ^ | == oids.c:1742:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1742 | void revive_oid(obj, flag) | ^ In file included from oids.c:21: ./oids.h:397:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 397 | void revive_oid(); | ^ oids.c:1787:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1787 | X_color(YELLOW); | ^ oids.c:1789:11: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1789 | X_string("G A M E P A U S E D", (int) vdevice.sizeSy / 2 - 30); | ^ oids.c:1791:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1791 | X_color(CYAN); | ^ oids.c:1793:11: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1793 | X_string("Hit any key to resume", (int) vdevice.sizeSy / 2); | ^ oids.c:1796:11: warning: passing arguments to 'X_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1796 | X_update(1); | ^ oids.c:1818:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1818 | X_color(YELLOW); | ^ oids.c:1821:10: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1821 | X_string(str1, (int) vdevice.sizeSy / 2 - 70); | ^ oids.c:1842:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1842 | X_color(RED); | ^ oids.c:1844:10: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1844 | X_string("G A M E O V E R", (int) vdevice.sizeSy / 2 - 70); | ^ oids.c:1848:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1848 | X_color(YELLOW); | ^ oids.c:1850:11: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1850 | X_string(str1, (int) vdevice.sizeSy / 2); | ^ oids.c:1852:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1852 | X_color(CYAN); | ^ oids.c:1854:11: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1854 | X_string(str1, (int) vdevice.sizeSy / 2 + 50); | ^ oids.c:1856:11: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1856 | X_string(str1, (int) vdevice.sizeSy / 2 + 70); | ^ oids.c:1865:11: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1865 | X_string(str1, (int) vdevice.sizeSy / 2 + 90); | ^ oids.c:1870:11: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1870 | X_color(CYAN); | ^ oids.c:1873:11: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1873 | X_color(YELLOW); | ^ oids.c:1877:11: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1877 | X_string(str1, (int) vdevice.sizeSy / 2 - 40); | ^ oids.c:1879:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1879 | X_color(CYAN); | ^ oids.c:1881:11: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1881 | X_string(str1, (int) vdevice.sizeSy / 2 + 10); | ^ oids.c:1883:11: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1883 | X_string(str1, (int) vdevice.sizeSy / 2 + 30); | ^ oids.c:1885:11: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1885 | X_string(str1, (int) vdevice.sizeSy / 2 + 50); | ^ oids.c:1894:11: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1894 | X_string(str1, (int) vdevice.sizeSy / 2 + 70); | ^ oids.c:1896:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1896 | X_color(YELLOW); | ^ oids.c:1898:11: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1898 | X_string(str1, (int) vdevice.sizeSy / 2 + 120); | ^ oids.c:1900:11: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1900 | X_string(str1, (int) vdevice.sizeSy / 2 + 140); | ^ oids.c:1902:11: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1902 | X_string(str1, (int) vdevice.sizeSy / 2 + 160); | ^ oids.c:1911:11: warning: passing arguments to 'X_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1911 | X_string(str1, (int) vdevice.sizeSy / 2 + 180); | ^ oids.c:1917:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1917 | X_color(BLACK); | ^ oids.c:1927:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1927 | float speed(obj) | ^ In file included from oids.c:21: ./oids.h:393:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 393 | float speed(); | ^ oids.c:1940:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1940 | float distance(obj1, obj2) | ^ In file included from oids.c:21: ./oids.h:405:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 405 | float distance(); | ^ oids.c:1955:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1955 | float random_num(low, high) | ^ In file included from oids.c:21: ./oids.h:383:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 383 | float random_num(); | ^ oids.c:2000:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2000 | void put_inside_window(obj) | ^ In file included from oids.c:21: ./oids.h:410:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 410 | void put_inside_window(); | ^ 270 warnings generated. --- oids_x.o --- oids_x.c:84:3: 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] 84 | exit(1); | ^ oids_x.c:84:3: note: include the header or explicitly provide a declaration for 'exit' oids_x.c:107:13: warning: passing arguments to 'X_mapcolor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | X_mapcolor(0, 0, 0, 0); | ^ oids_x.c:108:13: warning: passing arguments to 'X_mapcolor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | X_mapcolor(1, 255, 0, 0); | ^ oids_x.c:109:13: warning: passing arguments to 'X_mapcolor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | X_mapcolor(2, 0, 255, 0); | ^ oids_x.c:110:13: warning: passing arguments to 'X_mapcolor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | X_mapcolor(3, 255, 255, 0); | ^ oids_x.c:111:13: warning: passing arguments to 'X_mapcolor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | X_mapcolor(4, 0, 0, 255); | ^ oids_x.c:112:13: warning: passing arguments to 'X_mapcolor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | X_mapcolor(5, 255, 0, 255); | ^ oids_x.c:113:13: warning: passing arguments to 'X_mapcolor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | X_mapcolor(6, 0, 255, 255); | ^ oids_x.c:114:13: warning: passing arguments to 'X_mapcolor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | X_mapcolor(7, 255, 255, 255); | ^ oids_x.c:222:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | X_color(0); | ^ oids_x.c:300:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | X_color(BLACK); | ^ oids_x.c:308:21: warning: passing arguments to 'X_draw_one_object' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | X_draw_one_object(obj, (int) ((vdevice.sizeSx - obj->width) / 2), (int) ((vdevice.sizeSy / 2) + 50)); | ^ oids_x.c:312:11: warning: passing arguments to 'X_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | X_update(0); | ^ oids_x.c:335:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 335 | while (obj = obj->next) { | ~~~~^~~~~~~~~~~ oids_x.c:335:13: note: place parentheses around the assignment to silence this warning 335 | while (obj = obj->next) { | ^ | ( ) oids_x.c:335:13: note: use '==' to turn this assignment into an equality comparison 335 | while (obj = obj->next) { | ^ | == oids_x.c:348:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | X_color(BLACK); | ^ oids_x.c:283:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | void Xpm_make_pixmaps(obj) | ^ oids_x.c:383:23: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 383 | rot_pmap = (char **) calloc(colors + h + 1, sizeof(char *)); | ^ oids_x.c:383:23: note: include the header or explicitly provide a declaration for 'calloc' oids_x.c:363:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | char **X_rotate_pixmap_data(orig_pmap, h, w, alpha) | ^ In file included from oids_x.c:21: ./oids.h:340:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 340 | char **X_rotate_pixmap_data(); | ^ oids_x.c:440:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | void X_spin_pixmap360(obj) | ^ In file included from oids_x.c:21: ./oids.h:353:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 353 | void X_spin_pixmap360(); | ^ oids_x.c:478:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | X_color(YELLOW); | ^ oids_x.c:482:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | X_color(RED); | ^ oids_x.c:486:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | X_color(BLACK); | ^ oids_x.c:796:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 796 | } while (obj = obj->next_draw); | ~~~~^~~~~~~~~~~~~~~~ oids_x.c:796:15: note: place parentheses around the assignment to silence this warning 796 | } while (obj = obj->next_draw); | ^ | ( ) oids_x.c:796:15: note: use '==' to turn this assignment into an equality comparison 796 | } while (obj = obj->next_draw); | ^ | == oids_x.c:782:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | void X_draw_object(obj) | ^ In file included from oids_x.c:21: ./oids.h:355:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 355 | void X_draw_object(); | ^ oids_x.c:808:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 808 | void X_draw_one_object(obj, x, y) | ^ In file included from oids_x.c:21: ./oids.h:343:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 343 | void X_draw_one_object(); | ^ oids_x.c:840:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | X_color(BLACK); | ^ oids_x.c:844:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | X_color(col); | ^ oids_x.c:848:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | X_color(BLACK); | ^ oids_x.c:859:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | X_color(BLACK); | ^ oids_x.c:875:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | X_color(col); | ^ oids_x.c:879:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | X_color(BLACK); | ^ oids_x.c:886:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | X_color(BLACK); | ^ oids_x.c:902:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | X_color(col); | ^ oids_x.c:906:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | X_color(BLACK); | ^ oids_x.c:830:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | void X_draw_link(obj, col) | ^ In file included from oids_x.c:21: ./oids.h:372:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 372 | void X_draw_link(); | ^ oids_x.c:932:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | X_color(col); | ^ oids_x.c:944:48: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | burst[num_bursts].color = (int) random_num(0.0, 8.0); | ^ oids_x.c:945:53: warning: passing arguments to 'random_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | burst[num_bursts].max_radius = (int) random_num(24.0, 48.0); | ^ oids_x.c:958:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | X_color(BLACK); | ^ oids_x.c:921:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | void X_draw_stars(col, b) | ^ In file included from oids_x.c:21: ./oids.h:371:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 371 | void X_draw_stars(); | ^ oids_x.c:980:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 980 | X_color(BLACK); | ^ oids_x.c:995:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | X_color(WHITE); | ^ oids_x.c:1008:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | X_color(BLACK); | ^ oids_x.c:1032:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1032 | X_color(RED); | ^ oids_x.c:1034:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1034 | X_color(YELLOW); | ^ oids_x.c:1035:16: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | } else X_color(GREEN); | ^ oids_x.c:1041:10: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1041 | X_color(BLACK); | ^ oids_x.c:1050:11: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | X_color(RED); | ^ oids_x.c:1052:11: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | X_color(YELLOW); | ^ oids_x.c:1053:17: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | } else X_color(GREEN); | ^ oids_x.c:1058:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | X_color(BLACK); | ^ oids_x.c:1077:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | X_color(WHITE); | ^ oids_x.c:1096:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | X_color(BLACK); | ^ oids_x.c:1069:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1069 | void X_flash_screen(d) | ^ In file included from oids_x.c:21: ./oids.h:365:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 365 | void X_flash_screen(); | ^ oids_x.c:1128:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1128 | X_color(RED); | ^ oids_x.c:1140:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1140 | X_color(BLACK); | ^ oids_x.c:1117:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1117 | void X_draw_thrust(obj) | ^ In file included from oids_x.c:21: ./oids.h:356:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 356 | void X_draw_thrust(); | ^ oids_x.c:1159:11: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1159 | X_color(burst[i].color); | ^ oids_x.c:1161:11: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1161 | X_color(BLACK); | ^ oids_x.c:1175:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1175 | X_color(BLACK); | ^ oids_x.c:1150:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1150 | void X_draw_bursts(flag) | ^ In file included from oids_x.c:21: ./oids.h:362:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 362 | void X_draw_bursts(); | ^ oids_x.c:1197:11: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1197 | X_color(obj->shot_color); | ^ oids_x.c:1209:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1209 | } while (obj = obj->next); | ~~~~^~~~~~~~~~~ oids_x.c:1209:15: note: place parentheses around the assignment to silence this warning 1209 | } while (obj = obj->next); | ^ | ( ) oids_x.c:1209:15: note: use '==' to turn this assignment into an equality comparison 1209 | } while (obj = obj->next); | ^ | == oids_x.c:1211:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | X_color(BLACK); | ^ oids_x.c:1185:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | void X_draw_shots(obj) | ^ In file included from oids_x.c:21: ./oids.h:357:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 357 | void X_draw_shots(); | ^ oids_x.c:1228:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1228 | X_color(BLACK); | ^ oids_x.c:1244:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1244 | } while (obj = obj->next); | ~~~~^~~~~~~~~~~ oids_x.c:1244:15: note: place parentheses around the assignment to silence this warning 1244 | } while (obj = obj->next); | ^ | ( ) oids_x.c:1244:15: note: use '==' to turn this assignment into an equality comparison 1244 | } while (obj = obj->next); | ^ | == oids_x.c:1220:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1220 | void X_clear_shots(obj) | ^ In file included from oids_x.c:21: ./oids.h:361:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 361 | void X_clear_shots(); | ^ oids_x.c:1264:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1264 | } while (obj = obj->next_draw); | ~~~~^~~~~~~~~~~~~~~~ oids_x.c:1264:15: note: place parentheses around the assignment to silence this warning 1264 | } while (obj = obj->next_draw); | ^ | ( ) oids_x.c:1264:15: note: use '==' to turn this assignment into an equality comparison 1264 | } while (obj = obj->next_draw); | ^ | == oids_x.c:1253:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1253 | void X_clear_object(obj) | ^ In file included from oids_x.c:21: ./oids.h:360:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 360 | void X_clear_object(); | ^ oids_x.c:1273:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1273 | void X_clear_one_object(obj) | ^ In file included from oids_x.c:21: ./oids.h:364:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 364 | void X_clear_one_object(); | ^ oids_x.c:1396:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1396 | } while (obj = obj->next_draw); | ~~~~^~~~~~~~~~~~~~~~ oids_x.c:1396:15: note: place parentheses around the assignment to silence this warning 1396 | } while (obj = obj->next_draw); | ^ | ( ) oids_x.c:1396:15: note: use '==' to turn this assignment into an equality comparison 1396 | } while (obj = obj->next_draw); | ^ | == oids_x.c:1327:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | void X_copy_object_to_window(obj) | ^ In file included from oids_x.c:21: ./oids.h:359:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 359 | void X_copy_object_to_window(); | ^ oids_x.c:1412:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1412 | X_draw(x, y) | ^ | int oids_x.c:1412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] oids_x.c:1423:1: warning: non-void function does not return a value [-Wreturn-type] 1423 | } | ^ oids_x.c:1431:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1431 | void X_point(x, y) | ^ In file included from oids_x.c:21: ./oids.h:374:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 374 | void X_point(); | ^ oids_x.c:1472:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1472 | void X_update(game_flag) | ^ In file included from oids_x.c:21: ./oids.h:342:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 342 | void X_update(); | ^ oids_x.c:1582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1582 | X_locator(wx, wy) | ^ oids_x.c:1604:9: warning: passing arguments to 'X_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1604 | X_color(BLACK); | ^ oids_x.c:1622:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1622 | void X_color(ind) | ^ In file included from oids_x.c:21: ./oids.h:350:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 350 | void X_color(); | ^ oids_x.c:1635:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1635 | int X_mapcolor(i, r, g, b) | ^ In file included from oids_x.c:21: ./oids.h:367:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 367 | int X_mapcolor(); | ^ oids_x.c:1680:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1680 | X_font(fontfile) | ^ | int oids_x.c:1680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] oids_x.c:1721:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1721 | X_char(c) | ^ | int oids_x.c:1721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] oids_x.c:1729:1: warning: non-void function does not return a value [-Wreturn-type] 1729 | } | ^ oids_x.c:1736:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1736 | void X_string(s, y) | ^ In file included from oids_x.c:21: ./oids.h:351:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 351 | void X_string(); | ^ oids_x.c:1755:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1755 | X_fill(n, x, y) | ^ | int oids_x.c:1755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] oids_x.c:1775:1: warning: non-void function does not return a value [-Wreturn-type] 1775 | } | ^ 110 warnings generated. --- xoids --- rm -f xoids cc -o xoids -L/usr/local/lib init.o oids.o oids_x.o -lXpm -lX11 -lm -Wl,-rpath,/usr/local/lib =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xoids-1.5_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xoids-1.5_2 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for xoids-1.5_2 ===> Generating temporary packing list /usr/bin/install -c -s xoids /wrkdirs/usr/ports/games/xoids/work/stage/usr/local/bin/xoids install in . done rm -f /wrkdirs/usr/ports/games/xoids/work/stage/usr/local/share/man/man6/xoids.6* /usr/bin/install -c -m 0444 xoids._man /wrkdirs/usr/ports/games/xoids/work/stage/usr/local/share/man/man6/xoids.6 gzip -n /wrkdirs/usr/ports/games/xoids/work/stage/usr/local/share/man/man6/xoids.6 install.man in . done install -m 0644 /wrkdirs/usr/ports/games/xoids/work/xoids-1.5/README /wrkdirs/usr/ports/games/xoids/work/stage/usr/local/share/doc/xoids ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-01-24T21:25:42+0000' 'PKG_NOTE_ports_top_git_hash=076a295eb33c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=e427ab10bfca' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for xoids-1.5_2 ===> Building xoids-1.5_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for xoids-1.5_2 build of games/xoids | xoids-1.5_2 ended at Sat Jan 24 16:26:47 EST 2026 build time: 00:01:15