<86>Sep 29 12:25:04 userdel[141234]: delete user 'rooter' <86>Sep 29 12:25:04 userdel[141234]: removed group 'rooter' owned by 'rooter' <86>Sep 29 12:25:04 userdel[141234]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 29 12:25:04 groupadd[141267]: group added to /etc/group: name=rooter, GID=1811 <86>Sep 29 12:25:04 groupadd[141267]: group added to /etc/gshadow: name=rooter <86>Sep 29 12:25:04 groupadd[141267]: new group: name=rooter, GID=1811 <86>Sep 29 12:25:04 useradd[141296]: new user: name=rooter, UID=1811, GID=1811, home=/root, shell=/bin/bash <86>Sep 29 12:25:04 userdel[141344]: delete user 'builder' <86>Sep 29 12:25:04 userdel[141344]: removed group 'builder' owned by 'builder' <86>Sep 29 12:25:04 userdel[141344]: removed shadow group 'builder' owned by 'builder' <86>Sep 29 12:25:04 groupadd[141374]: group added to /etc/group: name=builder, GID=1812 <86>Sep 29 12:25:04 groupadd[141374]: group added to /etc/gshadow: name=builder <86>Sep 29 12:25:04 groupadd[141374]: new group: name=builder, GID=1812 <86>Sep 29 12:25:04 useradd[141404]: new user: name=builder, UID=1812, GID=1812, home=/usr/src, shell=/bin/bash <13>Sep 29 12:25:08 rpmi: libogg-1.3.4-alt1 p9+249556.100.1.1 1586300644 installed <13>Sep 29 12:25:08 rpmi: libglvnd-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Sep 29 12:25:08 rpmi: libexpat-2.4.3-alt1 p9+293696.100.1.1 1643124786 installed <13>Sep 29 12:25:08 rpmi: libflac8-1.3.3-alt1 p9+249557.100.1.1 1586301784 installed <13>Sep 29 12:25:08 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Sep 29 12:25:08 rpmi: xorg-proto-devel-2021.4-alt1 p9+272150.100.1.1 1621427342 installed <13>Sep 29 12:25:08 rpmi: libwayland-server-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed <13>Sep 29 12:25:08 rpmi: libOpenGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Sep 29 12:25:08 rpmi: libphysfs-3.0.2-alt1 sisyphus+227312.100.1.1 1555511352 installed <13>Sep 29 12:25:08 rpmi: libnatspec-0.3.1-alt2 1445691578 installed <13>Sep 29 12:25:08 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890148 installed <13>Sep 29 12:25:08 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Sep 29 12:25:08 rpmi: libopus-1.3.1-alt3 p9+247689.300.3.1 1584537429 installed <13>Sep 29 12:25:08 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Sep 29 12:25:08 rpmi: libsndfile-1.0.30-alt2 p9+262916.200.2.1 1607353710 installed <13>Sep 29 12:25:08 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228072 installed <13>Sep 29 12:25:08 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237682 installed <13>Sep 29 12:25:08 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237844 installed <13>Sep 29 12:25:08 rpmi: libsystemd-1:247.13-alt1 p9+313189.100.1.1 1673457063 installed <13>Sep 29 12:25:08 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553670 installed <13>Sep 29 12:25:08 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Sep 29 12:25:08 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Sep 29 12:25:08 rpmi: libX11-locales-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Sep 29 12:25:08 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Sep 29 12:25:08 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Sep 29 12:25:08 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Sep 29 12:25:08 rpmi: libX11-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Sep 29 12:25:08 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Sep 29 12:25:08 rpmi: libpulseaudio-14.2-alt5 p9+275574.200.4.1 1625044013 installed <13>Sep 29 12:25:08 rpmi: libmikmod-3.3.11.1-alt2 1502706813 installed <13>Sep 29 12:25:08 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Sep 29 12:25:08 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Sep 29 12:25:08 rpmi: libXrender-0.9.10-alt1 p9+261891.200.2.1 1606149106 installed <13>Sep 29 12:25:08 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Sep 29 12:25:09 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Sep 29 12:25:09 rpmi: libX11-devel-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Sep 29 12:25:09 rpmi: libwayland-client-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed <13>Sep 29 12:25:09 rpmi: libpciaccess-1:0.14-alt1 1528969624 installed <13>Sep 29 12:25:09 rpmi: libdrm-1:2.4.105-alt2 p9+271012.100.1.1 1619786664 installed <13>Sep 29 12:25:09 rpmi: libGLX-mesa-4:21.0.3-alt1 p9+271012.200.3.1 1621244963 installed <13>Sep 29 12:25:09 rpmi: libGLX-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Sep 29 12:25:09 rpmi: libGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Sep 29 12:25:09 rpmi: libGLU-4:9.0.1-alt1 p9+251991.3000.19.1 1590835932 installed <13>Sep 29 12:25:09 rpmi: libgbm-4:21.0.3-alt1 p9+271012.200.3.1 1621244963 installed <13>Sep 29 12:25:09 rpmi: libEGL-mesa-4:21.0.3-alt1 p9+271012.200.3.1 1621244963 installed <13>Sep 29 12:25:09 rpmi: libEGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Sep 29 12:25:09 rpmi: libglvnd-devel-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Sep 29 12:25:09 rpmi: libGL-devel-4:21.0.3-alt1 p9+271012.200.3.1 1621244963 installed <13>Sep 29 12:25:09 rpmi: libGLU-devel-4:9.0.1-alt1 p9+251991.3000.19.1 1590835932 installed <13>Sep 29 12:25:09 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Sep 29 12:25:10 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Sep 29 12:25:10 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Sep 29 12:25:10 rpmi: alsa-ucm-conf-1.2.4-alt1 p9+250722.2300.14.1 1614269485 installed <13>Sep 29 12:25:10 rpmi: alsa-topology-conf-1.2.4-alt1 p9+250722.2200.14.1 1614269467 installed <13>Sep 29 12:25:10 rpmi: libalsa-1:1.2.4-alt1 p9+250722.2400.14.1 1614269549 installed <13>Sep 29 12:25:10 rpmi: libSDL-1.2.14-alt8 p9+232634.100.1.1 1560964523 installed <13>Sep 29 12:25:10 rpmi: libSDL-devel-1.2.14-alt8 p9+232634.100.1.1 1560964523 installed <13>Sep 29 12:25:10 rpmi: libSDL_mixer-1.2.12-alt1 1421435872 installed <13>Sep 29 12:25:10 rpmi: python-modules-curses-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Sep 29 12:25:10 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Sep 29 12:25:10 rpmi: libncurses-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Sep 29 12:25:10 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Sep 29 12:25:10 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Sep 29 12:25:10 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Sep 29 12:25:10 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Sep 29 12:25:10 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Sep 29 12:25:10 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Sep 29 12:25:10 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Sep 29 12:25:10 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Sep 29 12:25:10 rpmi: ca-certificates-2021.10.06-alt1 p9+289862.100.1.1 1637033643 installed <13>Sep 29 12:25:10 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Sep 29 12:25:10 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Sep 29 12:25:10 rpmi: libcrypto1.1-1.1.1w-alt0.p9.1 p9+356668.100.1.1 1725304346 installed <13>Sep 29 12:25:10 rpmi: libssl1.1-1.1.1w-alt0.p9.1 p9+356668.100.1.1 1725304346 installed <13>Sep 29 12:25:10 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>Sep 29 12:25:10 groupadd[179269]: group added to /etc/group: name=_keytab, GID=499 <86>Sep 29 12:25:10 groupadd[179269]: group added to /etc/gshadow: name=_keytab <86>Sep 29 12:25:10 groupadd[179269]: new group: name=_keytab, GID=499 <13>Sep 29 12:25:10 rpmi: libkrb5-1.17.2-alt5 p9+325691.100.1.1 1690460821 installed <13>Sep 29 12:25:10 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Sep 29 12:25:10 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Sep 29 12:25:10 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Sep 29 12:25:10 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Sep 29 12:25:10 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Sep 29 12:25:10 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Sep 29 12:25:11 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Sep 29 12:25:11 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Sep 29 12:25:11 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Sep 29 12:25:11 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Sep 29 12:25:11 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Sep 29 12:25:11 rpmi: python-modules-logging-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Sep 29 12:25:11 rpmi: python-tools-2to3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Sep 29 12:25:11 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Sep 29 12:25:11 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Sep 29 12:25:11 rpmi: python-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Sep 29 12:25:11 rpmi: python-modules-distutils-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Sep 29 12:25:11 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Sep 29 12:25:11 rpmi: python-modules-json-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Sep 29 12:25:11 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Sep 29 12:25:11 rpmi: python-dev-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Sep 29 12:25:11 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Sep 29 12:25:11 rpmi: scons-3.0.1-alt1 1518686948 installed <13>Sep 29 12:25:11 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435872 installed <13>Sep 29 12:25:11 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed <13>Sep 29 12:25:11 rpmi: unzip-6.0-alt4 p9+261695.100.1.1 1605219254 installed <13>Sep 29 12:25:11 rpmi: libphysfs-devel-3.0.2-alt1 sisyphus+227312.100.1.1 1555511352 installed <13>Sep 29 12:25:11 rpmi: dos2unix-7.3.5-alt1 1499695585 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/d2x-rebirth-0.58.1-alt2.nosrc.rpm (w1.gzdio) Installing d2x-rebirth-0.58.1-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.45530 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf d2x-rebirth_v0.58.1-src + echo 'Source #0 (d2x-rebirth_v0.58.1-src.tar.gz):' Source #0 (d2x-rebirth_v0.58.1-src.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/d2x-rebirth_v0.58.1-src.tar.gz + /bin/tar -xf - + cd d2x-rebirth_v0.58.1-src + echo 'Source #2 (D2XBDE01.zip):' Source #2 (D2XBDE01.zip): + /usr/bin/unzip -qq /usr/src/RPM/SOURCES/D2XBDE01.zip + /bin/chmod -c -Rf u+rwX,go-w . + dos2unix d2x.ini CHANGELOG.txt COPYING.txt INSTALL.txt README.txt RELEASE-NOTES.txt dos2unix: converting file d2x.ini to Unix format... dos2unix: converting file CHANGELOG.txt to Unix format... dos2unix: converting file COPYING.txt to Unix format... dos2unix: converting file INSTALL.txt to Unix format... dos2unix: converting file README.txt to Unix format... dos2unix: converting file RELEASE-NOTES.txt to Unix format... + chmod 644 d2x.ini CHANGELOG.txt COPYING.txt INSTALL.txt README.txt RELEASE-NOTES.txt + sed -i /MAX_MULTI_MESSAGE_LEN+4/s/MAX_MULTI_MESSAGE_LEN+4/MAX_MULTI_MESSAGE_LEN+22/ main/multi.h + sed -i /MAX_MULTI_MESSAGE_LEN+4/s/MAX_MULTI_MESSAGE_LEN+4/MAX_MULTI_MESSAGE_LEN+22/ main/multi.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.45530 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd d2x-rebirth_v0.58.1-src + CFLAGS=-D__EXPORT__= + scons -j16 sharepath=/usr/share/games/descent2 sdl_only=1 sdlmixer=1 no_asm=1 scons: Reading SConscript files ... D2X-Rebirth: compiling on *NIX ===== D2X-Rebirth v0.58.1 ===== D2X-Rebirth: LittleEndian machine detected D2X-Rebirth: building with OpenGL D2X-Rebirth: including SDL_mixer scons: done reading SConscript files. scons: Building targets ... Compiling 2d/2dsline.c ... Compiling 2d/bitblt.c ... Compiling 2d/bitmap.c ... Compiling 2d/box.c ... Compiling 2d/canvas.c ... Compiling 2d/circle.c ... Compiling 2d/disc.c ... Compiling 2d/font.c ... Compiling 2d/gpixel.c ... Compiling 2d/line.c ... Compiling 2d/palette.c ... Compiling 2d/pcx.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 2d/pixel.c ... 2d/font.c: In function 'gr_init_font': 2d/font.c:1025:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, file_id, 4, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1038:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, font_data, 1, datasize); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': 2d/font.c:1079:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile,palette,3,256); //read the palette ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ 2d/font.c: In function 'gr_remap_font': 2d/font.c:1121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, file_id, 4, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1131:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, font_data, 1, datasize); //read raw data ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1169:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile,palette,3,256); //read the palette ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/palette.c: In function 'gr_use_palette_table': 2d/palette.c:106:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, gr_palette, 256*3, 1 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/palette.c:107:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, gr_fade_table, 256*34, 1 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 2d/rect.c ... In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ Compiling 2d/rle.c ... In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/pcx.c: In function 'PCXHeader_read_n': 2d/pcx.c:74:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &ph->ColorMap, 16*3, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/pcx.c:78:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &ph->filler, 60, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/pcx.c: In function 'PCX_PHYSFS_read': 2d/pcx.c:104:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] return PHYSFS_read(pcxphysfs->PCXfile, data, size, sizeof(*data)); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/pcx.c: In function 'pcx_write_bitmap': 2d/pcx.c:217:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(PCXfile, &header, PCXHEADER_SIZE, 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ 2d/pcx.c:232:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(PCXfile, &data, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ 2d/pcx.c:242:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] retval = PHYSFS_write(PCXfile, palette, 768, 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ Compiling 2d/scalec.c ... Compiling 3d/clipper.c ... Compiling 3d/draw.c ... Compiling 3d/globvars.c ... Compiling 3d/instance.c ... Compiling 3d/interp.c ... Compiling 3d/matrix.c ... Compiling 3d/points.c ... Compiling 3d/rod.c ... Compiling 3d/setup.c ... Compiling arch/ogl/gr.c ... Compiling arch/ogl/ogl.c ... Compiling arch/sdl/digi.c ... In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/digi_audio.c ... Compiling arch/sdl/digi_mixer.c ... arch/ogl/gr.c: In function 'write_bmp': arch/ogl/gr.c:1080:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(TGAFile,&TGA,sizeof(TGA_header),1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ arch/ogl/gr.c:1081:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(TGAFile,buf,w*h*3*sizeof(unsigned char),1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/digi_mixer_music.c ... In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/event.c ... In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/init.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/joy.c ... In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ arch/sdl/digi_mixer_music.c: In function 'mix_play_file': arch/sdl/digi_mixer_music.c:66:3: warning: 'PHYSFS_getUserDir' is deprecated [-Wdeprecated-declarations] snprintf(full_path, PATH_MAX, "%s%s", PHYSFS_getUserDir(), ^~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:792:25: note: declared here PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~ arch/sdl/digi_mixer_music.c:91:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] bufsize = PHYSFS_read(filehandle, current_music_hndlbuf, sizeof(char), PHYSFS_fileLength(filehandle)); ^~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ arch/ogl/ogl.c: In function 'tex_format_supported': arch/ogl/ogl.c:1259:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!GameArg.DbgGlIntensity4Ok) return 0; break; ^~ arch/ogl/ogl.c:1259:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!GameArg.DbgGlIntensity4Ok) return 0; break; ^~~~~ arch/ogl/ogl.c:1261:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!GameArg.DbgGlLuminance4Alpha4Ok) return 0; break; ^~ arch/ogl/ogl.c:1261:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!GameArg.DbgGlLuminance4Alpha4Ok) return 0; break; ^~~~~ arch/ogl/ogl.c:1263:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!GameArg.DbgGlRGBA2Ok) return 0; break; ^~ arch/ogl/ogl.c:1263:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!GameArg.DbgGlRGBA2Ok) return 0; break; ^~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/jukebox.c ... Compiling arch/sdl/key.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/mouse.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/rbaudio.c ... In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ arch/sdl/jukebox.c: In function 'jukebox_load': arch/sdl/jukebox.c:174:3: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if (PHYSFS_isDirectory(GameCfg.CMLevelMusicPath)) // find files in relative directory ^~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ arch/sdl/jukebox.c:179:4: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(GameCfg.CMLevelMusicPath, 0); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ arch/sdl/jukebox.c:188:5: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(GameCfg.CMLevelMusicPath); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/jukebox.c:196:4: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(GameCfg.CMLevelMusicPath); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling arch/sdl/timer.c ... Compiling arch/sdl/window.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ arch/sdl/joy.c: In function 'joy_init': arch/sdl/joy.c:188:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d A%d", i + 1, j + 1); ^~ arch/sdl/joy.c:188:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d A%d", i + 1, j + 1); ^~~~~~~~~ arch/sdl/joy.c:188:19: note: directive argument in the range [1, 129] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 17 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/joy.c:194:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d B%d", i + 1, j + 1); ^~ arch/sdl/joy.c:194:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d B%d", i + 1, j + 1); ^~~~~~~~~ arch/sdl/joy.c:194:19: note: directive argument in the range [1, 129] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 17 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/joy.c:202:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0202); ^~ arch/sdl/joy.c:202:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0202); ^~~~~~~~~~~ arch/sdl/joy.c:202:19: note: directive argument in the range [1, 5] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/joy.c:204:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0177); ^~ arch/sdl/joy.c:204:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0177); ^~~~~~~~~~~ arch/sdl/joy.c:204:19: note: directive argument in the range [1, 5] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/joy.c:206:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0200); ^~ arch/sdl/joy.c:206:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0200); ^~~~~~~~~~~ arch/sdl/joy.c:206:19: note: directive argument in the range [1, 5] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/joy.c:208:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0201); ^~ arch/sdl/joy.c:208:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0201); ^~~~~~~~~~~ arch/sdl/joy.c:208:19: note: directive argument in the range [1, 5] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling iff/iff.c ... Compiling libmve/decoder8.c ... Compiling libmve/decoder16.c ... In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ iff/iff.c: In function 'parse_body': iff/iff.c:170:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile, p, width, depth); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ iff/iff.c:206:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile, p, nn, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ iff/iff.c: In function 'write_body': iff/iff.c:764:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(ofile,new_span,newlen,1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ iff/iff.c:767:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(ofile,p,bitmap_header->w+odd,1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ Compiling libmve/mve_audio.c ... Compiling libmve/mvelib.c ... Compiling libmve/mveplay.c ... Compiling main/ai.c ... In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/ai2.c ... Compiling main/aipath.c ... main/ai.c: In function 'ai_save_state': main/ai.c:1571:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Ai_initialized, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1572:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Overall_agitation, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1579:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, ail_rw, sizeof(ai_local_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1582:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Point_segs, sizeof(point_seg) * MAX_POINT_SEGS, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1589:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, aic_rw, sizeof(ai_cloak_info_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1596:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1601:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1606:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1607:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Boss_teleport_interval, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1608:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Boss_cloak_interval, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1609:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Boss_cloak_duration, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1614:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1615:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Gate_interval, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1629:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1630:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Boss_dying, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1631:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Boss_dying_sound_playing, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1636:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1637:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Escort_kill_object, sizeof(Escort_kill_object), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1642:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1643:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Escort_goal_object, sizeof(Escort_goal_object), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1644:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Escort_special_goal, sizeof(Escort_special_goal), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1645:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Escort_goal_index, sizeof(Escort_goal_index), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1646:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Stolen_items, sizeof(Stolen_items[0])*MAX_STOLEN_ITEMS, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1651:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1654:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_boss_teleport_segs, sizeof(Num_boss_teleport_segs), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1655:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_boss_gate_segs, sizeof(Num_boss_gate_segs), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1658:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Boss_gate_segs, sizeof(Boss_gate_segs[0]), Num_boss_gate_segs); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1661:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Boss_teleport_segs, sizeof(Boss_teleport_segs[0]), Num_boss_teleport_segs); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c: In function 'ai_restore_state': main/ai.c:1766:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Stolen_items, sizeof(Stolen_items[0]) * MAX_STOLEN_ITEMS, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/automap.c ... In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/bm.c ... In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/cntrlcen.c ... Compiling main/collide.c ... In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/config.c ... main/bm.c: In function 'bm_read_all': main/bm.c:164:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, Sounds, sizeof(ubyte), t ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/bm.c:165:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, AltSounds, sizeof(ubyte), t ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/automap.c: In function 'automap_clear_visited': main/automap.c:367:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (unsigned i=0; i< sizeof(Automap_visited) / sizeof(Automap_visited[0]); i++ ) ^~~ main/automap.c:369:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' ClearMarkers(); ^~~~~~~~~~~~ Compiling main/console.c ... In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/controls.c ... main/cntrlcen.c: In function 'control_center_triggers_read_n_swap': main/cntrlcen.c:553:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, cct, sizeof(control_center_triggers), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/credits.c ... main/collide.c: In function 'apply_damage_to_robot': main/collide.c:1333:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (isthief) ^~ main/collide.c:1337:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (multi_explode_robot_sub(robot-Objects, killer_objnum,Robot_info[robot->id].thief)) ^~ main/collide.c:1345:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (isthief) ^~ main/collide.c:1349:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 1; ^~~~~~ Compiling main/digiobj.c ... In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/dumpmine.c ... In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/effects.c ... In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/endlevel.c ... In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/escort.c ... In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/credits.c: In function 'credits_show': main/credits.c:240:21: warning: '.txb' directive writing 4 bytes into a region of size between 1 and 32 [-Wformat-overflow=] sprintf(nfile, "%s.txb", filename); ^~~~ In file included from /usr/include/stdio.h:862, from main/credits.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 36 bytes into a destination of size 32 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling main/fireball.c ... In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/fuelcen.c ... Compiling main/fvi.c ... In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ Compiling main/game.c ... In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ At top level: main/endlevel.c:138:19: warning: 'movie_table_secret' defined but not used [-Wunused-const-variable=] static const char movie_table_secret[] = {'a','d','g','j','m','p'}; ^~~~~~~~~~~~~~~~~~ Compiling main/gamecntl.c ... In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gamefont.c ... main/fireball.c: In function 'object_create_explosion_sub': main/fireball.c:226:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (killer != ConsoleObject) // if someone else whacks you, cut force by 2x ^~ main/fireball.c:227:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' vforce2.x /= 2; vforce2.y /= 2; vforce2.z /= 2; ^~~~~~~ main/fireball.c: In function 'pick_connected_segment': main/fireball.c:433:2: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] memset(seg_queue,0,QUEUE_SIZE*2); ^~~~~~ main/fireball.c: In function 'expl_wall_read_n_swap': main/fireball.c:1447:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, ew, sizeof(expl_wall), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gamemine.c ... In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ main/fuelcen.c: In function 'matcen_info_read_n_swap': main/fuelcen.c:840:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, mi, sizeof(*mi), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gamepal.c ... In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/fuelcen.c: In function 'fuelcen_read_n_swap': In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ main/fuelcen.c:881:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, fc, sizeof(FuelCenter), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_readByte': In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_writeU8': In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gamerend.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gamesave.c ... In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/gamesave.c: In function 'load_game_data': main/gamesave.c:798:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(LoadFile,Save_pof_names,N_save_pof_names,FILENAME_LEN); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/gamesave.c:984:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main/gamesave.c:987:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' for (j = 0; j <= Highest_segment_index; j++) ^~~ Compiling main/gameseg.c ... Compiling main/gameseq.c ... Compiling main/gauges.c ... In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/gameseg.c: In function 'trace_segs': main/gameseg.c:738:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (sidenum = 0, bit = 1; sidenum < 6; sidenum++, bit <<= 1) ^~~ main/gameseg.c:745:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if (biggest_side == -1) ^~ Compiling main/hostage.c ... In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ Compiling main/hud.c ... In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/inferno.c ... Compiling main/kconfig.c ... main/gameseq.c: In function 'DoEndGame': main/gameseq.c:1240:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else if (!(Game_mode & GM_MULTI)) //not multi ^~~~ main/gameseq.c:1251:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' key_flush(); ^~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/gamerend.c: In function 'show_extra_views': main/gamerend.c:611:27: warning: '%d' directive writing between 1 and 11 bytes into a region of size 3 [-Wformat-overflow=] sprintf(label,"Marker %d",Marker_viewer_num[w]+1); ^~ main/gamerend.c:611:19: note: directive argument in the range [-2147483647, 2147483647] sprintf(label,"Marker %d",Marker_viewer_num[w]+1); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from main/gamerend.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 19 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/kmatrix.c ... Compiling main/laser.c ... main/escort.c: In function 'do_escort_menu': main/escort.c:1822:21: warning: '%s' directive writing up to 31 bytes into a region of size between 4 and 35 [-Wformat-overflow=] sprintf(menu->msg, "Select Guide-Bot Command:\n\n\n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/escort.c:1835:17: , goal_str, tstr); ~~~~ main/escort.c:1833:12: note: format string is defined here "T. %s Messages" ^~ In file included from /usr/include/stdio.h:862, from main/escort.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 275 and 337 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling main/lighting.c ... In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/menu.c ... In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/mglobal.c ... In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/mission.c ... In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/morph.c ... In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/movie.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/menu.c: In function 'list_dir_el': main/menu.c:1336:2: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if ((!strcmp((PHYSFS_getRealDir(fname)==NULL?"":PHYSFS_getRealDir(fname)), b->view_path)) && (PHYSFS_isDirectory(fname) || (ext && *i)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ main/menu.c: In function 'list_directory': main/menu.c:1358:2: warning: 'PHYSFS_enumerateFilesCallback' is deprecated [-Wdeprecated-declarations] PHYSFS_enumerateFilesCallback("", (PHYSFS_EnumFilesCallback) list_dir_el, b); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:2385:18: note: declared here PHYSFS_DECL void PHYSFS_enumerateFilesCallback(const char *dir, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/menu.c: In function 'select_file_handler': main/menu.c:1461:4: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if ((citem == 0) || PHYSFS_isDirectory(list[citem])) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ main/menu.c:1472:5: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(b->view_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main/menu.c: In function 'select_file_recursive': main/menu.c:1544:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] while (!PHYSFS_addToSearchPath(b->view_path, 0)) ^~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ main/menu.c:1560:3: warning: 'PHYSFS_getUserDir' is deprecated [-Wdeprecated-declarations] strncpy(b->view_path, PHYSFS_getUserDir(), PATH_MAX - 1); ^~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:792:25: note: declared here PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~ main/menu.c:1563:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] if (!PHYSFS_addToSearchPath(b->view_path, 0)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ main/mission.c: In function 'add_missions_to_list': main/mission.c:532:3: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if (PHYSFS_isDirectory(path)) ^~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/multi.c ... Compiling main/multibot.c ... Compiling main/newdemo.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/newmenu.c ... main/movie.c: In function 'RunMovie': main/movie.c:394:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT, "Can't open movie <%s>: %s\n", filename, PHYSFS_getLastError()); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/movie.c: In function 'InitRobotMovie': main/movie.c:506:3: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT, "Can't open movie <%s>: %s\n", filename, PHYSFS_getLastError()); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/movie.c: In function 'init_subtitles': main/movie.c:574:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] read_count = PHYSFS_read(ifile, subtitle_raw_data, 1, size); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/movie.c: In function 'init_movie': main/movie.c:691:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT, "Can't open movielib <%s>: %s\n", filename, PHYSFS_getLastError()); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/movie.c: In function 'close_extra_robot_movie': main/movie.c:718:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT, "Can't close movielib <%s>: %s\n", filename, PHYSFS_getLastError()); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/movie.c:722:5: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT, "Can't close movielib <%s>: %s\n", filename, PHYSFS_getLastError()); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ Compiling main/object.c ... In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/paging.c ... main/movie.c: In function 'close_extra_robot_movie.part.4': main/movie.c:714:43: warning: '.mvl' directive output may be truncated writing 4 bytes into a region of size between 1 and 13 [-Wformat-truncation=] snprintf(filename,FILENAME_LEN+2, "%s-%s.mvl", movielib_files[EXTRA_ROBOT_LIB], GameArg.GfxMovieHires?"h":"l"); ^~~~ In file included from /usr/include/stdio.h:862, from include/dxxerror.h:23, from include/physfsx.h:25, from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 7 and 19 bytes into a destination of size 15 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/movie.c:719:45: warning: '.mvl' directive output may be truncated writing 4 bytes into a region of size between 1 and 13 [-Wformat-truncation=] snprintf(filename, FILENAME_LEN+2, "%s-%s.mvl", movielib_files[EXTRA_ROBOT_LIB], GameArg.GfxMovieHires?"l":"h"); ^~~~ In file included from /usr/include/stdio.h:862, from include/dxxerror.h:23, from include/physfsx.h:25, from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 7 and 19 bytes into a destination of size 15 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/newdemo.c: In function 'newdemo_read': main/newdemo.c:257:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] num_read = PHYSFS_read(infile, buffer, elsize, nelem); ^~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/newdemo.c: In function 'newdemo_write': main/newdemo.c:284:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] num_written = PHYSFS_write(outfile, buffer, elsize, nelem); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/newdemo.c: In function 'newdemo_swap_endian': main/newdemo.c:3686:8: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] complete ? "" : (nd_playback_v_at_eof ? TXT_DEMO_CORRUPT : PHYSFS_getLastError())); ^~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/physics.c ... In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c: In function 'init_hoard_data': main/multi.c:5189:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,palette,3,256); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5192:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,bm->bm_data,1,orb_w*orb_h); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5198:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,palette,3,256); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5201:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,bm->bm_data,1,64*64); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5213:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,palette,3,256); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5214:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,Orb_icons[i].bm_data,1,icon_w*icon_h); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5232:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,GameSounds[Num_sound_files+i].data,1,len); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c: In function 'multi_process_data': main/multi.c:5335:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_position(buf); break; ^~ main/multi.c:5335:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_position(buf); break; ^~~~~ main/multi.c:5337:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_reappear(buf); break; ^~ main/multi.c:5337:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_reappear(buf); break; ^~~~~ main/multi.c:5339:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_fire(buf); break; ^~ main/multi.c:5339:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_fire(buf); break; ^~~~~ main/multi.c:5343:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_remobj(buf); break; ^~ main/multi.c:5343:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_remobj(buf); break; ^~~~~ main/multi.c:5346:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_player_explode(buf); break; ^~ main/multi.c:5346:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_player_explode(buf); break; ^~~~~ main/multi.c:5348:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_message(buf); break; ^~ main/multi.c:5348:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_message(buf); break; ^~~~~ main/multi.c:5350:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_quit(buf); break; ^~ main/multi.c:5350:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_quit(buf); break; ^~~~~ main/multi.c:5354:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_controlcen_destroy(buf); break; ^~ main/multi.c:5354:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_controlcen_destroy(buf); break; ^~~~~ main/multi.c:5356:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_powcap_update(buf); break; ^~ main/multi.c:5356:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_powcap_update(buf); break; ^~~~~ main/multi.c:5360:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_drop_marker (buf); break; ^~ main/multi.c:5360:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_drop_marker (buf); break; ^~~~~ main/multi.c:5362:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_drop_weapon(buf); break; ^~ main/multi.c:5362:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_drop_weapon(buf); break; ^~~~~ main/multi.c:5364:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_drop_flag(buf); break; ^~ main/multi.c:5364:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_drop_flag(buf); break; ^~~~~ main/multi.c:5366:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_guided (buf); break; ^~ main/multi.c:5366:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_guided (buf); break; ^~~~~ main/multi.c:5368:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_stolen_items(buf); break; ^~ main/multi.c:5368:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_stolen_items(buf); break; ^~~~~ main/multi.c:5370:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_wall_status(buf); break; ^~ main/multi.c:5370:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_wall_status(buf); break; ^~~~~ main/multi.c:5372:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_heartbeat (buf); break; ^~ main/multi.c:5372:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_heartbeat (buf); break; ^~~~~ main/multi.c:5374:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_seismic (buf); break; ^~ main/multi.c:5374:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_seismic (buf); break; ^~~~~ main/multi.c:5376:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_light (buf); break; ^~ main/multi.c:5376:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_light (buf); break; ^~~~~ main/multi.c:5378:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_kill_goal_counts (buf); break; ^~ main/multi.c:5378:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_kill_goal_counts (buf); break; ^~~~~ main/multi.c:5380:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_escape(buf); break; ^~ Compiling main/piggy.c ... main/multi.c:5380:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_escape(buf); break; ^~~~~ main/multi.c:5384:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_cloak(buf); break; ^~ main/multi.c:5384:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_cloak(buf); break; ^~~~~ main/multi.c:5386:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_decloak(buf); break; ^~ main/multi.c:5386:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_decloak(buf); break; ^~~~~ main/multi.c:5388:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_door_open(buf); break; ^~ main/multi.c:5388:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_door_open(buf); break; ^~~~~ main/multi.c:5390:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_explosion(buf); break; ^~ main/multi.c:5390:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_create_explosion(buf); break; ^~~~~ main/multi.c:5392:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_controlcen_fire(buf); break; ^~ main/multi.c:5392:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_controlcen_fire(buf); break; ^~~~~ main/multi.c:5394:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_powerup(buf); break; ^~ main/multi.c:5394:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_create_powerup(buf); break; ^~~~~ main/multi.c:5396:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_play_sound(buf); break; ^~ main/multi.c:5396:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_play_sound(buf); break; ^~~~~ main/multi.c:5398:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_capture_bonus(buf); break; ^~ main/multi.c:5398:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_capture_bonus(buf); break; ^~~~~ main/multi.c:5400:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_orb_bonus(buf); break; ^~ main/multi.c:5400:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_orb_bonus(buf); break; ^~~~~ main/multi.c:5402:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_got_flag(buf); break; ^~ main/multi.c:5402:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_got_flag(buf); break; ^~~~~ main/multi.c:5404:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_got_orb(buf); break; ^~ main/multi.c:5404:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_got_orb(buf); break; ^~~~~ main/multi.c:5406:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_play_by_play(buf); break; ^~ main/multi.c:5406:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_play_by_play(buf); break; ^~~~~ main/multi.c:5408:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_ranking (buf); break; ^~ main/multi.c:5408:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_ranking (buf); break; ^~~~~ main/multi.c:5414:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_claim_robot(buf); break; ^~ main/multi.c:5414:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_claim_robot(buf); break; ^~~~~ main/multi.c:5416:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_position(buf); break; ^~ main/multi.c:5416:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_robot_position(buf); break; ^~~~~ main/multi.c:5418:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_explode(buf); break; ^~ main/multi.c:5418:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_robot_explode(buf); break; ^~~~~ main/multi.c:5420:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_release_robot(buf); break; ^~ main/multi.c:5420:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_release_robot(buf); break; ^~~~~ main/multi.c:5422:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_fire(buf); break; ^~ main/multi.c:5422:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_robot_fire(buf); break; ^~~~~ main/multi.c:5424:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_score(buf); break; ^~ main/multi.c:5424:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_score(buf); break; ^~~~~ main/multi.c:5426:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_robot(buf); break; ^~ main/multi.c:5426:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_create_robot(buf); break; ^~~~~ main/multi.c:5428:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_trigger(buf); break; ^~ main/multi.c:5428:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_trigger(buf); break; ^~~~~ main/multi.c:5430:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_start_trigger(buf); break; ^~ main/multi.c:5430:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_start_trigger(buf); break; ^~~~~ main/multi.c:5432:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_flags(buf); break; ^~ main/multi.c:5432:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_flags(buf); break; ^~~~~ main/multi.c:5434:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_drop_blob(buf); break; ^~ main/multi.c:5434:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_drop_blob(buf); break; ^~~~~ main/multi.c:5436:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_active_door(buf); break; ^~ main/multi.c:5436:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_active_door(buf); break; ^~~~~ main/multi.c:5438:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_boss_actions(buf); break; ^~ main/multi.c:5438:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_boss_actions(buf); break; ^~~~~ main/multi.c:5440:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_robot_powerups(buf); break; ^~ main/multi.c:5440:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_create_robot_powerups(buf); break; ^~~~~ main/multi.c:5442:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_hostage_door_status(buf); break; ^~ main/multi.c:5442:63: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_hostage_door_status(buf); break; ^~~~~ main/multi.c:5444:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_save_game(buf); break; ^~ main/multi.c:5444:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_save_game(buf); break; ^~~~~ main/multi.c:5446:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_restore_game(buf); break; ^~ main/multi.c:5446:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_restore_game(buf); break; ^~~~~ main/multi.c:5448:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( !Endlevel_sequence ) multi_do_bounty( buf ); break; ^~ main/multi.c:5448:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( !Endlevel_sequence ) multi_do_bounty( buf ); break; ^~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/player.c ... main/object.c: In function 'obj_get_signature': main/object.c:1096:26: warning: iteration 350 invokes undefined behavior [-Waggressive-loop-optimizations] if ((sig == Objects[i].signature) && (Objects[i].type != OBJ_NONE)) ~~~~~~~~~~^~~~~~~~~~ main/object.c:1094:3: note: within this loop for (i = 0; i <= MAX_OBJECTS; i++) ^~~ Compiling main/playsave.c ... Compiling main/polyobj.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'DiskBitmapHeader_read': main/piggy.c:151:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, dbh->name, 8, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'DiskSoundHeader_read': main/piggy.c:166:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, dsh->name, 8, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'DiskBitmapHeader_d1_read': main/piggy.c:177:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, dbh->name, 8, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'piggy_read_sounds': main/piggy.c:1016:5: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, snd->data, snd->length, 1 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'piggy_bitmap_page_in': main/piggy.c:1107:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, &Piggy_bitmap_cache_data[Piggy_bitmap_cache_next+4], 1, zsize-4 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c:1149:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, &Piggy_bitmap_cache_data[Piggy_bitmap_cache_next], 1, bmp->bm_h*bmp->bm_w ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'load_bitmap_replacements': main/piggy.c:1608:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,Bitmap_replacement_data,1,bitmap_data_size); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'get_d1_colormap': main/piggy.c:1635:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( palette_file, d1_palette, 256, 3 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'bitmap_read_d1': main/piggy.c:1678:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(d1_Piggy_fp, data, 1, zsize); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/powerup.c ... In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/polyobj.c: In function 'read_model_file': main/polyobj.c:277:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] Pof_file_end = PHYSFS_read(ifile, model_buf, 1, PHYSFS_fileLength(ifile)); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/polyobj.c: In function 'read_model_guns': main/polyobj.c:452:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] Pof_file_end = PHYSFS_read(ifile, model_buf, 1, PHYSFS_fileLength(ifile)); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/polyobj.c: In function 'polymodel_read': main/polyobj.c:768:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pm->submodel_parents, MAX_SUBMODELS, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/newdemo.c: In function 'newdemo_stop_recording': main/polyobj.c: In function 'polymodel_read_n': main/polyobj.c:802:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pm[i].submodel_parents, MAX_SUBMODELS, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/newdemo.c:3444:24: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf (newfile, "%s%d", filename, num); ^~ main/newdemo.c:3444:21: note: directive argument in the range [-2147483647, 2147483647] sprintf (newfile, "%s%d", filename, num); ^~~~~~ main/polyobj.c: In function 'polygon_model_data_read': In file included from /usr/include/stdio.h:862, from main/newdemo.c:22: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 4107 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/polyobj.c:824:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pm->model_data, sizeof(ubyte), pm->model_data_size); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/render.c ... main/playsave.c: In function 'read_player_file': main/playsave.c:570:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, PlayerCfg.HighestLevels, sizeof(hli), PlayerCfg.NHighestLevels) != PlayerCfg.NHighestLevels) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:581:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, PlayerCfg.NetworkMessageMacro[i], len, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:594:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &PlayerCfg.KeySettings[0], sizeof(PlayerCfg.KeySettings[0]),1)!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:596:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &PlayerCfg.KeySettings[1], sizeof(PlayerCfg.KeySettings[1]),1)!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:599:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &PlayerCfg.KeySettings[2], sizeof(PlayerCfg.KeySettings[2]),1)!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:604:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, (ubyte *)&control_type_dos, sizeof(ubyte), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:606:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] else if (player_file_version >= 21 && PHYSFS_read(file, (ubyte *)&control_type_win, sizeof(ubyte), 1) != 1) ^~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:608:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] else if (PHYSFS_read(file, &dummy_joy_sens, sizeof(ubyte), 1) !=1 ) ^~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:699:2: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] nm_messagebox(TXT_ERROR, 1, TXT_OK, "%s\n\n%s", "Error reading PLR file", PHYSFS_getLastError()); ^~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/playsave.c: In function 'write_player_file': main/playsave.c:806:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if ((PHYSFS_write(file, PlayerCfg.HighestLevels, sizeof(hli), PlayerCfg.NHighestLevels) != PlayerCfg.NHighestLevels)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:810:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if ((PHYSFS_write(file, PlayerCfg.NetworkMessageMacro, MAX_MESSAGE_LEN, 4) != 4)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:827:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, PlayerCfg.KeySettings[0], sizeof(PlayerCfg.KeySettings[0]), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:829:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, PlayerCfg.KeySettings[1], sizeof(PlayerCfg.KeySettings[1]), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:832:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, "0", sizeof(ubyte), 1) != 1) // Skip obsolete Flightstick/Thrustmaster/Gravis map fields ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:834:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, PlayerCfg.KeySettings[2], sizeof(PlayerCfg.KeySettings[2]), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:837:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, "0", sizeof(ubyte), 1) != 1) // Skip obsolete Cyberman/Winjoy map fields ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:839:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &control_type_dos, sizeof(ubyte), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:841:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &control_type_win, sizeof(ubyte), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:843:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &old_avg_joy_sensitivity, sizeof(ubyte), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:848:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(file, &PlayerCfg.PrimaryOrder[i], sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:849:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(file, &PlayerCfg.SecondaryOrder[i], sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:882:2: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] nm_messagebox(TXT_ERROR, 1, TXT_OK, "%s\n\n%s", TXT_ERROR_WRITING_PLR, PHYSFS_getLastError()); ^~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ Compiling main/robot.c ... Compiling main/scores.c ... In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'piggy_init_pigfile': In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_writeU8': main/piggy.c:458:28: warning: '%d' directive writing between 1 and 2 bytes into a region of size between 0 and 15 [-Wformat-overflow=] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & DBM_NUM_FRAMES ); ^~ include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ main/piggy.c:458:24: note: directive argument in the range [0, 63] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & DBM_NUM_FRAMES ); ^~~~~~~ In file included from /usr/include/stdio.h:862, from main/piggy.c:21: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 19 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'piggy_new_pigfile': In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': main/piggy.c:566:29: warning: '%d' directive writing between 1 and 2 bytes into a region of size between 0 and 15 [-Wformat-overflow=] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & DBM_NUM_FRAMES ); ^~ include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c:566:25: note: directive argument in the range [0, 63] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & DBM_NUM_FRAMES ); ^~~~~~~ In file included from /usr/include/stdio.h:862, from main/piggy.c:21: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 19 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/robot.c: In function 'robot_info_read_n': main/robot.c:306:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, ri[i].pad, 3, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/render.c: In function 'render_segment': main/render.c:819:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Viewer->type!=OBJ_ROBOT) ^~ main/render.c:822:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (sn=0; sntype!=OBJ_ROBOT) ^~ main/render.c:2162:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (sn=0; sntype!=OBJ_ROBOT) ^~ main/render.c:2274:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (sn=0; snbm_data, THUMBNAIL_W * THUMBNAIL_H, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:640:7: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pal, 3, 256); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c: In function 'copy_file': main/state.c:730:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] bytes_read = PHYSFS_read(in_file, buf, 1, buf_size); ^~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:732:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] Error("Cannot read from file <%s>: %s", old_file, PHYSFS_getLastError()); ^~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/state.c:736:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(out_file, buf, 1, bytes_read) < bytes_read) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:737:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] Error("Cannot write to file <%s>: %s", new_file, PHYSFS_getLastError()); ^~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/state.c: In function 'state_save_all': main/state.c:822:6: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] Error("Cannot delete file <%s>: %s", temp_fname, PHYSFS_getLastError()); ^~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/state.c: In function 'state_save_all_sub': main/state.c:871:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, dgss_id, sizeof(char) * 4, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:875:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:880:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &state_game_id, sizeof(uint), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:881:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Players[Player_num].callsign, sizeof(char)*CALLSIGN_LEN+1, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:885:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, desc, sizeof(char) * DESC_LENGTH, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:921:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, cnv->cv_bitmap.bm_data, THUMBNAIL_W * THUMBNAIL_H, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:925:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, pal, 3, 256); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:931:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &color, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:936:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:941:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &mission_filename, 9 * sizeof(char), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:944:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Current_level_num, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:945:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Next_level_num, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:950:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:958:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:963:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Primary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:964:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Secondary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:967:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Difficulty_level, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:970:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.enabled, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:994:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1001:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, obj_rw, sizeof(object_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1007:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1008:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Walls, sizeof(wall), i); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1012:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1013:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, expl_wall_list, sizeof(*expl_wall_list), i); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1017:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1018:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, ActiveDoors, sizeof(active_door), i); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1022:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1023:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, CloakingWalls, sizeof(cloaking_wall), i); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1026:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_triggers, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1027:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Triggers, sizeof(trigger), Num_triggers); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1034:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Segments[i].sides[j].wall_num, sizeof(short), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1035:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Segments[i].sides[j].tmap_num, sizeof(short), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1036:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Segments[i].sides[j].tmap_num2, sizeof(short), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1041:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_destroyed, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1042:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Countdown_timer, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1043:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_robot_centers, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1044:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, RobotCenters, sizeof(matcen_info), Num_robot_centers); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1045:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &ControlCenterTriggers, sizeof(control_center_triggers), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1046:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_fuelcenters, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1047:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Station, sizeof(FuelCenter), Num_fuelcenters); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1050:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_been_hit, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1051:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_player_been_seen, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1052:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_next_fire_time, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1053:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_present, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1054:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Dead_controlcen_object_num, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1062:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Automap_visited, sizeof(ubyte), Highest_segment_index + 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1065:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Automap_visited, sizeof(ubyte), MAX_SEGMENTS_ORIGINAL); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1067:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &state_game_id, sizeof(uint), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1069:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.rapidfire, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1070:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); // was Lunacy ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1071:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); // was Lunacy, too... and one was Ugly robot stuff a long time ago... ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1075:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, MarkerObject, sizeof(MarkerObject) ,1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1076:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Players[0].callsign[0], sizeof(char), (NUM_MARKERS)*(CALLSIGN_LEN+1)); // PHYSFS_write(fp, MarkerOwner, sizeof(MarkerOwner), 1); MarkerOwner is obsolete ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1077:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, MarkerMessage, sizeof(MarkerMessage), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1079:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Afterburner_charge, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1082:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Primary_last_was_super, sizeof(Primary_last_was_super), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1083:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Secondary_last_was_super, sizeof(Secondary_last_was_super), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1086:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Flash_effect, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1091:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1092:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &PaletteRedAdd, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1093:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &PaletteGreenAdd, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1094:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &PaletteBlueAdd, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1097:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Light_subtracted, sizeof(Light_subtracted[0]), Highest_segment_index + 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1100:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Light_subtracted, sizeof(Light_subtracted[0]), MAX_SEGMENTS_ORIGINAL); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1101:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &First_secret_visit, sizeof(First_secret_visit), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1102:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Omega_charge, sizeof(Omega_charge), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1112:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1115:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.mission_title, sizeof(char), MISSION_NAME_LEN+1); ^~~~~~~~~~~~ Compiling main/titles.c ... In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1116:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.mission_name, sizeof(char), 9); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1117:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.levelnum, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1118:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.difficulty, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1119:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.game_status, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1120:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1121:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.max_numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1122:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.numconnected, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1123:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.level_time, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c: In function 'state_restore_all_sub': main/state.c:1251:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, id, sizeof(char) * 4, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1259:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &version, sizeof(int), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1276:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &saved_callsign, sizeof(char)*CALLSIGN_LEN+1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1285:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, desc, sizeof(char) * DESC_LENGTH, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1298:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, mission, sizeof(char) * 9, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1347:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1372:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1383:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Primary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1384:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Secondary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1411:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, obj_rw, sizeof(object_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1514:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, Automap_visited, sizeof(ubyte), Highest_segment_index + 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1517:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, Automap_visited, sizeof(ubyte), MAX_SEGMENTS_ORIGINAL); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1538:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, MarkerMessage, sizeof(MarkerMessage), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1563:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Primary_last_was_super, sizeof(Primary_last_was_super), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1564:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Secondary_last_was_super, sizeof(Secondary_last_was_super), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1587:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, Light_subtracted, sizeof(Light_subtracted[0]), Highest_segment_index + 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1590:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, Light_subtracted, sizeof(Light_subtracted[0]), MAX_SEGMENTS_ORIGINAL); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1639:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1690:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.mission_title, sizeof(char), MISSION_NAME_LEN+1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1691:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.mission_name, sizeof(char), 9); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1693:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.difficulty, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1694:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.game_status, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1695:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1696:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.max_numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1697:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.numconnected, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c: In function 'state_get_game_id': main/state.c:1741:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, id, sizeof(char) * 4, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1749:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &version, sizeof(int), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1763:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &saved_callsign, sizeof(char)*CALLSIGN_LEN+1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/vclip.c ... In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/text.c: In function 'load_text': main/text.c:105:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,text,1,len); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/wall.c ... Compiling main/weapon.c ... In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling maths/fixc.c ... main/titles.c: In function 'load_screen_text': main/titles.c:471:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(tfile,*buf+x,1,1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling maths/rand.c ... Compiling maths/tables.c ... main/weapon.c: In function 'pick_up_primary': main/weapon.c:695:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (weapon_index!=LASER_INDEX) ^~ main/weapon.c:698:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 1; ^~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling maths/vecmat.c ... Compiling mem/mem.c ... Compiling misc/args.c ... Compiling misc/error.c ... main/wall.c: In function 'wclip_read_n_d1': main/wall.c:1607:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, wc[i].filename, 13, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/wall.c: In function 'wclip_read_n': main/wall.c:1628:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, wc[i].filename, 13, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/wall.c: In function 'wall_read_n_swap': main/wall.c:1700:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, w, sizeof(wall), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/wall.c: In function 'active_door_read_n_swap': main/wall.c:1755:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, ad, sizeof(active_door), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/wall.c: In function 'cloaking_wall_read_n_swap': main/wall.c:1821:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, cw, sizeof(cloaking_wall), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling misc/hash.c ... In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling misc/hmp.c ... Compiling misc/ignorecase.c ... In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling misc/physfsrwops.c ... In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/hmp.c: In function 'hmp_open': misc/hmp.c:62:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if ((PHYSFS_read(fp, buf, 1, 8) != 8) || (memcmp(buf, "HMIMIDIP", 8))) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/hmp.c:76:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &num_tracks, 4, 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/hmp.c:97:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &tempo, 4, 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/hmp.c:113:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if ((PHYSFSX_fseek(fp, 4, SEEK_CUR)) || (PHYSFS_read(fp, &data, 4, 1) != 1)) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/hmp.c:132:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if ((PHYSFSX_fseek(fp, 4, SEEK_CUR)) || (PHYSFS_read(fp, p, data, 1) != 1)) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling misc/physfsx.c ... In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling misc/strio.c ... Compiling misc/strutil.c ... misc/physfsrwops.c: In function 'physfsrwops_seek': misc/physfsrwops.c:42:27: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] PHYSFS_getLastError()); ^~~~~~~~~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c:64:13: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("Can't find end of file: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c:92:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c: In function 'physfsrwops_read': misc/physfsrwops.c:103:5: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_sint64 rc = PHYSFS_read(handle, ptr, size, maxnum); ^~~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/physfsrwops.c:107:13: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c: In function 'physfsrwops_write': misc/physfsrwops.c:117:5: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_sint64 rc = PHYSFS_write(handle, ptr, size, num); ^~~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ misc/physfsrwops.c:119:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c: In function 'physfsrwops_close': misc/physfsrwops.c:130:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c: In function 'create_rwops': misc/physfsrwops.c:144:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ Compiling texmap/ntmap.c ... Compiling texmap/scanline.c ... In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_init': misc/physfsx.c:71:3: warning: 'PHYSFS_getUserDir' is deprecated [-Wdeprecated-declarations] const char *home = PHYSFS_getUserDir(); ^~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:792:25: note: declared here PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~ misc/physfsx.c:110:2: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(PHYSFS_getWriteDir(), 1); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:113:2: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(base_dir, 1); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:115:2: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(base_dir); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:121:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] Error("can't set write dir: %s\n", PHYSFS_getLastError()); ^~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsx.c:123:4: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(PHYSFS_getWriteDir(), 0); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:128:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(GameArg.SysHogDir,1); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:131:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(SHAREPATH, 1); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_addRelToSearchPath': misc/physfsx.c:178:2: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] return PHYSFS_addToSearchPath(pathname, add_to_end); ^~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_removeRelFromSearchPath': misc/physfsx.c:191:2: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] return PHYSFS_removeFromSearchPath(pathname); ^~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_addArchiveContent': misc/physfsx.c:481:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] if (PHYSFS_addToSearchPath(file[1], 0)) ^~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_removeArchiveContent': misc/physfsx.c:539:3: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(file[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:555:3: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(file[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling main/net_udp.c ... In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ texmap/ntmap.c: In function 'ntmap_scanline_lighted_linear': texmap/ntmap.c:649:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((dx < 0) || (xright < 0) || (xleft > xright)) // the (xleft > xright) term is not redundant with (dx < 0) because dx is computed using integers ^~ texmap/ntmap.c:653:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (dx < FIX_RECIP_TABLE_SIZE) ^~ Compiling main/vers_id.c ... In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/net_udp.c: In function 'net_udp_more_game_options': main/net_udp.c:2921:38: warning: '%d' directive output may be truncated writing between 1 and 6 bytes into a region of size 4 [-Wformat-truncation=] snprintf(packstring,sizeof(char)*4,"%d",Netgame.PacketsPerSec); ^~ main/net_udp.c:2921:37: note: directive argument in the range [-32768, 32767] snprintf(packstring,sizeof(char)*4,"%d",Netgame.PacketsPerSec); ^~~~ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 7 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c: In function 'net_udp_list_join_poll': main/net_udp.c:912:44: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] snprintf(levelname, sizeof(levelname), "%d", Active_udp_games[(i+(NLPage*UDP_NETGAMES_PPAGE))].levelnum); ^~ main/net_udp.c:912:43: note: directive argument in the range [0, 2147483647] snprintf(levelname, sizeof(levelname), "%d", Active_udp_games[(i+(NLPage*UDP_NETGAMES_PPAGE))].levelnum); ^~~~ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:910:45: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 7 [-Wformat-truncation=] snprintf(levelname, sizeof(levelname), "S%d", -Active_udp_games[(i+(NLPage*UDP_NETGAMES_PPAGE))].levelnum); ^~ main/net_udp.c:910:43: note: directive argument in the range [1, 2147483647] snprintf(levelname, sizeof(levelname), "S%d", -Active_udp_games[(i+(NLPage*UDP_NETGAMES_PPAGE))].levelnum); ^~~~~ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 12 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:926:46: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(status, sizeof(status), "BETWEEN "); ^ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output 9 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:923:47: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(status, sizeof(status), "OPEN "); ^ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output 9 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:921:47: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(status, sizeof(status), "CLOSED "); ^ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output 9 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:919:47: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(status, sizeof(status), "RESTRICT"); ^ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output 9 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:915:46: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(status, sizeof(status), "FORMING "); ^ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output 9 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:929:71: warning: '%s' directive output may be truncated writing up to 24 bytes into a region of size between 15 and 60 [-Wformat-truncation=] snprintf (menus[i+4].text,sizeof(char)*74,"%d.\t%s \t%s \t %d/%d \t%s \t %s \t%s",(i+(NLPage*UDP_NETGAMES_PPAGE))+1,GameName,(gamemode < sizeof(GMNamesShrt) / sizeof(GMNamesShrt[0])) ? GMNamesShrt[gamemode] : "INVALID",nplayers, Active_udp_games[(i+(NLPage*UDP_NETGAMES_PPAGE))].max_numplayers,MissName,levelname,status); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 20 or more bytes (assuming 103) into a destination of size 74 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Linking d2x-rebirth ... scons: done building targets. + mv d2x-rebirth d2x-rebirth-sdl + scons -c scons: Reading SConscript files ... D2X-Rebirth: compiling on *NIX ===== D2X-Rebirth v0.58.1 ===== D2X-Rebirth: LittleEndian machine detected D2X-Rebirth: building with OpenGL D2X-Rebirth: including SDL_mixer scons: done reading SConscript files. scons: Cleaning targets ... Removed 2d/2dsline.o Removed 2d/bitblt.o Removed 2d/bitmap.o Removed 2d/box.o Removed 2d/canvas.o Removed 2d/circle.o Removed 2d/disc.o Removed 2d/font.o Removed 2d/gpixel.o Removed 2d/line.o Removed 2d/palette.o Removed 2d/pcx.o Removed 2d/pixel.o Removed 2d/rect.o Removed 2d/rle.o Removed 2d/scalec.o Removed 3d/clipper.o Removed 3d/draw.o Removed 3d/globvars.o Removed 3d/instance.o Removed 3d/interp.o Removed 3d/matrix.o Removed 3d/points.o Removed 3d/rod.o Removed 3d/setup.o Removed arch/ogl/gr.o Removed arch/ogl/ogl.o Removed arch/sdl/digi.o Removed arch/sdl/digi_audio.o Removed arch/sdl/digi_mixer.o Removed arch/sdl/digi_mixer_music.o Removed arch/sdl/event.o Removed arch/sdl/init.o Removed arch/sdl/joy.o Removed arch/sdl/jukebox.o Removed arch/sdl/key.o Removed arch/sdl/mouse.o Removed arch/sdl/rbaudio.o Removed arch/sdl/timer.o Removed arch/sdl/window.o Removed iff/iff.o Removed libmve/decoder8.o Removed libmve/decoder16.o Removed libmve/mve_audio.o Removed libmve/mvelib.o Removed libmve/mveplay.o Removed main/ai.o Removed main/ai2.o Removed main/aipath.o Removed main/automap.o Removed main/bm.o Removed main/cntrlcen.o Removed main/collide.o Removed main/config.o Removed main/console.o Removed main/controls.o Removed main/credits.o Removed main/digiobj.o Removed main/dumpmine.o Removed main/effects.o Removed main/endlevel.o Removed main/escort.o Removed main/fireball.o Removed main/fuelcen.o Removed main/fvi.o Removed main/game.o Removed main/gamecntl.o Removed main/gamefont.o Removed main/gamemine.o Removed main/gamepal.o Removed main/gamerend.o Removed main/gamesave.o Removed main/gameseg.o Removed main/gameseq.o Removed main/gauges.o Removed main/hostage.o Removed main/hud.o Removed main/inferno.o Removed main/kconfig.o Removed main/kmatrix.o Removed main/laser.o Removed main/lighting.o Removed main/menu.o Removed main/mglobal.o Removed main/mission.o Removed main/morph.o Removed main/movie.o Removed main/multi.o Removed main/multibot.o Removed main/newdemo.o Removed main/newmenu.o Removed main/object.o Removed main/paging.o Removed main/physics.o Removed main/piggy.o Removed main/player.o Removed main/playsave.o Removed main/polyobj.o Removed main/powerup.o Removed main/render.o Removed main/robot.o Removed main/scores.o Removed main/segment.o Removed main/slew.o Removed main/songs.o Removed main/state.o Removed main/switch.o Removed main/terrain.o Removed main/texmerge.o Removed main/text.o Removed main/titles.o Removed main/vclip.o Removed main/wall.o Removed main/weapon.o Removed maths/fixc.o Removed maths/rand.o Removed maths/tables.o Removed maths/vecmat.o Removed mem/mem.o Removed misc/args.o Removed misc/error.o Removed misc/hash.o Removed misc/hmp.o Removed misc/ignorecase.o Removed misc/physfsrwops.o Removed misc/physfsx.o Removed misc/strio.o Removed misc/strutil.o Removed texmap/ntmap.o Removed texmap/scanline.o Removed main/net_udp.o Removed main/vers_id.o scons: done cleaning targets. + CFLAGS=-D__EXPORT__= + scons -j16 sharepath=/usr/share/games/descent2 sdlmixer=1 PREFIX=/usr/src/tmp/d2x-rebirth-buildroot/usr scons: Reading SConscript files ... D2X-Rebirth: compiling on *NIX ===== D2X-Rebirth v0.58.1 ===== D2X-Rebirth: LittleEndian machine detected D2X-Rebirth: building with OpenGL D2X-Rebirth: including SDL_mixer scons: done reading SConscript files. scons: Building targets ... Compiling 2d/2dsline.c ... Compiling 2d/bitblt.c ... Compiling 2d/bitmap.c ... Compiling 2d/box.c ... Compiling 2d/canvas.c ... Compiling 2d/circle.c ... Compiling 2d/disc.c ... Compiling 2d/font.c ... Compiling 2d/gpixel.c ... Compiling 2d/line.c ... Compiling 2d/palette.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 2d/pcx.c ... 2d/font.c: In function 'gr_init_font': 2d/font.c:1025:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, file_id, 4, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1038:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, font_data, 1, datasize); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1079:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile,palette,3,256); //read the palette ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 2d/pixel.c ... 2d/font.c: In function 'gr_remap_font': 2d/font.c:1121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, file_id, 4, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1131:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, font_data, 1, datasize); //read raw data ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1169:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile,palette,3,256); //read the palette ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 2d/rect.c ... In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/palette.c: In function 'gr_use_palette_table': 2d/palette.c:106:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, gr_palette, 256*3, 1 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/palette.c:107:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, gr_fade_table, 256*34, 1 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 2d/rle.c ... In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/pcx.c: In function 'PCXHeader_read_n': 2d/pcx.c:74:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &ph->ColorMap, 16*3, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/pcx.c:78:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &ph->filler, 60, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/pcx.c: In function 'PCX_PHYSFS_read': 2d/pcx.c:104:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] return PHYSFS_read(pcxphysfs->PCXfile, data, size, sizeof(*data)); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/pcx.c: In function 'pcx_write_bitmap': 2d/pcx.c:217:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(PCXfile, &header, PCXHEADER_SIZE, 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ 2d/pcx.c:232:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(PCXfile, &data, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ 2d/pcx.c:242:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] retval = PHYSFS_write(PCXfile, palette, 768, 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ Compiling 2d/scalec.c ... Compiling 3d/clipper.c ... Compiling 3d/draw.c ... Compiling 3d/globvars.c ... Compiling 3d/instance.c ... Compiling 3d/interp.c ... Compiling 3d/matrix.c ... Compiling 3d/points.c ... Compiling 3d/rod.c ... Compiling 3d/setup.c ... Compiling arch/ogl/gr.c ... Compiling arch/ogl/ogl.c ... Compiling arch/sdl/digi.c ... In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/digi_audio.c ... Compiling arch/sdl/digi_mixer.c ... arch/ogl/gr.c: In function 'write_bmp': arch/ogl/gr.c:1080:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(TGAFile,&TGA,sizeof(TGA_header),1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ arch/ogl/gr.c:1081:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(TGAFile,buf,w*h*3*sizeof(unsigned char),1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/digi_mixer_music.c ... Compiling arch/sdl/event.c ... In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/init.c ... Compiling arch/sdl/joy.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readSXE32': In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ arch/sdl/digi_mixer_music.c: In function 'mix_play_file': arch/sdl/digi_mixer_music.c:66:3: warning: 'PHYSFS_getUserDir' is deprecated [-Wdeprecated-declarations] snprintf(full_path, PATH_MAX, "%s%s", PHYSFS_getUserDir(), ^~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:792:25: note: declared here PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~ arch/sdl/digi_mixer_music.c:91:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] bufsize = PHYSFS_read(filehandle, current_music_hndlbuf, sizeof(char), PHYSFS_fileLength(filehandle)); ^~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/jukebox.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ arch/ogl/ogl.c: In function 'tex_format_supported': arch/ogl/ogl.c:1259:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!GameArg.DbgGlIntensity4Ok) return 0; break; ^~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ arch/ogl/ogl.c:1259:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!GameArg.DbgGlIntensity4Ok) return 0; break; ^~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_putc': arch/ogl/ogl.c:1261:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!GameArg.DbgGlLuminance4Alpha4Ok) return 0; break; ^~ include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ arch/ogl/ogl.c:1261:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!GameArg.DbgGlLuminance4Alpha4Ok) return 0; break; ^~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_fgetc': arch/ogl/ogl.c:1263:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!GameArg.DbgGlRGBA2Ok) return 0; break; ^~ include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ arch/ogl/ogl.c:1263:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!GameArg.DbgGlRGBA2Ok) return 0; break; ^~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/key.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_fgetc': Compiling arch/sdl/mouse.c ... include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ arch/sdl/jukebox.c: In function 'jukebox_load': arch/sdl/jukebox.c:174:3: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if (PHYSFS_isDirectory(GameCfg.CMLevelMusicPath)) // find files in relative directory ^~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ arch/sdl/jukebox.c:179:4: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(GameCfg.CMLevelMusicPath, 0); ^~~~~~~~~~~~~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ arch/sdl/jukebox.c:188:5: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(GameCfg.CMLevelMusicPath); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_readSXE32': arch/sdl/jukebox.c:196:4: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(GameCfg.CMLevelMusicPath); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/rbaudio.c ... Compiling arch/sdl/timer.c ... Compiling arch/sdl/window.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ arch/sdl/joy.c: In function 'joy_init': arch/sdl/joy.c:188:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d A%d", i + 1, j + 1); ^~ arch/sdl/joy.c:188:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d A%d", i + 1, j + 1); ^~~~~~~~~ arch/sdl/joy.c:188:19: note: directive argument in the range [1, 129] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 17 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/joy.c:194:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d B%d", i + 1, j + 1); ^~ arch/sdl/joy.c:194:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d B%d", i + 1, j + 1); ^~~~~~~~~ arch/sdl/joy.c:194:19: note: directive argument in the range [1, 129] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 17 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/joy.c:202:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0202); ^~ arch/sdl/joy.c:202:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0202); ^~~~~~~~~~~ arch/sdl/joy.c:202:19: note: directive argument in the range [1, 5] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/joy.c:204:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0177); ^~ arch/sdl/joy.c:204:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0177); ^~~~~~~~~~~ arch/sdl/joy.c:204:19: note: directive argument in the range [1, 5] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/joy.c:206:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0200); ^~ arch/sdl/joy.c:206:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0200); ^~~~~~~~~~~ arch/sdl/joy.c:206:19: note: directive argument in the range [1, 5] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/joy.c:208:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0201); ^~ arch/sdl/joy.c:208:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0201); ^~~~~~~~~~~ arch/sdl/joy.c:208:19: note: directive argument in the range [1, 5] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling iff/iff.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling libmve/decoder8.c ... Compiling libmve/decoder16.c ... In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ iff/iff.c: In function 'parse_body': iff/iff.c:170:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile, p, width, depth); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ iff/iff.c:206:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile, p, nn, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling libmve/mve_audio.c ... iff/iff.c: In function 'write_body': iff/iff.c:764:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(ofile,new_span,newlen,1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ iff/iff.c:767:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(ofile,p,bitmap_header->w+odd,1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ Compiling libmve/mvelib.c ... Compiling libmve/mveplay.c ... Compiling main/ai.c ... Compiling main/ai2.c ... In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/aipath.c ... Compiling main/automap.c ... main/ai.c: In function 'ai_save_state': main/ai.c:1571:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Ai_initialized, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1572:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Overall_agitation, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1579:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, ail_rw, sizeof(ai_local_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1582:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Point_segs, sizeof(point_seg) * MAX_POINT_SEGS, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1589:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, aic_rw, sizeof(ai_cloak_info_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1596:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1601:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1606:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1607:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Boss_teleport_interval, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1608:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Boss_cloak_interval, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1609:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Boss_cloak_duration, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1614:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1615:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Gate_interval, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1629:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1630:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Boss_dying, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1631:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Boss_dying_sound_playing, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1636:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1637:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Escort_kill_object, sizeof(Escort_kill_object), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1642:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1643:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Escort_goal_object, sizeof(Escort_goal_object), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1644:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Escort_special_goal, sizeof(Escort_special_goal), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1645:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Escort_goal_index, sizeof(Escort_goal_index), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1646:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Stolen_items, sizeof(Stolen_items[0])*MAX_STOLEN_ITEMS, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1651:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1654:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_boss_teleport_segs, sizeof(Num_boss_teleport_segs), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1655:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_boss_gate_segs, sizeof(Num_boss_gate_segs), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1658:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Boss_gate_segs, sizeof(Boss_gate_segs[0]), Num_boss_gate_segs); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1661:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Boss_teleport_segs, sizeof(Boss_teleport_segs[0]), Num_boss_teleport_segs); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c: In function 'ai_restore_state': main/ai.c:1766:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Stolen_items, sizeof(Stolen_items[0]) * MAX_STOLEN_ITEMS, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/bm.c ... In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/cntrlcen.c ... In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/collide.c ... In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ Compiling main/config.c ... In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/automap.c: In function 'automap_clear_visited': main/automap.c:367:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (unsigned i=0; i< sizeof(Automap_visited) / sizeof(Automap_visited[0]); i++ ) ^~~ main/automap.c:369:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' ClearMarkers(); ^~~~~~~~~~~~ Compiling main/console.c ... In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/bm.c: In function 'bm_read_all': In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/bm.c:164:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, Sounds, sizeof(ubyte), t ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/bm.c:165:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, AltSounds, sizeof(ubyte), t ); ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/controls.c ... Compiling main/credits.c ... In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/cntrlcen.c: In function 'control_center_triggers_read_n_swap': main/cntrlcen.c:553:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, cct, sizeof(control_center_triggers), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/digiobj.c ... In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/collide.c: In function 'apply_damage_to_robot': main/collide.c:1333:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (isthief) ^~ main/collide.c:1337:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (multi_explode_robot_sub(robot-Objects, killer_objnum,Robot_info[robot->id].thief)) ^~ main/collide.c:1345:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (isthief) ^~ main/collide.c:1349:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 1; ^~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_fgetc': Compiling main/dumpmine.c ... include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ Compiling main/effects.c ... In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/endlevel.c ... In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/credits.c: In function 'credits_show': main/credits.c:240:21: warning: '.txb' directive writing 4 bytes into a region of size between 1 and 32 [-Wformat-overflow=] sprintf(nfile, "%s.txb", filename); ^~~~ In file included from /usr/include/stdio.h:862, from main/credits.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 36 bytes into a destination of size 32 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/escort.c ... In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/fireball.c ... Compiling main/fuelcen.c ... Compiling main/fvi.c ... At top level: main/endlevel.c:138:19: warning: 'movie_table_secret' defined but not used [-Wunused-const-variable=] static const char movie_table_secret[] = {'a','d','g','j','m','p'}; ^~~~~~~~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/game.c ... In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gamecntl.c ... In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_puts': Compiling main/gamefont.c ... include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/fireball.c: In function 'object_create_explosion_sub': main/fireball.c:226:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (killer != ConsoleObject) // if someone else whacks you, cut force by 2x ^~ main/fireball.c:227:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' vforce2.x /= 2; vforce2.y /= 2; vforce2.z /= 2; ^~~~~~~ main/fireball.c: In function 'pick_connected_segment': main/fireball.c:433:2: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] memset(seg_queue,0,QUEUE_SIZE*2); ^~~~~~ main/fireball.c: In function 'expl_wall_read_n_swap': main/fireball.c:1447:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, ew, sizeof(expl_wall), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gamemine.c ... Compiling main/gamepal.c ... In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/fuelcen.c: In function 'matcen_info_read_n_swap': main/fuelcen.c:840:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, mi, sizeof(*mi), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/fuelcen.c: In function 'fuelcen_read_n_swap': main/fuelcen.c:881:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, fc, sizeof(FuelCenter), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gamerend.c ... In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gamesave.c ... Compiling main/gameseg.c ... In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gameseq.c ... In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gauges.c ... main/gamesave.c: In function 'load_game_data': main/gamesave.c:798:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(LoadFile,Save_pof_names,N_save_pof_names,FILENAME_LEN); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/gamesave.c:984:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main/gamesave.c:987:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' for (j = 0; j <= Highest_segment_index; j++) ^~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/hostage.c ... In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/gameseg.c: In function 'trace_segs': main/gameseg.c:738:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (sidenum = 0, bit = 1; sidenum < 6; sidenum++, bit <<= 1) ^~~ main/gameseg.c:745:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if (biggest_side == -1) ^~ Compiling main/hud.c ... main/gameseq.c: In function 'DoEndGame': main/gameseq.c:1240:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else if (!(Game_mode & GM_MULTI)) //not multi ^~~~ main/gameseq.c:1251:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' key_flush(); ^~~~~~~~~ Compiling main/inferno.c ... Compiling main/kconfig.c ... In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/kmatrix.c ... In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/laser.c ... In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/lighting.c ... In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/gamerend.c: In function 'show_extra_views': main/gamerend.c:611:27: warning: '%d' directive writing between 1 and 11 bytes into a region of size 3 [-Wformat-overflow=] sprintf(label,"Marker %d",Marker_viewer_num[w]+1); ^~ main/gamerend.c:611:19: note: directive argument in the range [-2147483647, 2147483647] sprintf(label,"Marker %d",Marker_viewer_num[w]+1); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from main/gamerend.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 19 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/escort.c: In function 'do_escort_menu': main/escort.c:1822:21: warning: '%s' directive writing up to 31 bytes into a region of size between 4 and 35 [-Wformat-overflow=] sprintf(menu->msg, "Select Guide-Bot Command:\n\n\n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/escort.c:1835:17: , goal_str, tstr); ~~~~ main/escort.c:1833:12: note: format string is defined here "T. %s Messages" ^~ In file included from /usr/include/stdio.h:862, from main/escort.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 275 and 337 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/menu.c ... In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_putc': In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/mglobal.c ... Compiling main/mission.c ... Compiling main/morph.c ... main/menu.c: In function 'list_dir_el': main/menu.c:1336:2: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if ((!strcmp((PHYSFS_getRealDir(fname)==NULL?"":PHYSFS_getRealDir(fname)), b->view_path)) && (PHYSFS_isDirectory(fname) || (ext && *i)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ main/menu.c: In function 'list_directory': main/menu.c:1358:2: warning: 'PHYSFS_enumerateFilesCallback' is deprecated [-Wdeprecated-declarations] PHYSFS_enumerateFilesCallback("", (PHYSFS_EnumFilesCallback) list_dir_el, b); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:2385:18: note: declared here PHYSFS_DECL void PHYSFS_enumerateFilesCallback(const char *dir, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/menu.c: In function 'select_file_handler': main/menu.c:1461:4: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if ((citem == 0) || PHYSFS_isDirectory(list[citem])) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ main/menu.c:1472:5: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(b->view_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main/menu.c: In function 'select_file_recursive': main/menu.c:1544:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] while (!PHYSFS_addToSearchPath(b->view_path, 0)) ^~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ main/menu.c:1560:3: warning: 'PHYSFS_getUserDir' is deprecated [-Wdeprecated-declarations] strncpy(b->view_path, PHYSFS_getUserDir(), PATH_MAX - 1); ^~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:792:25: note: declared here PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~ main/menu.c:1563:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] if (!PHYSFS_addToSearchPath(b->view_path, 0)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/movie.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/multi.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/mission.c: In function 'add_missions_to_list': main/mission.c:532:3: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if (PHYSFS_isDirectory(path)) ^~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ Compiling main/multibot.c ... Compiling main/newdemo.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/movie.c: In function 'RunMovie': main/movie.c:394:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT, "Can't open movie <%s>: %s\n", filename, PHYSFS_getLastError()); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/movie.c: In function 'InitRobotMovie': main/movie.c:506:3: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT, "Can't open movie <%s>: %s\n", filename, PHYSFS_getLastError()); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/movie.c: In function 'init_subtitles': main/movie.c:574:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] read_count = PHYSFS_read(ifile, subtitle_raw_data, 1, size); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/movie.c: In function 'init_movie': main/movie.c:691:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT, "Can't open movielib <%s>: %s\n", filename, PHYSFS_getLastError()); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/movie.c: In function 'close_extra_robot_movie': main/movie.c:718:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT, "Can't close movielib <%s>: %s\n", filename, PHYSFS_getLastError()); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/movie.c:722:5: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT, "Can't close movielib <%s>: %s\n", filename, PHYSFS_getLastError()); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ Compiling main/object.c ... Compiling main/newmenu.c ... In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/paging.c ... In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/movie.c: In function 'close_extra_robot_movie.part.4': main/movie.c:714:43: warning: '.mvl' directive output may be truncated writing 4 bytes into a region of size between 1 and 13 [-Wformat-truncation=] snprintf(filename,FILENAME_LEN+2, "%s-%s.mvl", movielib_files[EXTRA_ROBOT_LIB], GameArg.GfxMovieHires?"h":"l"); ^~~~ In file included from /usr/include/stdio.h:862, from include/dxxerror.h:23, from include/physfsx.h:25, from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 7 and 19 bytes into a destination of size 15 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/movie.c:719:45: warning: '.mvl' directive output may be truncated writing 4 bytes into a region of size between 1 and 13 [-Wformat-truncation=] snprintf(filename, FILENAME_LEN+2, "%s-%s.mvl", movielib_files[EXTRA_ROBOT_LIB], GameArg.GfxMovieHires?"l":"h"); ^~~~ In file included from /usr/include/stdio.h:862, from include/dxxerror.h:23, from include/physfsx.h:25, from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 7 and 19 bytes into a destination of size 15 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ main/multi.c: In function 'init_hoard_data': In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5189:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,palette,3,256); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_gets': main/multi.c:5192:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,bm->bm_data,1,orb_w*orb_h); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5198:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,palette,3,256); ^~~~~~~~~~~ include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5201:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,bm->bm_data,1,64*64); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': main/multi.c:5213:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,palette,3,256); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ main/multi.c:5214:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,Orb_icons[i].bm_data,1,icon_w*icon_h); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': main/multi.c:5232:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,GameSounds[Num_sound_files+i].data,1,len); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ main/multi.c: In function 'multi_process_data': In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_puts': main/multi.c:5335:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_position(buf); break; ^~ include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/multi.c:5335:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_position(buf); break; ^~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_putc': main/multi.c:5337:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_reappear(buf); break; ^~ include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/multi.c:5337:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_reappear(buf); break; ^~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': main/multi.c:5339:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_fire(buf); break; ^~ include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5339:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_fire(buf); break; ^~~~~ main/multi.c:5343:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_remobj(buf); break; ^~ main/multi.c:5343:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_remobj(buf); break; ^~~~~ main/multi.c:5346:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_player_explode(buf); break; ^~ main/multi.c:5346:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_player_explode(buf); break; ^~~~~ main/multi.c:5348:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_message(buf); break; ^~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': main/multi.c:5348:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_message(buf); break; ^~~~~ include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5350:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_quit(buf); break; ^~ main/multi.c:5350:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_quit(buf); break; ^~~~~ main/multi.c:5354:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_controlcen_destroy(buf); break; ^~ main/multi.c:5354:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_controlcen_destroy(buf); break; ^~~~~ main/multi.c:5356:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_powcap_update(buf); break; ^~ main/newdemo.c: In function 'newdemo_read': main/newdemo.c:257:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] num_read = PHYSFS_read(infile, buffer, elsize, nelem); ^~~~~~~~ main/multi.c:5356:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_powcap_update(buf); break; ^~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5360:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_drop_marker (buf); break; ^~ main/newdemo.c: In function 'newdemo_write': main/multi.c:5360:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_drop_marker (buf); break; ^~~~~ main/newdemo.c:284:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] num_written = PHYSFS_write(outfile, buffer, elsize, nelem); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/multi.c:5362:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_drop_weapon(buf); break; ^~ main/multi.c:5362:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_drop_weapon(buf); break; ^~~~~ main/multi.c:5364:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_drop_flag(buf); break; ^~ main/multi.c:5364:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_drop_flag(buf); break; ^~~~~ main/multi.c:5366:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_guided (buf); break; ^~ main/multi.c:5366:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_guided (buf); break; ^~~~~ main/multi.c:5368:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_stolen_items(buf); break; ^~ main/multi.c:5368:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_stolen_items(buf); break; ^~~~~ main/multi.c:5370:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_wall_status(buf); break; ^~ main/multi.c:5370:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_wall_status(buf); break; ^~~~~ main/multi.c:5372:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_heartbeat (buf); break; ^~ main/multi.c:5372:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_heartbeat (buf); break; ^~~~~ main/multi.c:5374:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_seismic (buf); break; ^~ main/multi.c:5374:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_seismic (buf); break; ^~~~~ main/multi.c:5376:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_light (buf); break; ^~ main/multi.c:5376:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_light (buf); break; ^~~~~ main/multi.c:5378:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_kill_goal_counts (buf); break; ^~ main/multi.c:5378:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_kill_goal_counts (buf); break; ^~~~~ main/multi.c:5380:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_escape(buf); break; ^~ main/multi.c:5380:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_escape(buf); break; ^~~~~ main/multi.c:5384:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_cloak(buf); break; ^~ main/multi.c:5384:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_cloak(buf); break; ^~~~~ main/multi.c:5386:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_decloak(buf); break; ^~ main/multi.c:5386:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_decloak(buf); break; ^~~~~ main/multi.c:5388:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_door_open(buf); break; ^~ main/multi.c:5388:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_door_open(buf); break; ^~~~~ main/multi.c:5390:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_explosion(buf); break; ^~ main/multi.c:5390:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_create_explosion(buf); break; ^~~~~ main/multi.c:5392:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_controlcen_fire(buf); break; ^~ main/multi.c:5392:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_controlcen_fire(buf); break; ^~~~~ main/multi.c:5394:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_powerup(buf); break; ^~ main/multi.c:5394:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_create_powerup(buf); break; ^~~~~ main/multi.c:5396:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_play_sound(buf); break; ^~ main/multi.c:5396:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_play_sound(buf); break; ^~~~~ main/multi.c:5398:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_capture_bonus(buf); break; ^~ main/multi.c:5398:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_capture_bonus(buf); break; ^~~~~ main/multi.c:5400:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_orb_bonus(buf); break; ^~ main/multi.c:5400:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_orb_bonus(buf); break; ^~~~~ main/multi.c:5402:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_got_flag(buf); break; ^~ main/multi.c:5402:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_got_flag(buf); break; ^~~~~ main/multi.c:5404:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_got_orb(buf); break; ^~ main/multi.c:5404:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_got_orb(buf); break; ^~~~~ main/multi.c:5406:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_play_by_play(buf); break; ^~ main/multi.c:5406:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_play_by_play(buf); break; ^~~~~ main/multi.c:5408:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_ranking (buf); break; ^~ main/multi.c:5408:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_ranking (buf); break; ^~~~~ main/multi.c:5414:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_claim_robot(buf); break; ^~ main/multi.c:5414:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_claim_robot(buf); break; ^~~~~ main/multi.c:5416:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_position(buf); break; ^~ main/multi.c:5416:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_robot_position(buf); break; ^~~~~ main/multi.c:5418:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_explode(buf); break; ^~ main/multi.c:5418:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_robot_explode(buf); break; ^~~~~ main/multi.c:5420:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_release_robot(buf); break; ^~ main/multi.c:5420:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_release_robot(buf); break; ^~~~~ main/multi.c:5422:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_fire(buf); break; ^~ main/multi.c:5422:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_robot_fire(buf); break; ^~~~~ main/multi.c:5424:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_score(buf); break; ^~ main/multi.c:5424:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_score(buf); break; ^~~~~ main/multi.c:5426:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_robot(buf); break; ^~ main/multi.c:5426:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_create_robot(buf); break; ^~~~~ main/multi.c:5428:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_trigger(buf); break; ^~ main/multi.c:5428:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_trigger(buf); break; ^~~~~ main/multi.c:5430:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_start_trigger(buf); break; ^~ main/multi.c:5430:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_start_trigger(buf); break; ^~~~~ main/multi.c:5432:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_flags(buf); break; ^~ main/multi.c:5432:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_flags(buf); break; ^~~~~ main/multi.c:5434:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_drop_blob(buf); break; ^~ main/multi.c:5434:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_drop_blob(buf); break; ^~~~~ main/multi.c:5436:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_active_door(buf); break; ^~ main/multi.c:5436:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_active_door(buf); break; ^~~~~ main/multi.c:5438:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_boss_actions(buf); break; ^~ main/multi.c:5438:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_boss_actions(buf); break; ^~~~~ main/multi.c:5440:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_robot_powerups(buf); break; ^~ main/multi.c:5440:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_create_robot_powerups(buf); break; ^~~~~ main/multi.c:5442:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_hostage_door_status(buf); break; ^~ main/multi.c:5442:63: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_hostage_door_status(buf); break; ^~~~~ main/multi.c:5444:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_save_game(buf); break; ^~ main/multi.c:5444:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_save_game(buf); break; ^~~~~ main/multi.c:5446:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_restore_game(buf); break; ^~ main/multi.c:5446:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_restore_game(buf); break; ^~~~~ main/multi.c:5448:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( !Endlevel_sequence ) multi_do_bounty( buf ); break; ^~ main/multi.c:5448:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( !Endlevel_sequence ) multi_do_bounty( buf ); break; ^~~~~ Compiling main/physics.c ... main/newdemo.c: In function 'newdemo_swap_endian': main/newdemo.c:3686:8: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] complete ? "" : (nd_playback_v_at_eof ? TXT_DEMO_CORRUPT : PHYSFS_getLastError())); ^~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/piggy.c ... Compiling main/player.c ... In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/playsave.c ... In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/object.c: In function 'obj_get_signature': main/object.c:1096:26: warning: iteration 350 invokes undefined behavior [-Waggressive-loop-optimizations] if ((sig == Objects[i].signature) && (Objects[i].type != OBJ_NONE)) ~~~~~~~~~~^~~~~~~~~~ main/object.c:1094:3: note: within this loop for (i = 0; i <= MAX_OBJECTS; i++) ^~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/polyobj.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'DiskBitmapHeader_read': main/piggy.c:151:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, dbh->name, 8, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'DiskSoundHeader_read': main/piggy.c:166:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, dsh->name, 8, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'DiskBitmapHeader_d1_read': main/piggy.c:177:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, dbh->name, 8, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'piggy_read_sounds': main/piggy.c:1016:5: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, snd->data, snd->length, 1 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'piggy_bitmap_page_in': main/piggy.c:1107:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, &Piggy_bitmap_cache_data[Piggy_bitmap_cache_next+4], 1, zsize-4 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c:1149:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, &Piggy_bitmap_cache_data[Piggy_bitmap_cache_next], 1, bmp->bm_h*bmp->bm_w ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'load_bitmap_replacements': main/piggy.c:1608:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,Bitmap_replacement_data,1,bitmap_data_size); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'get_d1_colormap': main/piggy.c:1635:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( palette_file, d1_palette, 256, 3 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'bitmap_read_d1': main/piggy.c:1678:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(d1_Piggy_fp, data, 1, zsize); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c: In function 'read_player_file': main/playsave.c:570:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, PlayerCfg.HighestLevels, sizeof(hli), PlayerCfg.NHighestLevels) != PlayerCfg.NHighestLevels) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:581:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, PlayerCfg.NetworkMessageMacro[i], len, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:594:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &PlayerCfg.KeySettings[0], sizeof(PlayerCfg.KeySettings[0]),1)!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:596:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &PlayerCfg.KeySettings[1], sizeof(PlayerCfg.KeySettings[1]),1)!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:599:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &PlayerCfg.KeySettings[2], sizeof(PlayerCfg.KeySettings[2]),1)!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:604:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, (ubyte *)&control_type_dos, sizeof(ubyte), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:606:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] else if (player_file_version >= 21 && PHYSFS_read(file, (ubyte *)&control_type_win, sizeof(ubyte), 1) != 1) ^~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:608:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] else if (PHYSFS_read(file, &dummy_joy_sens, sizeof(ubyte), 1) !=1 ) ^~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:699:2: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] nm_messagebox(TXT_ERROR, 1, TXT_OK, "%s\n\n%s", "Error reading PLR file", PHYSFS_getLastError()); ^~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/playsave.c: In function 'write_player_file': main/playsave.c:806:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if ((PHYSFS_write(file, PlayerCfg.HighestLevels, sizeof(hli), PlayerCfg.NHighestLevels) != PlayerCfg.NHighestLevels)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:810:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if ((PHYSFS_write(file, PlayerCfg.NetworkMessageMacro, MAX_MESSAGE_LEN, 4) != 4)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:827:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, PlayerCfg.KeySettings[0], sizeof(PlayerCfg.KeySettings[0]), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:829:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, PlayerCfg.KeySettings[1], sizeof(PlayerCfg.KeySettings[1]), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:832:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, "0", sizeof(ubyte), 1) != 1) // Skip obsolete Flightstick/Thrustmaster/Gravis map fields ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:834:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, PlayerCfg.KeySettings[2], sizeof(PlayerCfg.KeySettings[2]), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:837:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, "0", sizeof(ubyte), 1) != 1) // Skip obsolete Cyberman/Winjoy map fields ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:839:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &control_type_dos, sizeof(ubyte), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:841:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &control_type_win, sizeof(ubyte), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:843:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &old_avg_joy_sensitivity, sizeof(ubyte), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:848:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(file, &PlayerCfg.PrimaryOrder[i], sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:849:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(file, &PlayerCfg.SecondaryOrder[i], sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:882:2: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] nm_messagebox(TXT_ERROR, 1, TXT_OK, "%s\n\n%s", TXT_ERROR_WRITING_PLR, PHYSFS_getLastError()); ^~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/newdemo.c: In function 'newdemo_stop_recording': main/newdemo.c:3444:24: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf (newfile, "%s%d", filename, num); ^~ main/newdemo.c:3444:21: note: directive argument in the range [-2147483647, 2147483647] sprintf (newfile, "%s%d", filename, num); ^~~~~~ In file included from /usr/include/stdio.h:862, from main/newdemo.c:22: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 4107 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/polyobj.c: In function 'read_model_file': main/polyobj.c:277:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] Pof_file_end = PHYSFS_read(ifile, model_buf, 1, PHYSFS_fileLength(ifile)); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/polyobj.c: In function 'read_model_guns': main/polyobj.c:452:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] Pof_file_end = PHYSFS_read(ifile, model_buf, 1, PHYSFS_fileLength(ifile)); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/powerup.c ... main/polyobj.c: In function 'polymodel_read': main/polyobj.c:768:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pm->submodel_parents, MAX_SUBMODELS, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/polyobj.c: In function 'polymodel_read_n': main/polyobj.c:802:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pm[i].submodel_parents, MAX_SUBMODELS, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/polyobj.c: In function 'polygon_model_data_read': main/polyobj.c:824:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pm->model_data, sizeof(ubyte), pm->model_data_size); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/render.c ... main/piggy.c: In function 'piggy_init_pigfile': main/piggy.c:458:28: warning: '%d' directive writing between 1 and 2 bytes into a region of size between 0 and 15 [-Wformat-overflow=] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & DBM_NUM_FRAMES ); ^~ main/piggy.c:458:24: note: directive argument in the range [0, 63] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & DBM_NUM_FRAMES ); ^~~~~~~ In file included from /usr/include/stdio.h:862, from main/piggy.c:21: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 19 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling main/robot.c ... main/piggy.c: In function 'piggy_new_pigfile': main/piggy.c:566:29: warning: '%d' directive writing between 1 and 2 bytes into a region of size between 0 and 15 [-Wformat-overflow=] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & DBM_NUM_FRAMES ); ^~ main/piggy.c:566:25: note: directive argument in the range [0, 63] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & DBM_NUM_FRAMES ); ^~~~~~~ In file included from /usr/include/stdio.h:862, from main/piggy.c:21: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 19 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/scores.c ... Compiling main/segment.c ... In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': In file included from main/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_putc': In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_readByte': In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/slew.c ... main/robot.c: In function 'robot_info_read_n': main/robot.c:306:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, ri[i].pad, 3, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/scores.c: In function 'scores_read': main/scores.c:119:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, scores, sizeof(all_scores), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/scores.c: In function 'scores_write': main/scores.c:142:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, scores,sizeof(all_scores), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/scores.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/render.c: In function 'render_segment': main/render.c:819:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Viewer->type!=OBJ_ROBOT) ^~ main/render.c:822:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (sn=0; sntype!=OBJ_ROBOT) ^~ main/render.c:2162:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (sn=0; sntype!=OBJ_ROBOT) ^~ main/render.c:2274:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (sn=0; snbm_data, THUMBNAIL_W * THUMBNAIL_H, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:640:7: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pal, 3, 256); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c: In function 'copy_file': main/state.c:730:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] bytes_read = PHYSFS_read(in_file, buf, 1, buf_size); ^~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:732:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] Error("Cannot read from file <%s>: %s", old_file, PHYSFS_getLastError()); ^~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/state.c:736:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(out_file, buf, 1, bytes_read) < bytes_read) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:737:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] Error("Cannot write to file <%s>: %s", new_file, PHYSFS_getLastError()); ^~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/state.c: In function 'state_save_all': main/state.c:822:6: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] Error("Cannot delete file <%s>: %s", temp_fname, PHYSFS_getLastError()); ^~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/state.c: In function 'state_save_all_sub': main/state.c:871:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, dgss_id, sizeof(char) * 4, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:875:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:880:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &state_game_id, sizeof(uint), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:881:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Players[Player_num].callsign, sizeof(char)*CALLSIGN_LEN+1, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:885:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, desc, sizeof(char) * DESC_LENGTH, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:921:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, cnv->cv_bitmap.bm_data, THUMBNAIL_W * THUMBNAIL_H, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:925:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, pal, 3, 256); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:931:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &color, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:936:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:941:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &mission_filename, 9 * sizeof(char), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:944:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Current_level_num, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:945:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Next_level_num, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:950:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:958:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:963:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Primary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:964:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Secondary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:967:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Difficulty_level, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE16': main/state.c:970:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.enabled, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ main/state.c:994:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1001:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, obj_rw, sizeof(object_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE32': main/state.c:1007:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1008:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Walls, sizeof(wall), i); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1012:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.c:32: include/physfsx.h: In function 'PHYSFSX_readString': In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ main/state.c:1013:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, expl_wall_list, sizeof(*expl_wall_list), i); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1017:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.c:32: include/physfsx.h: In function 'PHYSFSX_gets': In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ main/state.c:1018:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, ActiveDoors, sizeof(active_door), i); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1022:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.c:32: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1023:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, CloakingWalls, sizeof(cloaking_wall), i); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.c:32: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ main/state.c:1026:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_triggers, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.c:32: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ main/state.c:1027:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Triggers, sizeof(trigger), Num_triggers); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.c:32: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ main/state.c:1034:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Segments[i].sides[j].wall_num, sizeof(short), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.c:32: include/physfsx.h: In function 'PHYSFSX_fgetc': main/state.c:1035:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Segments[i].sides[j].tmap_num, sizeof(short), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1036:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Segments[i].sides[j].tmap_num2, sizeof(short), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1041:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_destroyed, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1042:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Countdown_timer, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1043:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_robot_centers, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1044:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, RobotCenters, sizeof(matcen_info), Num_robot_centers); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1045:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &ControlCenterTriggers, sizeof(control_center_triggers), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1046:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_fuelcenters, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1047:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Station, sizeof(FuelCenter), Num_fuelcenters); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1050:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_been_hit, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1051:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_player_been_seen, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1052:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_next_fire_time, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1053:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_present, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1054:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Dead_controlcen_object_num, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1062:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Automap_visited, sizeof(ubyte), Highest_segment_index + 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1065:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Automap_visited, sizeof(ubyte), MAX_SEGMENTS_ORIGINAL); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1067:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &state_game_id, sizeof(uint), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1069:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.rapidfire, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1070:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); // was Lunacy ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1071:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); // was Lunacy, too... and one was Ugly robot stuff a long time ago... ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1075:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, MarkerObject, sizeof(MarkerObject) ,1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1076:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Players[0].callsign[0], sizeof(char), (NUM_MARKERS)*(CALLSIGN_LEN+1)); // PHYSFS_write(fp, MarkerOwner, sizeof(MarkerOwner), 1); MarkerOwner is obsolete ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1077:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, MarkerMessage, sizeof(MarkerMessage), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1079:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Afterburner_charge, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1082:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Primary_last_was_super, sizeof(Primary_last_was_super), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1083:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Secondary_last_was_super, sizeof(Secondary_last_was_super), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1086:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Flash_effect, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1091:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1092:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &PaletteRedAdd, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1093:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &PaletteGreenAdd, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1094:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &PaletteBlueAdd, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1097:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Light_subtracted, sizeof(Light_subtracted[0]), Highest_segment_index + 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1100:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Light_subtracted, sizeof(Light_subtracted[0]), MAX_SEGMENTS_ORIGINAL); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1101:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &First_secret_visit, sizeof(First_secret_visit), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1102:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Omega_charge, sizeof(Omega_charge), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1112:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1115:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.mission_title, sizeof(char), MISSION_NAME_LEN+1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1116:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.mission_name, sizeof(char), 9); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1117:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.levelnum, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1118:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.difficulty, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1119:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.game_status, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1120:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1121:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.max_numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1122:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.numconnected, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1123:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.level_time, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c: In function 'state_restore_all_sub': main/state.c:1251:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, id, sizeof(char) * 4, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1259:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &version, sizeof(int), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1276:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &saved_callsign, sizeof(char)*CALLSIGN_LEN+1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1285:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, desc, sizeof(char) * DESC_LENGTH, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1298:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, mission, sizeof(char) * 9, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1347:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1372:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1383:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Primary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1384:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Secondary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1411:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, obj_rw, sizeof(object_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/switch.c: In function 'trigger_read_n_swap': main/switch.c:671:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, t, sizeof(trigger), n); ^~~~~~~~~~~ main/state.c:1514:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, Automap_visited, sizeof(ubyte), Highest_segment_index + 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/switch.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1517:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, Automap_visited, sizeof(ubyte), MAX_SEGMENTS_ORIGINAL); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1538:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, MarkerMessage, sizeof(MarkerMessage), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1563:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Primary_last_was_super, sizeof(Primary_last_was_super), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1564:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Secondary_last_was_super, sizeof(Secondary_last_was_super), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1587:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, Light_subtracted, sizeof(Light_subtracted[0]), Highest_segment_index + 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1590:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, Light_subtracted, sizeof(Light_subtracted[0]), MAX_SEGMENTS_ORIGINAL); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/texmerge.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': main/state.c:1639:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/texmerge.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1690:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.mission_title, sizeof(char), MISSION_NAME_LEN+1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/texmerge.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/texmerge.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1691:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.mission_name, sizeof(char), 9); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1693:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.difficulty, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from main/game.h:23, from main/texmerge.c:24: include/physfsx.h: In function 'PHYSFSX_readString': In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ main/state.c:1694:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.game_status, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/texmerge.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1695:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1696:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.max_numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/texmerge.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/texmerge.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1697:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.numconnected, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/texmerge.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/texmerge.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/texmerge.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/texmerge.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/texmerge.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/texmerge.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/texmerge.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/texmerge.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/texmerge.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/texmerge.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c: In function 'state_get_game_id': main/state.c:1741:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, id, sizeof(char) * 4, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1749:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &version, sizeof(int), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1763:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &saved_callsign, sizeof(char)*CALLSIGN_LEN+1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/texmerge.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/texmerge.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/vclip.c ... Compiling main/wall.c ... In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/text.c: In function 'load_text': main/text.c:105:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,text,1,len); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/weapon.c ... In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling maths/fixc.c ... In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ main/titles.c: In function 'load_screen_text': main/titles.c:471:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(tfile,*buf+x,1,1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling maths/rand.c ... In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling maths/tables.c ... main/wall.c: In function 'wclip_read_n_d1': main/wall.c:1607:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, wc[i].filename, 13, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/wall.c: In function 'wclip_read_n': main/wall.c:1628:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, wc[i].filename, 13, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/wall.c: In function 'wall_read_n_swap': main/wall.c:1700:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, w, sizeof(wall), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/wall.c: In function 'active_door_read_n_swap': main/wall.c:1755:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, ad, sizeof(active_door), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling maths/vecmat.c ... main/wall.c: In function 'cloaking_wall_read_n_swap': main/wall.c:1821:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, cw, sizeof(cloaking_wall), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/weapon.c: In function 'pick_up_primary': main/weapon.c:695:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (weapon_index!=LASER_INDEX) ^~ main/weapon.c:698:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 1; ^~~~~~ Compiling mem/mem.c ... Compiling misc/args.c ... Compiling misc/error.c ... Compiling misc/hash.c ... Compiling misc/hmp.c ... In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling misc/ignorecase.c ... In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/hmp.c: In function 'hmp_open': misc/hmp.c:62:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if ((PHYSFS_read(fp, buf, 1, 8) != 8) || (memcmp(buf, "HMIMIDIP", 8))) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/hmp.c:76:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &num_tracks, 4, 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/hmp.c:97:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &tempo, 4, 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/hmp.c:113:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if ((PHYSFSX_fseek(fp, 4, SEEK_CUR)) || (PHYSFS_read(fp, &data, 4, 1) != 1)) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/hmp.c:132:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if ((PHYSFSX_fseek(fp, 4, SEEK_CUR)) || (PHYSFS_read(fp, p, data, 1) != 1)) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling misc/physfsrwops.c ... Compiling misc/physfsx.c ... Compiling misc/strio.c ... Compiling texmap/ntmap.c ... misc/physfsrwops.c: In function 'physfsrwops_seek': misc/physfsrwops.c:42:27: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] PHYSFS_getLastError()); ^~~~~~~~~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c:64:13: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("Can't find end of file: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c:92:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c: In function 'physfsrwops_read': misc/physfsrwops.c:103:5: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_sint64 rc = PHYSFS_read(handle, ptr, size, maxnum); ^~~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/physfsrwops.c:107:13: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c: In function 'physfsrwops_write': misc/physfsrwops.c:117:5: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_sint64 rc = PHYSFS_write(handle, ptr, size, num); ^~~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ misc/physfsrwops.c:119:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c: In function 'physfsrwops_close': misc/physfsrwops.c:130:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c: In function 'create_rwops': misc/physfsrwops.c:144:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ Compiling misc/strutil.c ... In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE16': In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_gets': In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_readString': In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_puts': In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_writeU8': In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_writeString': In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ Compiling texmap/scanline.c ... In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_init': misc/physfsx.c:71:3: warning: 'PHYSFS_getUserDir' is deprecated [-Wdeprecated-declarations] const char *home = PHYSFS_getUserDir(); ^~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:792:25: note: declared here PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~ misc/physfsx.c:110:2: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(PHYSFS_getWriteDir(), 1); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:113:2: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(base_dir, 1); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:115:2: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(base_dir); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:121:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] Error("can't set write dir: %s\n", PHYSFS_getLastError()); ^~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsx.c:123:4: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(PHYSFS_getWriteDir(), 0); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:128:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(GameArg.SysHogDir,1); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:131:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(SHAREPATH, 1); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_addRelToSearchPath': misc/physfsx.c:178:2: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] return PHYSFS_addToSearchPath(pathname, add_to_end); ^~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_removeRelFromSearchPath': misc/physfsx.c:191:2: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] return PHYSFS_removeFromSearchPath(pathname); ^~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_addArchiveContent': misc/physfsx.c:481:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] if (PHYSFS_addToSearchPath(file[1], 0)) ^~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_removeArchiveContent': misc/physfsx.c:539:3: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(file[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:555:3: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(file[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling main/net_udp.c ... In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/vers_id.c ... texmap/ntmap.c: In function 'ntmap_scanline_lighted_linear': texmap/ntmap.c:649:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((dx < 0) || (xright < 0) || (xleft > xright)) // the (xleft > xright) term is not redundant with (dx < 0) because dx is computed using integers ^~ texmap/ntmap.c:653:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (dx < FIX_RECIP_TABLE_SIZE) ^~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/net_udp.c: In function 'net_udp_more_game_options': main/net_udp.c:2921:38: warning: '%d' directive output may be truncated writing between 1 and 6 bytes into a region of size 4 [-Wformat-truncation=] snprintf(packstring,sizeof(char)*4,"%d",Netgame.PacketsPerSec); ^~ main/net_udp.c:2921:37: note: directive argument in the range [-32768, 32767] snprintf(packstring,sizeof(char)*4,"%d",Netgame.PacketsPerSec); ^~~~ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 7 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c: In function 'net_udp_list_join_poll': main/net_udp.c:912:44: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] snprintf(levelname, sizeof(levelname), "%d", Active_udp_games[(i+(NLPage*UDP_NETGAMES_PPAGE))].levelnum); ^~ main/net_udp.c:912:43: note: directive argument in the range [0, 2147483647] snprintf(levelname, sizeof(levelname), "%d", Active_udp_games[(i+(NLPage*UDP_NETGAMES_PPAGE))].levelnum); ^~~~ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:910:45: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 7 [-Wformat-truncation=] snprintf(levelname, sizeof(levelname), "S%d", -Active_udp_games[(i+(NLPage*UDP_NETGAMES_PPAGE))].levelnum); ^~ main/net_udp.c:910:43: note: directive argument in the range [1, 2147483647] snprintf(levelname, sizeof(levelname), "S%d", -Active_udp_games[(i+(NLPage*UDP_NETGAMES_PPAGE))].levelnum); ^~~~~ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 12 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:926:46: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(status, sizeof(status), "BETWEEN "); ^ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output 9 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:923:47: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(status, sizeof(status), "OPEN "); ^ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output 9 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:921:47: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(status, sizeof(status), "CLOSED "); ^ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output 9 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:919:47: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(status, sizeof(status), "RESTRICT"); ^ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output 9 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:915:46: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(status, sizeof(status), "FORMING "); ^ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output 9 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:929:71: warning: '%s' directive output may be truncated writing up to 24 bytes into a region of size between 15 and 60 [-Wformat-truncation=] snprintf (menus[i+4].text,sizeof(char)*74,"%d.\t%s \t%s \t %d/%d \t%s \t %s \t%s",(i+(NLPage*UDP_NETGAMES_PPAGE))+1,GameName,(gamemode < sizeof(GMNamesShrt) / sizeof(GMNamesShrt[0])) ? GMNamesShrt[gamemode] : "INVALID",nplayers, Active_udp_games[(i+(NLPage*UDP_NETGAMES_PPAGE))].max_numplayers,MissName,levelname,status); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 20 or more bytes (assuming 103) into a destination of size 74 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Linking d2x-rebirth ... scons: done building targets. + mv d2x-rebirth d2x-rebirth-gl + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.87879 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/d2x-rebirth-buildroot + : + /bin/rm -rf -- /usr/src/tmp/d2x-rebirth-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd d2x-rebirth_v0.58.1-src + install -dm 755 /usr/src/tmp/d2x-rebirth-buildroot/usr/games/ + install -m 755 d2x-rebirth-gl /usr/src/tmp/d2x-rebirth-buildroot/usr/games/ + install -m 755 d2x-rebirth-sdl /usr/src/tmp/d2x-rebirth-buildroot/usr/games/ + install -dm 755 /usr/src/tmp/d2x-rebirth-buildroot/usr/share/games/descent2 + install -m 644 D2XBDE01/D2XbDE01/end.txb D2XBDE01/D2XbDE01/intro.txb D2XBDE01/D2XbDE01/robot.txb /usr/src/tmp/d2x-rebirth-buildroot/usr/share/games/descent2 + install -m 644 D2XBDE01/D2XbDE01.txt /usr/src/tmp/d2x-rebirth-buildroot/usr/share/games/descent2 + install -dm 755 /usr/src/tmp/d2x-rebirth-buildroot/usr/share/games/descent2/missions + install -dm 755 /usr/src/tmp/d2x-rebirth-buildroot/usr/share/man/man1/ + install -m 644 libmve/mveplayer.1 /usr/src/tmp/d2x-rebirth-buildroot/usr/share/man/man1/ + install -dm 755 /usr/src/tmp/d2x-rebirth-buildroot/usr/share/pixmaps + install -m 644 /usr/src/RPM/SOURCES/d2x-rebirth.png /usr/src/tmp/d2x-rebirth-buildroot/usr/share/pixmaps + install -dm 755 /usr/src/tmp/d2x-rebirth-buildroot/usr/share/applications + cat + install -m 644 d2x-rebirth-sdl.desktop /usr/src/tmp/d2x-rebirth-buildroot/usr/share/applications + cat + install -m 644 d2x-rebirth-gl.desktop /usr/src/tmp/d2x-rebirth-buildroot/usr/share/applications + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/d2x-rebirth-buildroot (auto) Verifying and fixing files in /usr/src/tmp/d2x-rebirth-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) /usr/share/applications/d2x-rebirth-gl.desktop: performed minor cleanup: 2d1 < Encoding=UTF-8 /usr/share/applications/d2x-rebirth-sdl.desktop: performed minor cleanup: 2d1 < Encoding=UTF-8 Checking contents of files in /usr/src/tmp/d2x-rebirth-buildroot/ (default) Compressing files in /usr/src/tmp/d2x-rebirth-buildroot (auto) 056-debuginfo.brp: WARNING: debuginfo without debug sources. Verifying ELF objects in /usr/src/tmp/d2x-rebirth-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: d2x-rebirth-0.58.1-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.87879 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd d2x-rebirth_v0.58.1-src + DOCDIR=/usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-0.58.1 + export DOCDIR + rm -rf /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-0.58.1 + /bin/mkdir -p /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-0.58.1 + cp -prL CHANGELOG.txt COPYING.txt INSTALL.txt README.txt RELEASE-NOTES.txt MVEPlayer-Info.plist d2x-Info.plist d2xgl-Info.plist d2x.ini /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-0.58.1 + chmod -R go-w /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-0.58.1 + chmod -R a+rX /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-0.58.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TjxACt find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.m8IUeL find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9Seln6 Processing files: d2x-rebirth-sdl-0.58.1-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.13093 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd d2x-rebirth_v0.58.1-src + DOCDIR=/usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-sdl-0.58.1 + export DOCDIR + rm -rf /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-sdl-0.58.1 + /bin/mkdir -p /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-sdl-0.58.1 + cp -prL COPYING.txt /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-sdl-0.58.1 + chmod -R go-w /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-sdl-0.58.1 + chmod -R a+rX /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-sdl-0.58.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.I80Evv find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.f7sD9X find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: d2x-rebirth = 0.58.1, /lib64/ld-linux-x86-64.so.2, libGL.so.1()(64bit) >= set:pjdsnYMZvypQ129NKk2aUEyWLDbZCH7LRhLbZcQedbyYWZLu4TEBq9RvK0K7cN39QZnfJJ29TOZleHjsMBIm7iOHQVm0qewi2p4rPZsE6g54xGMwlKXc31amO4QUFtZ0, libGLU.so.1()(64bit) >= set:jhZbnzj5, libSDL-1.2.so.0()(64bit) >= set:lfG0r1WNvdNtSOVASlfdQqe01zBuVveC6SWNQgHsbPuoiQ9NWfI4ovUHCvaZIPju4LU0EAYFhZqypTXrw41jTYa2SJqp1noaqQVEEJrSFWkfMKw6bRv8J0XY0, libSDL_mixer-1.2.so.0()(64bit) >= set:kfkileXZwtZ1uIUyGL3l2OOAvoSCnNGrcyylZDNwNYgGgEyZ9KmtlSptb, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libphysfs.so.1()(64bit) >= set:ke1MDmIaXfJs3Zw6Z4CuXI6EzQffPT4ihILyQ06ggClu7SrnPeDuXgIZBJO8Xmcp7QoXr56A4l8ZsoPt9JDIg69EgDCfCU0, libpthread.so.0(GLIBC_2.2.5)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Conflicts: d2x-rebirth-gl Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2LpVju Creating d2x-rebirth-sdl-debuginfo package Processing files: d2x-rebirth-gl-0.58.1-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.76033 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd d2x-rebirth_v0.58.1-src + DOCDIR=/usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-gl-0.58.1 + export DOCDIR + rm -rf /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-gl-0.58.1 + /bin/mkdir -p /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-gl-0.58.1 + cp -prL COPYING.txt /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-gl-0.58.1 + chmod -R go-w /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-gl-0.58.1 + chmod -R a+rX /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-gl-0.58.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lJ3Fu4 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.AGqTaI find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: d2x-rebirth = 0.58.1, /lib64/ld-linux-x86-64.so.2, libGL.so.1()(64bit) >= set:pjdsnYMZvypQ129NKk2aUEyWLDbZCH7LRhLbZcQedbyYWZLu4TEBq9RvK0K7cN39QZnfJJ29TOZleHjsMBIm7iOHQVm0qewi2p4rPZsE6g54xGMwlKXc31amO4QUFtZ0, libGLU.so.1()(64bit) >= set:jhZbnzj5, libSDL-1.2.so.0()(64bit) >= set:lfG0r1WNvdNtSOVASlfdQqe01zBuVveC6SWNQgHsbPuoiQ9NWfI4ovUHCvaZIPju4LU0EAYFhZqypTXrw41jTYa2SJqp1noaqQVEEJrSFWkfMKw6bRv8J0XY0, libSDL_mixer-1.2.so.0()(64bit) >= set:kfkileXZwtZ1uIUyGL3l2OOAvoSCnNGrcyylZDNwNYgGgEyZ9KmtlSptb, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libphysfs.so.1()(64bit) >= set:ke1MDmIaXfJs3Zw6Z4CuXI6EzQffPT4ihILyQ06ggClu7SrnPeDuXgIZBJO8Xmcp7QoXr56A4l8ZsoPt9JDIg69EgDCfCU0, libpthread.so.0(GLIBC_2.2.5)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Conflicts: d2x-rebirth-sdl Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nvjunp Creating d2x-rebirth-gl-debuginfo package Processing files: d2x-rebirth-sdl-debuginfo-0.58.1-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.uMos69 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RPiHlY find-requires: running scripts (debuginfo) Requires: d2x-rebirth-sdl = 0.58.1-alt2, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libGL.so.1), debug64(libGLU.so.1), debug64(libSDL-1.2.so.0), debug64(libSDL_mixer-1.2.so.0), debug64(libc.so.6), debug64(libm.so.6), debug64(libphysfs.so.1), debug64(libpthread.so.0) Processing files: d2x-rebirth-gl-debuginfo-0.58.1-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WLvC6P find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.r5rlnL find-requires: running scripts (debuginfo) Requires: d2x-rebirth-gl = 0.58.1-alt2, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libGL.so.1), debug64(libGLU.so.1), debug64(libSDL-1.2.so.0), debug64(libSDL_mixer-1.2.so.0), debug64(libc.so.6), debug64(libm.so.6), debug64(libphysfs.so.1), debug64(libpthread.so.0) Adding to d2x-rebirth-sdl-debuginfo a strict dependency on d2x-rebirth-sdl Adding to d2x-rebirth-gl-debuginfo a strict dependency on d2x-rebirth-gl Adding to d2x-rebirth-sdl a strict dependency on d2x-rebirth Adding to d2x-rebirth-gl a strict dependency on d2x-rebirth Wrote: /usr/src/RPM/RPMS/x86_64/d2x-rebirth-0.58.1-alt2.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/d2x-rebirth-sdl-0.58.1-alt2.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/d2x-rebirth-gl-0.58.1-alt2.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/d2x-rebirth-sdl-debuginfo-0.58.1-alt2.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/d2x-rebirth-gl-debuginfo-0.58.1-alt2.x86_64.rpm (w2.lzdio) 57.44user 12.97system 0:25.46elapsed 276%CPU (0avgtext+0avgdata 88964maxresident)k 0inputs+0outputs (0major+2670912minor)pagefaults 0swaps 3.49user 2.33system 0:38.30elapsed 15%CPU (0avgtext+0avgdata 135596maxresident)k 608inputs+0outputs (0major+234562minor)pagefaults 0swaps --- d2x-rebirth-gl-0.58.1-alt2.x86_64.rpm.repo 2019-02-28 10:38:11.000000000 +0000 +++ d2x-rebirth-gl-0.58.1-alt2.x86_64.rpm.hasher 2024-09-29 12:25:41.298702179 +0000 @@ -26,3 +26,3 @@ Conflicts: d2x-rebirth-sdl -File: /usr/games/d2x-rebirth-gl 100755 root:root 07b72568371c3f6a6c9731b4922f3c33 +File: /usr/games/d2x-rebirth-gl 100755 root:root 09f4649070e846ac90e0654397cfaeee File: /usr/share/applications/d2x-rebirth-gl.desktop 100644 root:root da2b6e1874855fda3aa66cad8904fc26 @@ -30,2 +30,2 @@ File: /usr/share/doc/d2x-rebirth-gl-0.58.1/COPYING.txt 100644 root:root 0fa383d04c8ff6ae577af8bb606a83bf -RPMIdentity: c26f953e3c4c17f37a30f381ab5375cbc1cd085c8f48e4a4b1aa74d54ebd6ab327fc9d96e38652afda21088d16a54cddb40c52d0a1d730ddbeae47d4c6eca0d7 +RPMIdentity: 853dae21f7b7aa1c5cbf4b5c66ecf86ee1e161643e78b3151bce26965267a90f63ecd1bdb09d31a8e82986081592602cd2b696b3d2961c339ea9bd22ff160d43 --- d2x-rebirth-gl-debuginfo-0.58.1-alt2.x86_64.rpm.repo 2019-02-28 10:38:11.000000000 +0000 +++ d2x-rebirth-gl-debuginfo-0.58.1-alt2.x86_64.rpm.hasher 2024-09-29 12:25:41.429704735 +0000 @@ -13,3 +13,3 @@ Provides: d2x-rebirth-gl-debuginfo = 0.58.1-alt2:sisyphus+223222.100.1.2 -File: /usr/lib/debug/usr/games/d2x-rebirth-gl.debug 100644 root:root 95fc3a422d282cb68aab489be2e62146 -RPMIdentity: f2432ffd0bc6be5965f17f1243619cd00d4b2b2a2ba412c712d974dbb42b0f17f63b177fe9cce549a3b2b0360d2b1e346ef5e73a8b5842042b27712c652f80f4 +File: /usr/lib/debug/usr/games/d2x-rebirth-gl.debug 100644 root:root ae0ea2bfdf914893cfcd39bdbd55b3cb +RPMIdentity: f206a1627bb1050ee491e60da7827719c03c4a6b92ea6ad9a5367cc64467e8c1b075c82130759c82af9bc7824e409e2477b56aaad48a3ec41344744258b32935 --- d2x-rebirth-sdl-0.58.1-alt2.x86_64.rpm.repo 2019-02-28 10:38:11.000000000 +0000 +++ d2x-rebirth-sdl-0.58.1-alt2.x86_64.rpm.hasher 2024-09-29 12:25:42.146718720 +0000 @@ -26,3 +26,3 @@ Conflicts: d2x-rebirth-gl -File: /usr/games/d2x-rebirth-sdl 100755 root:root 061a0d58d0c100d1627ef0820331c12f +File: /usr/games/d2x-rebirth-sdl 100755 root:root a83f9e8f7dc591abd46adfa98b17176e File: /usr/share/applications/d2x-rebirth-sdl.desktop 100644 root:root 50f6063151ec98cc89eb8787a755b8a7 @@ -30,2 +30,2 @@ File: /usr/share/doc/d2x-rebirth-sdl-0.58.1/COPYING.txt 100644 root:root 0fa383d04c8ff6ae577af8bb606a83bf -RPMIdentity: 7b8dec06fb148533eec9e0a7d27b1b57228a4cf27bbd5d1fe880d9df6ac9daf6c7291f0691a8b95cd562bee86e47bf7df1c79eb336a7836f38a8f50ff571bc05 +RPMIdentity: 88fb7d1e90bb0a954d3609f52e000d9a1ce16be5efcd533941a6dd1c9993ee27241fdf05aaadd33d5af93613771328cea0429309d1712f7ddfdd6cfb08faefad --- d2x-rebirth-sdl-debuginfo-0.58.1-alt2.x86_64.rpm.repo 2019-02-28 10:38:11.000000000 +0000 +++ d2x-rebirth-sdl-debuginfo-0.58.1-alt2.x86_64.rpm.hasher 2024-09-29 12:25:42.473725098 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/8a 40755 root:root -/usr/lib/debug/.build-id/8a/3c4c5ea14bec21558919924ba1b3697956269c 120777 root:root ../../../../games/d2x-rebirth-sdl -/usr/lib/debug/.build-id/8a/3c4c5ea14bec21558919924ba1b3697956269c.debug 120777 root:root ../../usr/games/d2x-rebirth-sdl.debug +/usr/lib/debug/.build-id/28 40755 root:root +/usr/lib/debug/.build-id/28/c2df9d1d9b39fa11fff57b22681d4ea3fe095b 120777 root:root ../../../../games/d2x-rebirth-sdl +/usr/lib/debug/.build-id/28/c2df9d1d9b39fa11fff57b22681d4ea3fe095b.debug 120777 root:root ../../usr/games/d2x-rebirth-sdl.debug /usr/lib/debug/usr/games/d2x-rebirth-sdl.debug 100644 root:root @@ -16,6 +16,6 @@ Provides: d2x-rebirth-sdl-debuginfo = 0.58.1-alt2:sisyphus+223222.100.1.2 -File: /usr/lib/debug/.build-id/8a 40755 root:root -File: /usr/lib/debug/.build-id/8a/3c4c5ea14bec21558919924ba1b3697956269c 120777 root:root ../../../../games/d2x-rebirth-sdl -File: /usr/lib/debug/.build-id/8a/3c4c5ea14bec21558919924ba1b3697956269c.debug 120777 root:root ../../usr/games/d2x-rebirth-sdl.debug -File: /usr/lib/debug/usr/games/d2x-rebirth-sdl.debug 100644 root:root 95fc3a422d282cb68aab489be2e62146 -RPMIdentity: bb1ccc609673db23d10bdced36b3dfc776dc60605ae6995d03656b2113dcf19ecf44f6b176471ca85c1333e09376cffe58ce2c85c2aa4429b124ce0751759d77 +File: /usr/lib/debug/.build-id/28 40755 root:root +File: /usr/lib/debug/.build-id/28/c2df9d1d9b39fa11fff57b22681d4ea3fe095b 120777 root:root ../../../../games/d2x-rebirth-sdl +File: /usr/lib/debug/.build-id/28/c2df9d1d9b39fa11fff57b22681d4ea3fe095b.debug 120777 root:root ../../usr/games/d2x-rebirth-sdl.debug +File: /usr/lib/debug/usr/games/d2x-rebirth-sdl.debug 100644 root:root ae0ea2bfdf914893cfcd39bdbd55b3cb +RPMIdentity: 028886e25f859a28b85736a4ab691759a95eace45a61a159d0b65ef446621f579acbaae293ca61d02d7f264be59a683913bb3df257db4b49a318812a78f0a424