=>> Building games/sdl_scavenger build started at Mon Mar 16 18:59:10 EDT 2026 port directory: /usr/ports/games/sdl_scavenger package name: sdl_scavenger-145.2015.01.05_5,1 building for: FreeBSD pkg.DaveG.ca 15.0-RELEASE-p3 FreeBSD 15.0-RELEASE-p3 1500068 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1470 Aug 27 2024 /usr/ports/games/sdl_scavenger/Makefile Ports top last git commit: 8c988f802ea2 Ports top unclean checkout: no Port dir last git commit: fb16dfecae4a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1500068 Job Id: 06 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500068 UNAME_v=FreeBSD 15.0-RELEASE-p3 1500068 UNAME_r=15.0-RELEASE-p3 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_15_0_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_15_0_x64-HEAD-ALL/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_0_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_0_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 sdl_scavenger-145.2015.01.05_5,1: 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-- MAKE=/usr/local/bin/gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/sdl_scavenger/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/sdl_scavenger/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/sdl_scavenger/work/.cache HOME=/wrkdirs/usr/ports/games/sdl_scavenger/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/sdl_scavenger/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/sdl_scavenger/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-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/sdl_scavenger/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/sdl_scavenger/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/sdl_scavenger/work/.cache HOME=/wrkdirs/usr/ports/games/sdl_scavenger/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/sdl_scavenger/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/sdl_scavenger/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/sdl_scavenger" EXAMPLESDIR="share/examples/sdl_scavenger" DATADIR="share/sdl_scavenger" WWWDIR="www/sdl_scavenger" ETCDIR="etc/sdl_scavenger" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/sdl_scavenger DOCSDIR=/usr/local/share/doc/sdl_scavenger EXAMPLESDIR=/usr/local/share/examples/sdl_scavenger WWWDIR=/usr/local/www/sdl_scavenger ETCDIR=/usr/local/etc/sdl_scavenger --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 pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The sdl_scavenger 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 ===> sdl_scavenger-145.2015.01.05_5,1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> sdl_scavenger-145.2015.01.05_5,1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of sdl_scavenger-145.2015.01.05_5,1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The sdl_scavenger 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 sdl_scavenger-145.2015.01.05_5,1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The sdl_scavenger 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 sdl_scavenger-145.2015.01.05_5,1 for building => SHA256 Checksum OK for sdlscav-145.4_2015_01_05.tgz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The sdl_scavenger 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 sdl_scavenger-145.2015.01.05_5,1 for building ===> Extracting for sdl_scavenger-145.2015.01.05_5,1 => SHA256 Checksum OK for sdlscav-145.4_2015_01_05.tgz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for sdl_scavenger-145.2015.01.05_5,1 ===> Applying FreeBSD patches for sdl_scavenger-145.2015.01.05_5,1 from /usr/ports/games/sdl_scavenger/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> sdl_scavenger-145.2015.01.05_5,1 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg.DaveG.ca] Installing gmake-4.4.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] Extracting gmake-4.4.1: .......... done ===> sdl_scavenger-145.2015.01.05_5,1 depends on package: gmake>=4.4.1 - found ===> Returning to build of sdl_scavenger-145.2015.01.05_5,1 ===> sdl_scavenger-145.2015.01.05_5,1 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_17,2.pkg [pkg.DaveG.ca] Installing sdl-1.2.15_17,2... [pkg.DaveG.ca] `-- Installing aalib-1.4.r5_14... [pkg.DaveG.ca] `-- Extracting aalib-1.4.r5_14: .......... done [pkg.DaveG.ca] `-- Installing libGLU-9.0.3... [pkg.DaveG.ca] | `-- Installing libglvnd-1.7.0... [pkg.DaveG.ca] | | `-- Installing libX11-1.8.13,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.13,1: .......... done [pkg.DaveG.ca] | | `-- Installing libXext-1.3.6,1... [pkg.DaveG.ca] | | `-- Extracting libXext-1.3.6,1: .......... done [pkg.DaveG.ca] | `-- Extracting libglvnd-1.7.0: .......... done [pkg.DaveG.ca] `-- Extracting libGLU-9.0.3: ..... done [pkg.DaveG.ca] `-- Installing libXrandr-1.5.4... [pkg.DaveG.ca] | `-- Installing libXrender-0.9.12... [pkg.DaveG.ca] | `-- Extracting libXrender-0.9.12: ....... done [pkg.DaveG.ca] `-- Extracting libXrandr-1.5.4: .......... done [pkg.DaveG.ca] Extracting sdl-1.2.15_17,2: .......... done ===== Message from aalib-1.4.r5_14: -- ===> NOTICE: The aalib 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 ===== Message from sdl-1.2.15_17,2: -- Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". ===> sdl_scavenger-145.2015.01.05_5,1 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of sdl_scavenger-145.2015.01.05_5,1 ===> sdl_scavenger-145.2015.01.05_5,1 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. ===> sdl_scavenger-145.2015.01.05_5,1 depends on file: /usr/local/bin/ccache - found ===> Returning to build of sdl_scavenger-145.2015.01.05_5,1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> sdl_scavenger-145.2015.01.05_5,1 depends on shared library: libSDL_image.so - not found ===> Installing existing package /packages/All/sdl_image-1.2.12_14.pkg [pkg.DaveG.ca] Installing sdl_image-1.2.12_14... [pkg.DaveG.ca] `-- Installing jpeg-turbo-3.1.3... [pkg.DaveG.ca] `-- Extracting jpeg-turbo-3.1.3: .......... done [pkg.DaveG.ca] `-- Installing png-1.6.55... [pkg.DaveG.ca] `-- Extracting png-1.6.55: .......... done [pkg.DaveG.ca] `-- Installing tiff-4.7.1... [pkg.DaveG.ca] | `-- Installing jbigkit-2.1_3... [pkg.DaveG.ca] | `-- Extracting jbigkit-2.1_3: .......... done [pkg.DaveG.ca] | `-- Installing lerc-4.0.0... [pkg.DaveG.ca] | `-- Extracting lerc-4.0.0: ..... done [pkg.DaveG.ca] | `-- Installing libdeflate-1.25... [pkg.DaveG.ca] | `-- Extracting libdeflate-1.25: .......... done [pkg.DaveG.ca] | `-- Installing zstd-1.5.7_1... [pkg.DaveG.ca] | `-- Extracting zstd-1.5.7_1: .......... done [pkg.DaveG.ca] `-- Extracting tiff-4.7.1: .......... done [pkg.DaveG.ca] `-- Installing webp-1.6.0... [pkg.DaveG.ca] | `-- Installing giflib-5.2.2... [pkg.DaveG.ca] | `-- Extracting giflib-5.2.2: .......... done [pkg.DaveG.ca] `-- Extracting webp-1.6.0: .......... done [pkg.DaveG.ca] Extracting sdl_image-1.2.12_14: ....... done ===> sdl_scavenger-145.2015.01.05_5,1 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so) ===> Returning to build of sdl_scavenger-145.2015.01.05_5,1 ===> sdl_scavenger-145.2015.01.05_5,1 depends on shared library: libSDL_mixer.so - not found ===> Installing existing package /packages/All/sdl_mixer-1.2.12_15.pkg [pkg.DaveG.ca] Installing sdl_mixer-1.2.12_15... [pkg.DaveG.ca] `-- Installing flac-1.5.0,1... [pkg.DaveG.ca] | `-- Installing libogg-1.3.6,4... [pkg.DaveG.ca] | `-- Extracting libogg-1.3.6,4: .......... done [pkg.DaveG.ca] `-- Extracting flac-1.5.0,1: .......... done [pkg.DaveG.ca] `-- Installing libmikmod-3.3.13... [pkg.DaveG.ca] `-- Extracting libmikmod-3.3.13: ....... done [pkg.DaveG.ca] `-- Installing libvorbis-1.3.7_2,3... [pkg.DaveG.ca] `-- Extracting libvorbis-1.3.7_2,3: .......... done [pkg.DaveG.ca] `-- Installing smpeg-0.4.4_18... [pkg.DaveG.ca] `-- Extracting smpeg-0.4.4_18: .......... done [pkg.DaveG.ca] `-- Installing timidity-0.2i_1... [pkg.DaveG.ca] `-- Extracting timidity-0.2i_1: .......... done [pkg.DaveG.ca] Extracting sdl_mixer-1.2.12_15: ...... done ===== Message from timidity-0.2i_1: -- ===> NOTICE: The timidity 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 ===> sdl_scavenger-145.2015.01.05_5,1 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> Returning to build of sdl_scavenger-145.2015.01.05_5,1 ===> sdl_scavenger-145.2015.01.05_5,1 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for sdl_scavenger-145.2015.01.05_5,1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for sdl_scavenger-145.2015.01.05_5,1 cc `sdl-config --cflags` -c -o scav.o scav.c cc `sdl-config --cflags` -c -o gfx.o gfx.c cc `sdl-config --cflags` -c -o sound.o sound.c cc `sdl-config --cflags` -c -o edit.o edit.c cc `sdl-config --cflags` -c -o anim.o anim.c In file included from sound.c:5: ./scav.h:435:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 435 | extern uchar *getgfx(); | ^ ./scav.h:476:15: note: conflicting prototype is here 476 | extern uchar *getgfx(int num); | ^ 1 warning generated. In file included from gfx.c:5: ./scav.h:435:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 435 | extern uchar *getgfx(); | ^ ./scav.h:476:15: note: conflicting prototype is here 476 | extern uchar *getgfx(int num); | ^ gfx.c:59:18: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 59 | if(!expandpath(temp,"scav.bmp",i)) | ^~~~ ./scav.h:535:29: note: passing argument to parameter 'put' here 535 | extern int expandpath(char *put,char *name,int num); | ^ gfx.c:64:13: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 64 | if ( open(temp,O_RDONLY|O_BINARY)!=-1 ) | ^~~~ /usr/include/fcntl.h:406:22: note: passing argument to parameter here 406 | int open(const char *, int, ...); | ^ gfx.c:70:30: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 70 | SDL_WM_SetIcon(SDL_LoadBMP(temp), NULL); | ^~~~ /usr/local/include/SDL/SDL_video.h:592:57: note: expanded from macro 'SDL_LoadBMP' 592 | #define SDL_LoadBMP(file) SDL_LoadBMP_RW(SDL_RWFromFile(file, "rb"), 1) | ^~~~ /usr/local/include/SDL/SDL_rwops.h:99:64: note: passing argument to parameter 'file' here 99 | extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromFile(const char *file, const char *mode); | ^ gfx.c:528:28: warning: unsequenced modification and access to 'p' [-Wunsequenced] 528 | fmap[tolower(*p)]=fmap[*p++]=i++; | ~ ^ 5 warnings generated. In file included from edit.c:5: ./scav.h:435:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 435 | extern uchar *getgfx(); | ^ ./scav.h:476:15: note: conflicting prototype is here 476 | extern uchar *getgfx(int num); | ^ edit.c:61:10: warning: returning 'char[33]' from a function with result type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 61 | return "level must have exactly 1 player"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:63:10: warning: returning 'char[38]' from a function with result type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 63 | return "level cannot have more than 5 enemies"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:67:17: warning: returning 'char[42]' from a function with result type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 67 | return "number of flashing berries must be 0 to 3"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:72:13: warning: returning 'char[48]' from a function with result type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 72 | return "level must have exactly 0 or 3 flashing objects"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:77:17: warning: returning 'char[40]' from a function with result type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 77 | return "number of hidden ememies must be 0 to 3"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:82:13: warning: returning 'char[46]' from a function with result type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 82 | return "level must have exactly 0 or 3 hidden enemies"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:85:10: warning: returning 'char[60]' from a function with result type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 85 | return "if you have escape ladders, you must have at least 1 object"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:94:10: warning: returning 'char[52]' from a function with result type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 94 | return "there must be at least 1 empty space on the top row"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:251:20: warning: passing 'char[36]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 251 | centermsg("Save or load before changing levels"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./edit.h:25:30: note: passing argument to parameter 'from' here 25 | extern void centermsg(uchar *from); | ^ edit.c:268:20: warning: passing 'char[36]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 268 | centermsg("Save or load before changing levels"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./edit.h:25:30: note: passing argument to parameter 'from' here 25 | extern void centermsg(uchar *from); | ^ edit.c:288:14: warning: passing 'char[38]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 288 | centermsg("use alt-l to load over modified level"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./edit.h:25:30: note: passing argument to parameter 'from' here 25 | extern void centermsg(uchar *from); | ^ edit.c:310:15: warning: passing 'char[21]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 310 | centermsg("cannot write level 0"); | ^~~~~~~~~~~~~~~~~~~~~~ ./edit.h:25:30: note: passing argument to parameter 'from' here 25 | extern void centermsg(uchar *from); | ^ edit.c:315:35: warning: passing 'uchar[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 315 | got=getresource((clevel-1)<<1,buff,16); | ^~~~ ./scav.h:446:38: note: passing argument to parameter 'put' here 446 | extern int getresource(int num,char *put,int len); | ^ edit.c:319:16: warning: passing 'char[38]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 319 | centermsg("use alt-w to overwrite existing level"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./edit.h:25:30: note: passing argument to parameter 'from' here 25 | extern void centermsg(uchar *from); | ^ edit.c:337:16: warning: passing 'char[22]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 337 | centermsg("could not write level"); | ^~~~~~~~~~~~~~~~~~~~~~~ ./edit.h:25:30: note: passing argument to parameter 'from' here 25 | extern void centermsg(uchar *from); | ^ edit.c:339:16: warning: passing 'char[23]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 339 | centermsg("could not delete movie"); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./edit.h:25:30: note: passing argument to parameter 'from' here 25 | extern void centermsg(uchar *from); | ^ edit.c:341:16: warning: passing 'char[12]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 341 | centermsg("level saved"); | ^~~~~~~~~~~~~ ./edit.h:25:30: note: passing argument to parameter 'from' here 25 | extern void centermsg(uchar *from); | ^ edit.c:371:11: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 371 | i=strlen(from); | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ edit.c:384:10: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 384 | sprintf(temp,"LEVEL %04d L=LOAD W=WRITE ESC=EXIT 0-9 CHANGE LEVEL KP +- UP/DN LEVEL",clevel); | ^~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | int (sprintf)(char * __restrict, const char * __restrict, ...); | ^ edit.c:385:11: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 385 | i=strlen(temp); | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ edit.c:393:9: warning: passing 'uchar[80]' (aka 'unsigned char[80]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 393 | strcpy(ewant,einfo()); | ^~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ edit.c:393:15: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 393 | strcpy(ewant,einfo()); | ^~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ edit.c:395:16: warning: passing 'char[12]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 395 | writestring("F1 - F12 ->",30,457,whitecolor); | ^~~~~~~~~~~~~ ./scav.h:455:32: note: passing argument to parameter 'str' here 455 | extern void writestring(uchar *str, int x, int y, int color); | ^ 24 warnings generated. In file included from anim.c:5: ./scav.h:435:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 435 | extern uchar *getgfx(); | ^ ./scav.h:476:15: note: conflicting prototype is here 476 | extern uchar *getgfx(int num); | ^ anim.c:77:16: warning: passing 'char[23]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 77 | farlefttext("ESCAPE EXIT ANIMATOR"); | ^~~~~~~~~~~~~~~~~~~~~~~~ anim.c:60:25: note: passing argument to parameter 'txt' here 60 | void farlefttext(uchar *txt) | ^ anim.c:78:16: warning: passing 'char[22]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 78 | farlefttext("SHIFT S SAVE CHANGES"); | ^~~~~~~~~~~~~~~~~~~~~~~ anim.c:60:25: note: passing argument to parameter 'txt' here 60 | void farlefttext(uchar *txt) | ^ anim.c:79:16: warning: passing 'char[26]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 79 | farlefttext("SHIFT L RELOAD LAST SAVE"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ anim.c:60:25: note: passing argument to parameter 'txt' here 60 | void farlefttext(uchar *txt) | ^ anim.c:80:16: warning: passing 'char[18]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 80 | farlefttext(" ALT 1 FIXTURES"); | ^~~~~~~~~~~~~~~~~~~ anim.c:60:25: note: passing argument to parameter 'txt' here 60 | void farlefttext(uchar *txt) | ^ anim.c:81:16: warning: passing 'char[20]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 81 | farlefttext(" ALT 2 HERO POSES"); | ^~~~~~~~~~~~~~~~~~~~~ anim.c:60:25: note: passing argument to parameter 'txt' here 60 | void farlefttext(uchar *txt) | ^ anim.c:82:16: warning: passing 'char[21]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 82 | farlefttext(" ALT 3 ENEMY POSES"); | ^~~~~~~~~~~~~~~~~~~~~~ anim.c:60:25: note: passing argument to parameter 'txt' here 60 | void farlefttext(uchar *txt) | ^ anim.c:83:16: warning: passing 'char[22]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 83 | farlefttext(" ALT 4 HIDDEN POSES"); | ^~~~~~~~~~~~~~~~~~~~~~~ anim.c:60:25: note: passing argument to parameter 'txt' here 60 | void farlefttext(uchar *txt) | ^ anim.c:84:16: warning: passing 'char[24]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 84 | farlefttext(" U UNDO LAST EDIT"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ anim.c:60:25: note: passing argument to parameter 'txt' here 60 | void farlefttext(uchar *txt) | ^ anim.c:85:16: warning: passing 'char[18]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 85 | farlefttext(" X MIRROR X"); | ^~~~~~~~~~~~~~~~~~~ anim.c:60:25: note: passing argument to parameter 'txt' here 60 | void farlefttext(uchar *txt) | ^ anim.c:86:16: warning: passing 'char[18]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 86 | farlefttext(" Y MIRROR Y"); | ^~~~~~~~~~~~~~~~~~~ anim.c:60:25: note: passing argument to parameter 'txt' here 60 | void farlefttext(uchar *txt) | ^ anim.c:87:16: warning: passing 'char[22]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 87 | farlefttext(" Z ROTATE 90 CW"); | ^~~~~~~~~~~~~~~~~~~~~~~ anim.c:60:25: note: passing argument to parameter 'txt' here 60 | void farlefttext(uchar *txt) | ^ anim.c:88:16: warning: passing 'char[28]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 88 | farlefttext("D F B R DRAW,FILL,BOX,RECT"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ anim.c:60:25: note: passing argument to parameter 'txt' here 60 | void farlefttext(uchar *txt) | ^ anim.c:89:16: warning: passing 'char[28]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 89 | farlefttext(", . L GET COLOR,DOT,LINE"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ anim.c:60:25: note: passing argument to parameter 'txt' here 60 | void farlefttext(uchar *txt) | ^ anim.c:92:13: warning: passing 'char[6]' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 92 | texthere("R G B"); | ^~~~~~~ ./scav.h:465:29: note: passing argument to parameter 'txt' here 465 | extern void texthere(uchar *txt); | ^ anim.c:127:13: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 127 | getsquare(asquare,animbox); | ^~~~~~~ ./anim.h:22:29: note: passing argument to parameter 'dest' here 22 | extern void getsquare(char *dest,int num); | ^ anim.c:312:13: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 312 | copysquare(temp,userbrush); | ^~~~ anim.c:302:23: note: passing argument to parameter 'dest' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:312:18: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 312 | copysquare(temp,userbrush); | ^~~~~~~~~ anim.c:302:34: note: passing argument to parameter 'source' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:704:32: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 704 | if(where==BLOWUP) copysquare(savesquare,asquare); | ^~~~~~~~~~ anim.c:302:23: note: passing argument to parameter 'dest' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:704:43: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 704 | if(where==BLOWUP) copysquare(savesquare,asquare); | ^~~~~~~ anim.c:302:34: note: passing argument to parameter 'source' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:720:16: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 720 | copysquare(tsquare2,asquare); | ^~~~~~~~ anim.c:302:23: note: passing argument to parameter 'dest' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:720:25: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 720 | copysquare(tsquare2,asquare); | ^~~~~~~ anim.c:302:34: note: passing argument to parameter 'source' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:721:16: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 721 | copysquare(asquare,savesquare); | ^~~~~~~ anim.c:302:23: note: passing argument to parameter 'dest' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:721:24: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 721 | copysquare(asquare,savesquare); | ^~~~~~~~~~ anim.c:302:34: note: passing argument to parameter 'source' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:722:16: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 722 | copysquare(savesquare,tsquare2); | ^~~~~~~~~~ anim.c:302:23: note: passing argument to parameter 'dest' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:722:27: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 722 | copysquare(savesquare,tsquare2); | ^~~~~~~~ anim.c:302:34: note: passing argument to parameter 'source' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:726:16: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 726 | copysquare(savesquare,asquare); | ^~~~~~~~~~ anim.c:302:23: note: passing argument to parameter 'dest' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:726:27: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 726 | copysquare(savesquare,asquare); | ^~~~~~~ anim.c:302:34: note: passing argument to parameter 'source' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:790:14: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 790 | getsquare(asquare,animbox); | ^~~~~~~ anim.c:153:22: note: passing argument to parameter 'dest' here 153 | void getsquare(char *dest,int num) | ^ anim.c:792:15: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 792 | copysquare(savesquare,asquare); | ^~~~~~~~~~ anim.c:302:23: note: passing argument to parameter 'dest' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:792:26: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 792 | copysquare(savesquare,asquare); | ^~~~~~~ anim.c:302:34: note: passing argument to parameter 'source' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:809:14: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 809 | getsquare(savesquare,animbox); | ^~~~~~~~~~ anim.c:153:22: note: passing argument to parameter 'dest' here 153 | void getsquare(char *dest,int num) | ^ anim.c:810:22: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 810 | putsquare(animbox,asquare); | ^~~~~~~ anim.c:168:30: note: passing argument to parameter 'source' here 168 | void putsquare(int num,char *source) | ^ anim.c:842:15: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 842 | copysquare(asquare,savesquare); | ^~~~~~~ anim.c:302:23: note: passing argument to parameter 'dest' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:842:23: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 842 | copysquare(asquare,savesquare); | ^~~~~~~~~~ anim.c:302:34: note: passing argument to parameter 'source' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:847:15: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 847 | copysquare(asquare,savesquare); | ^~~~~~~ anim.c:302:23: note: passing argument to parameter 'dest' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:847:23: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 847 | copysquare(asquare,savesquare); | ^~~~~~~~~~ anim.c:302:34: note: passing argument to parameter 'source' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:856:15: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 856 | copysquare(tsquare,asquare); | ^~~~~~~ anim.c:302:23: note: passing argument to parameter 'dest' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:856:23: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 856 | copysquare(tsquare,asquare); | ^~~~~~~ anim.c:302:34: note: passing argument to parameter 'source' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:867:14: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 867 | copysquare(tsquare,asquare); | ^~~~~~~ anim.c:302:23: note: passing argument to parameter 'dest' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:867:22: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 867 | copysquare(tsquare,asquare); | ^~~~~~~ anim.c:302:34: note: passing argument to parameter 'source' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:876:14: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 876 | copysquare(tsquare,asquare); | ^~~~~~~ anim.c:302:23: note: passing argument to parameter 'dest' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:876:22: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 876 | copysquare(tsquare,asquare); | ^~~~~~~ anim.c:302:34: note: passing argument to parameter 'source' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:896:14: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 896 | copysquare(tsquare2,asquare); | ^~~~~~~~ anim.c:302:23: note: passing argument to parameter 'dest' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:896:23: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 896 | copysquare(tsquare2,asquare); | ^~~~~~~ anim.c:302:34: note: passing argument to parameter 'source' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:897:14: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 897 | copysquare(asquare,savesquare); | ^~~~~~~ anim.c:302:23: note: passing argument to parameter 'dest' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:897:22: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 897 | copysquare(asquare,savesquare); | ^~~~~~~~~~ anim.c:302:34: note: passing argument to parameter 'source' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:898:14: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 898 | copysquare(savesquare,tsquare2); | ^~~~~~~~~~ anim.c:302:23: note: passing argument to parameter 'dest' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:898:25: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 898 | copysquare(savesquare,tsquare2); | ^~~~~~~~ anim.c:302:34: note: passing argument to parameter 'source' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:960:20: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 960 | getsquare(asquare,animbox); | ^~~~~~~ anim.c:153:22: note: passing argument to parameter 'dest' here 153 | void getsquare(char *dest,int num) | ^ anim.c:961:21: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 961 | copysquare(tsquare,asquare); | ^~~~~~~ anim.c:302:23: note: passing argument to parameter 'dest' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:961:29: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 961 | copysquare(tsquare,asquare); | ^~~~~~~ anim.c:302:34: note: passing argument to parameter 'source' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:1004:21: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1004 | putsquare(animbox,asquare); | ^~~~~~~ anim.c:168:30: note: passing argument to parameter 'source' here 168 | void putsquare(int num,char *source) | ^ anim.c:1030:14: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1030 | getsquare(tsquare,j*12+i); | ^~~~~~~ anim.c:153:22: note: passing argument to parameter 'dest' here 153 | void getsquare(char *dest,int num) | ^ anim.c:1051:10: warning: passing 'uchar[128]' (aka 'unsigned char[128]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1051 | sprintf(ttt,"%s artwork: %s",descriptions[workingon], | ^~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | int (sprintf)(char * __restrict, const char * __restrict, ...); | ^ anim.c:1053:13: warning: passing 'uchar[128]' (aka 'unsigned char[128]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1053 | drawstring(ttt,4,4,255); | ^~~ anim.c:7:23: note: passing argument to parameter here 7 | void drawstring(char *, ...); | ^ anim.c:1077:14: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1077 | getsquare0(tsquare,BUTTONFIGS+i); | ^~~~~~~ anim.c:137:23: note: passing argument to parameter 'dest' here 137 | void getsquare0(char *dest,int num) | ^ anim.c:1110:12: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1110 | getsquare(asquare,animbox); | ^~~~~~~ anim.c:153:22: note: passing argument to parameter 'dest' here 153 | void getsquare(char *dest,int num) | ^ anim.c:1115:12: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1115 | getsquare(asquare,animbox); | ^~~~~~~ anim.c:153:22: note: passing argument to parameter 'dest' here 153 | void getsquare(char *dest,int num) | ^ anim.c:1116:13: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1116 | copysquare(savesquare,asquare); | ^~~~~~~~~~ anim.c:302:23: note: passing argument to parameter 'dest' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:1116:24: warning: passing 'uchar[576]' (aka 'unsigned char[576]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1116 | copysquare(savesquare,asquare); | ^~~~~~~ anim.c:302:34: note: passing argument to parameter 'source' here 302 | void copysquare(char *dest,char *source) | ^ anim.c:1181:10: warning: passing 'uchar[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1181 | sprintf(ttt,"%s/%s/%s",localname,localdirname,gfxnames[workingon]); | ^~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | int (sprintf)(char * __restrict, const char * __restrict, ...); | ^ anim.c:1196:13: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1196 | wfile=open(name,O_WRONLY|O_CREAT|O_TRUNC|O_BINARY,0600); | ^~~~ /usr/include/fcntl.h:406:22: note: passing argument to parameter here 406 | int open(const char *, int, ...); | ^ anim.c:1231:8: 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] 1231 | fetch(trow,j); | ^ 64 warnings generated. In file included from scav.c:6: ./scav.h:435:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 435 | extern uchar *getgfx(); | ^ ./scav.h:476:15: note: conflicting prototype is here 476 | extern uchar *getgfx(int num); | ^ scav.c:195:8: warning: initializing 'uchar *' (aka 'unsigned char *') with an expression of type 'char[37]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 195 | uchar *wantiff="Picture file must be in IFF format.\n"; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:293:17: warning: returning 'char[40]' from a function with result type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 293 | return "Could not allocate memory for picture.\n"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:298:22: warning: passing 'uchar[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 298 | if(!expandpath(temparea,name,i)) | ^~~~~~~~ scav.c:258:22: note: passing argument to parameter 'put' here 258 | int expandpath(char *put,char *name,int num) | ^ scav.c:298:31: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 298 | if(!expandpath(temparea,name,i)) | ^~~~ scav.c:258:32: note: passing argument to parameter 'name' here 258 | int expandpath(char *put,char *name,int num) | ^ scav.c:299:17: warning: returning 'char[27]' from a function with result type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 299 | return "Cannot open picture file.\n"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:300:18: warning: passing 'uchar[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 300 | ihand=open(temparea,O_RDONLY|O_BINARY); | ^~~~~~~~ /usr/include/fcntl.h:406:22: note: passing argument to parameter here 406 | int open(const char *, int, ...); | ^ scav.c:359:30: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 359 | *picput++ = fixbyte(lines+i,1<