<86>Oct 24 04:36:28 userdel[2579221]: delete user 'rooter' <86>Oct 24 04:36:28 userdel[2579221]: removed group 'rooter' owned by 'rooter' <86>Oct 24 04:36:28 userdel[2579221]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 24 04:36:28 groupadd[2579343]: group added to /etc/group: name=rooter, GID=975 <86>Oct 24 04:36:28 groupadd[2579343]: group added to /etc/gshadow: name=rooter <86>Oct 24 04:36:28 groupadd[2579343]: new group: name=rooter, GID=975 <86>Oct 24 04:36:28 useradd[2579370]: new user: name=rooter, UID=975, GID=975, home=/root, shell=/bin/bash <86>Oct 24 04:36:28 userdel[2579513]: delete user 'builder' <86>Oct 24 04:36:28 userdel[2579513]: removed group 'builder' owned by 'builder' <86>Oct 24 04:36:28 groupadd[2579573]: group added to /etc/group: name=builder, GID=976 <86>Oct 24 04:36:28 groupadd[2579573]: group added to /etc/gshadow: name=builder <86>Oct 24 04:36:28 groupadd[2579573]: new group: name=builder, GID=976 <86>Oct 24 04:36:28 useradd[2579595]: new user: name=builder, UID=976, GID=976, home=/usr/src, shell=/bin/bash <13>Oct 24 04:36:32 rpmi: libogg-1.3.4-alt1 p9+249556.100.1.1 1586300644 installed <13>Oct 24 04:36:32 rpmi: libglvnd-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Oct 24 04:36:32 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed <13>Oct 24 04:36:32 rpmi: libflac8-1.3.3-alt1 p9+249557.100.1.1 1586301784 installed <13>Oct 24 04:36:32 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Oct 24 04:36:32 rpmi: xorg-proto-devel-2021.4-alt1 p9+272150.100.1.1 1621427342 installed <13>Oct 24 04:36:32 rpmi: libwayland-server-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed <13>Oct 24 04:36:32 rpmi: libOpenGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Oct 24 04:36:32 rpmi: libphysfs-3.0.2-alt1 sisyphus+227312.100.1.1 1555511352 installed <13>Oct 24 04:36:32 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890148 installed <13>Oct 24 04:36:33 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Oct 24 04:36:33 rpmi: libopus-1.3.1-alt3 p9+247689.300.3.1 1584537429 installed <13>Oct 24 04:36:33 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Oct 24 04:36:33 rpmi: libsndfile-1.0.30-alt2 p9+262916.200.2.1 1607353710 installed <13>Oct 24 04:36:33 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228072 installed <13>Oct 24 04:36:33 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237682 installed <13>Oct 24 04:36:33 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237844 installed <13>Oct 24 04:36:33 rpmi: libsystemd-1:246.16-alt2 p9+287049.100.2.1 1634920961 installed <13>Oct 24 04:36:33 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553670 installed <13>Oct 24 04:36:33 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Oct 24 04:36:33 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Oct 24 04:36:33 rpmi: libX11-locales-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Oct 24 04:36:33 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Oct 24 04:36:33 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Oct 24 04:36:33 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Oct 24 04:36:33 rpmi: libX11-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Oct 24 04:36:33 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Oct 24 04:36:33 rpmi: libpulseaudio-14.2-alt5 p9+275574.200.4.1 1625044013 installed <13>Oct 24 04:36:33 rpmi: libmikmod-3.3.11.1-alt2 1502706813 installed <13>Oct 24 04:36:33 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Oct 24 04:36:33 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Oct 24 04:36:33 rpmi: libXrender-0.9.10-alt1 p9+261891.200.2.1 1606149106 installed <13>Oct 24 04:36:33 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Oct 24 04:36:34 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Oct 24 04:36:34 rpmi: libX11-devel-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Oct 24 04:36:34 rpmi: libwayland-client-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed <13>Oct 24 04:36:34 rpmi: libpciaccess-1:0.14-alt1 1528969624 installed <13>Oct 24 04:36:34 rpmi: libdrm-1:2.4.105-alt2 p9+271012.100.1.1 1619786664 installed <13>Oct 24 04:36:34 rpmi: libGLX-mesa-4:21.0.3-alt1 p9+271012.200.3.1 1621244963 installed <13>Oct 24 04:36:34 rpmi: libGLX-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Oct 24 04:36:34 rpmi: libGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Oct 24 04:36:34 rpmi: libGLU-4:9.0.1-alt1 p9+251991.3000.19.1 1590835932 installed <13>Oct 24 04:36:34 rpmi: libgbm-4:21.0.3-alt1 p9+271012.200.3.1 1621244963 installed <13>Oct 24 04:36:35 rpmi: libEGL-mesa-4:21.0.3-alt1 p9+271012.200.3.1 1621244963 installed <13>Oct 24 04:36:35 rpmi: libEGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Oct 24 04:36:35 rpmi: libglvnd-devel-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Oct 24 04:36:35 rpmi: libGL-devel-4:21.0.3-alt1 p9+271012.200.3.1 1621244963 installed <13>Oct 24 04:36:35 rpmi: libGLU-devel-4:9.0.1-alt1 p9+251991.3000.19.1 1590835932 installed <13>Oct 24 04:36:35 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Oct 24 04:36:35 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Oct 24 04:36:36 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Oct 24 04:36:36 rpmi: alsa-ucm-conf-1.2.4-alt1 p9+250722.2300.14.1 1614269485 installed <13>Oct 24 04:36:36 rpmi: alsa-topology-conf-1.2.4-alt1 p9+250722.2200.14.1 1614269467 installed <13>Oct 24 04:36:36 rpmi: libalsa-1:1.2.4-alt1 p9+250722.2400.14.1 1614269549 installed <13>Oct 24 04:36:36 rpmi: libSDL-1.2.14-alt8 p9+232634.100.1.1 1560964523 installed <13>Oct 24 04:36:36 rpmi: libSDL-devel-1.2.14-alt8 p9+232634.100.1.1 1560964523 installed <13>Oct 24 04:36:36 rpmi: libSDL_mixer-1.2.12-alt1 1421435872 installed <13>Oct 24 04:36:36 rpmi: python-modules-curses-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 04:36:36 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Oct 24 04:36:36 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Oct 24 04:36:36 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Oct 24 04:36:36 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Oct 24 04:36:36 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Oct 24 04:36:36 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Oct 24 04:36:36 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Oct 24 04:36:36 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Oct 24 04:36:36 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Oct 24 04:36:36 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Oct 24 04:36:36 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Oct 24 04:36:36 rpmi: libcrypto1.1-1.1.1l-alt1 p9+283690.100.2.1 1630572181 installed <13>Oct 24 04:36:36 rpmi: libssl1.1-1.1.1l-alt1 p9+283690.100.2.1 1630572181 installed <13>Oct 24 04:36:36 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>Oct 24 04:36:36 groupadd[2621127]: group added to /etc/group: name=_keytab, GID=499 <86>Oct 24 04:36:36 groupadd[2621127]: group added to /etc/gshadow: name=_keytab <86>Oct 24 04:36:36 groupadd[2621127]: new group: name=_keytab, GID=499 <13>Oct 24 04:36:36 rpmi: libkrb5-1.17.2-alt2 p9+280683.100.2.1 1627489159 installed <13>Oct 24 04:36:36 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Oct 24 04:36:36 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Oct 24 04:36:36 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 04:36:36 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 04:36:36 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 04:36:36 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 04:36:36 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 04:36:36 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 04:36:36 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 04:36:36 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 04:36:36 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 04:36:36 rpmi: python-modules-logging-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 04:36:36 rpmi: python-tools-2to3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 04:36:36 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 04:36:36 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 04:36:36 rpmi: python-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 04:36:36 rpmi: python-modules-distutils-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 04:36:36 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Oct 24 04:36:36 rpmi: python-modules-json-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 04:36:36 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Oct 24 04:36:37 rpmi: python-dev-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 24 04:36:37 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Oct 24 04:36:37 rpmi: scons-3.0.1-alt1 1518686948 installed <13>Oct 24 04:36:37 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435872 installed <13>Oct 24 04:36:37 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed <13>Oct 24 04:36:37 rpmi: libphysfs-devel-3.0.2-alt1 sisyphus+227312.100.1.1 1555511352 installed <13>Oct 24 04:36:37 rpmi: dos2unix-7.3.5-alt1 1499695585 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/d1x-rebirth-0.58.1-alt1.nosrc.rpm (w1.gzdio) Installing d1x-rebirth-0.58.1-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.27861 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf d1x-rebirth_v0.58.1-src + echo 'Source #0 (d1x-rebirth_v0.58.1-src.tar.gz):' Source #0 (d1x-rebirth_v0.58.1-src.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/d1x-rebirth_v0.58.1-src.tar.gz + /bin/tar -xf - + cd d1x-rebirth_v0.58.1-src + /bin/chmod -c -Rf u+rwX,go-w . + dos2unix d1x.ini CHANGELOG.txt COPYING.txt INSTALL.txt README.txt RELEASE-NOTES.txt dos2unix: converting file d1x.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 d1x.ini CHANGELOG.txt COPYING.txt INSTALL.txt README.txt RELEASE-NOTES.txt + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.67905 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd d1x-rebirth_v0.58.1-src + scons -j16 sharepath=/usr/share/games/descent sdl_only=1 shareware=1 sdlmixer=1 no_asm=1 scons: Reading SConscript files ... D1X-Rebirth: compiling on *NIX ===== D1X-Rebirth v0.58.1 ===== D1X-Rebirth: LittleEndian machine detected D1X-Rebirth: building with OpenGL D1X-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 ... Compiling 2d/pixel.c ... Compiling 2d/poly.c ... Compiling 2d/rect.c ... Compiling 2d/rle.c ... Compiling 2d/scalec.c ... In file included from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 3d/clipper.c ... In file included from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 3d/draw.c ... 2d/font.c: In function 'gr_init_font': 2d/font.c:998:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, file_id, 4, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1011:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, font_data, 1, datasize); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 3d/globvars.c ... 2d/font.c:1052:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile,palette,3,256); //read the palette ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /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_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': Compiling 3d/instance.c ... include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from 2d/palette.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 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': In file included from include/physfsx.h:17, from 2d/palette.c:23: /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: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 2d/palette.c:23: /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:23: include/physfsx.h: In function 'PHYSFSX_readString': 2d/pcx.c:72: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:76:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &ph->filler, 60, 1); ^~~~~~~~~~~ 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:23: /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 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/palette.c:23: include/physfsx.h: In function 'PHYSFSX_gets': 2d/pcx.c: In function 'bald_guy_load': 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:23: /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:23: include/physfsx.h: In function 'PHYSFSX_writeU8': 2d/pcx.c:97:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(PCXfile, &xor_value, 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:104:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(PCXfile, bguy_data1, 1, fsize); ^~~~~~~~~~~ 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:23: /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:23: include/physfsx.h: In function 'PHYSFSX_writeString': 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_read_bitmap': 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:23: /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: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 2d/palette.c:23: /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: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 2d/palette.c:23: /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: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 2d/palette.c:23: /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:23: include/physfsx.h: In function 'PHYSFSX_readByte': 2d/pcx.c:221:5: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read( PCXfile, &data, 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, ^~~~~~~~~~~ 2d/pcx.c:227:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read( PCXfile, &data, 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, ^~~~~~~~~~~ 2d/pcx.c:243:5: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read( PCXfile, &data, 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, ^~~~~~~~~~~ 2d/pcx.c:249:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read( PCXfile, &data, 1, 1 )!=1 ) { ^~ include/physfsx.h:265: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:23: /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': 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:267:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read( PCXfile, &data, 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, ^~~~~~~~~~~ 2d/pcx.c:269:5: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(PCXfile, palette,768, 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 'pcx_write_bitmap': 2d/pcx.c:308: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:323: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:333: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, ^~~~~~~~~~~~ 2d/palette.c:72: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:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/palette.c:73: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:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 3d/interp.c ... Compiling 3d/matrix.c ... Compiling 3d/points.c ... In file included from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:11, from main/polyobj.h:30, from 3d/interp.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 3d/rod.c ... Compiling 3d/setup.c ... Compiling arch/ogl/gr.c ... Compiling arch/ogl/ogl.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:265: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.c ... Compiling arch/sdl/digi_audio.c ... Compiling arch/sdl/digi_mixer.c ... Compiling arch/sdl/digi_mixer_music.c ... arch/ogl/gr.c: In function 'write_bmp': arch/ogl/gr.c:1074: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:1075: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, ^~~~~~~~~~~~ Compiling arch/sdl/event.c ... 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': 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); ^~~~~~~~~~~ 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 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, ^~~~~~~~~~~ Compiling arch/sdl/init.c ... 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/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ 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/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 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:265: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_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); ^~~~~~ Compiling arch/sdl/joy.c ... 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:265: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/game.h:23, from main/weapon.h:25, from main/player.h:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, 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 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': In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/event.c:15: 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 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, ^~~~~~~~~~~~ include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ 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/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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 include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, 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/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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, 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/jukebox.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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); ^~~~~~~~~~~ Compiling arch/sdl/key.c ... In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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:265: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.h:25, from main/player.h:28, 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/mouse.c ... Compiling arch/sdl/rbaudio.c ... Compiling arch/sdl/timer.c ... Compiling arch/sdl/window.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:265: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/joy.c: In function 'joy_init': arch/sdl/joy.c:190: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:190:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d A%d", i + 1, j + 1); ^~~~~~~~~ arch/sdl/joy.c:190: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:196: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:196:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d B%d", i + 1, j + 1); ^~~~~~~~~ arch/sdl/joy.c:196: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: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, 0202); ^~ 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, 0202); ^~~~~~~~~~~ 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, 0177); ^~ 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, 0177); ^~~~~~~~~~~ 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, 0200); ^~ 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, 0200); ^~~~~~~~~~~ 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/joy.c:210: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:210: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:210: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/jukebox.c: In function 'jukebox_load': arch/sdl/jukebox.c:175: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:180: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:189: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:197: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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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:265: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.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, 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 main/ai.c ... Compiling main/aipath.c ... Compiling main/automap.c ... In file included from iff/iff.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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:32: /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:172: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:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ iff/iff.c:208: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:32: /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:749: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:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ iff/iff.c:752: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:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ Compiling main/bm.c ... Compiling main/bmread.c ... Compiling main/cntrlcen.c ... In file included from main/game.h:23, from main/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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: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/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, ^~~~~~~~~~~ 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:265: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:24, 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); ^~~~~~~~~~~ Compiling main/collide.c ... In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:24, 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/config.c ... main/ai.c: In function 'process_awareness_events': main/ai.c:2962:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i=0; i<=Highest_segment_index; i++) ^~~ main/ai.c:2965:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for (i=0; imodel_data, pm->model_data_size, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/custom.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/segment.h:23, from main/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:23: /usr/include/physfs.h: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:265: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, ^~~~~~~~~~~ main/credits.c: In function 'credits_show': main/credits.c:221: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/endlevel.c ... In file included from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:80, from main/endlevel.c:37: /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 ... In file included from main/segment.h:23, from main/object.h:25, from main/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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: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:146: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:147: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:345: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); ^~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:27: /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:701:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, mi, sizeof(matcen_info), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: /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:742: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:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/game.c ... Compiling main/gamecntl.c ... Compiling main/gamefont.c ... Compiling main/gamemine.c ... Compiling main/gamerend.c ... In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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:80, from main/fvi.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/fvi.h:80, from main/fvi.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:80, from main/fvi.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/fvi.h:80, from main/fvi.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:80, from main/fvi.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/fvi.h:80, from main/fvi.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:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:80, from main/fvi.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/piggy.h:23, from main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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/gamefont.h:25, from main/gamefont.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/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:265: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/gamesave.c ... Compiling main/gameseg.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:265: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, ^~~~~~~~~~~ Compiling main/gameseq.c ... Compiling main/gauges.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': In file included from main/segment.h:23, from main/gamemine.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/gamemine.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/segment.h:23, from main/gamemine.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': 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, ^~~~~~~~~~~ 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: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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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: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/gamesave.c:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:36: /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/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:265: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/gamesave.c: In function 'load_game_data': main/gameseg.c: In function 'trace_segs': main/gameseg.c:728:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (sidenum = 0, bit = 1; sidenum < 6; sidenum++, bit <<= 1) ^~~ main/gameseg.c:735:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if (biggest_side == -1) ^~ main/gamesave.c:788: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:36: /usr/include/physfs.h: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: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/gauges.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: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/gauges.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: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/gauges.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: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/gauges.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: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/gauges.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/gauges.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/gauges.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/gauges.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/gauges.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/gauges.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/gauges.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/gauges.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/gauges.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:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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: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/gameseq.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE16': main/gauges.c: In function 'hud_show_weapons_mode': main/gauges.c:1054:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main/gauges.c:1056:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' break; ^~~~~ Compiling main/hud.c ... 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: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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.c:33: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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: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/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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: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/hud.c:18: include/physfsx.h: In function 'PHYSFSX_readSXE16': Compiling main/inferno.c ... 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:265: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/kconfig.c ... Compiling main/kmatrix.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:265: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/laser.c ... Compiling main/lighting.c ... Compiling main/menu.c ... Compiling main/mglobal.c ... 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 main/game.h:23, from main/laser.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/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 include/physfsx.h:17, from main/game.h:23, from main/laser.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/laser.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/laser.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/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE32': In file included from main/game.h:23, from main/laser.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/laser.c:24: /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 main/game.h:23, from main/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/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': In file included from main/game.h:23, from main/laser.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ include/physfsx.h:265: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: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/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:265: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/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': Compiling main/mission.c ... 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:265: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/laser.c: In function 'do_laser_firing_player': main/laser.c:1126:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (plp->energy < 0) ^~ main/laser.c:1129:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ammo_used > plp->primary_ammo[Primary_weapon]) ^~ 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:265: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, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE16': 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:265: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, ^~~~~~~~~~~ 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:265: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/morph.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, 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/mission.c: In function 'add_missions_to_list': main/mission.c:378:3: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if (PHYSFS_isDirectory(path)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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/multi.c ... main/menu.c: In function 'list_dir_el': main/menu.c:1309: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:1331: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:1434: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:1445: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:1517: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:1533: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:1536: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) ^~~~~~~~~~~~~~~~~~~~~~ Compiling main/multibot.c ... In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/morph.h:25, from main/morph.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:25, from main/morph.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/newdemo.c ... In file included from main/game.h:23, from main/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/newmenu.c ... main/multi.c: In function 'multi_process_data': main/multi.c:3739:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_position(buf); break; ^~ main/multi.c:3739: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:3741:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_reappear(buf); break; ^~ main/multi.c:3741: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:3743:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_fire(buf); break; ^~ main/multi.c:3743: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:3747:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_remobj(buf); break; ^~ main/multi.c:3747: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:3750:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_player_explode(buf); break; ^~ main/multi.c:3750: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:3752:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_message(buf); break; ^~ main/multi.c:3752: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:3754:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_quit(buf); break; ^~ main/multi.c:3754: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:3758:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_controlcen_destroy(buf); break; ^~ main/multi.c:3758: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:3760:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_escape(buf); break; ^~ main/multi.c:3760: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:3764:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_cloak(buf); break; ^~ main/multi.c:3764: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:3766:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_decloak(buf); break; ^~ main/multi.c:3766: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:3768:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_door_open(buf); break; ^~ main/multi.c:3768: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:3770:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_explosion(buf); break; ^~ main/multi.c:3770: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:3772:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_controlcen_fire(buf); break; ^~ main/multi.c:3772: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:3774:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_powerup(buf); break; ^~ main/multi.c:3774: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:3776:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_play_sound(buf); break; ^~ main/multi.c:3776: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:3778:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_claim_robot(buf); break; ^~ main/multi.c:3778: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:3780:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_position(buf); break; ^~ main/multi.c:3780: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:3782:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_explode(buf); break; ^~ main/multi.c:3782: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:3784:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_release_robot(buf); break; ^~ main/multi.c:3784: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:3786:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_fire(buf); break; ^~ main/multi.c:3786: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:3788:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_score(buf); break; ^~ main/multi.c:3788: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:3790:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_robot(buf); break; ^~ main/multi.c:3790: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:3792:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_trigger(buf); break; ^~ main/multi.c:3792: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:3794:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_boss_actions(buf); break; ^~ main/multi.c:3794: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:3796:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_robot_powerups(buf); break; ^~ main/multi.c:3796: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:3798:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_hostage_door_status(buf); break; ^~ main/multi.c:3798: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:3800:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_save_game(buf); break; ^~ main/multi.c:3800: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:3802:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_restore_game(buf); break; ^~ main/multi.c:3802: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:3804:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_powcap_update(buf); break; ^~ main/multi.c:3804: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:3806:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_heartbeat (buf); break; ^~ main/multi.c:3806: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:3808:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_kill_goal_counts (buf); break; ^~ main/multi.c:3808: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:3810:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( !Endlevel_sequence ) multi_do_bounty( buf ); break; ^~ main/multi.c:3810: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/game.h:23, from main/multibot.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': 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:265: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, ^~~~~~~~~~~ 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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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/multibot.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/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:265: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/object.c ... main/newdemo.c: In function 'newdemo_read': main/newdemo.c:241: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:268: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/newdemo.c: In function 'newdemo_swap_endian': main/newdemo.c:3453: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:265: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/paging.c ... main/object.c: In function 'obj_get_signature': main/object.c:984:26: warning: iteration 350 invokes undefined behavior [-Waggressive-loop-optimizations] if ((sig == Objects[i].signature) && (Objects[i].type != OBJ_NONE)) ~~~~~~~~~~^~~~~~~~~~ main/object.c:982:3: note: within this loop for (i = 0; i <= MAX_OBJECTS; i++) ^~~ Compiling main/physics.c ... Compiling main/piggy.c ... Compiling main/player.c ... 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, 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: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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_writeU8': Compiling main/powerup.c ... 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:31: /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: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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:31: /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:117: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:31: /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:131: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: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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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); ^~~~~~~~~~~ main/newdemo.c: In function 'newdemo_stop_recording': In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from main/polyobj.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/newdemo.c:3214: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); ^~ In file included from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/newdemo.c:3214: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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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:11, from main/polyobj.h:30, from main/polyobj.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:11, from main/polyobj.h:30, from main/polyobj.c:30: /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:520:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(array, Sounds, MAX_SOUNDS, 1) != 1) // make the 'Sounds' index array match with the sounds we're about to read in ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c:522:5: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT,"Warning: Can't read Sounds/sounds.array: %s", PHYSFS_getLastError()); ^~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/piggy.c:568:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, lastbuf, SoundCompressed[i], 1 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c:575:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_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: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_bitmap_page_in': main/piggy.c:663:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, &Piggy_bitmap_cache_data[Piggy_bitmap_cache_next], 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:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c:682: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: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:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /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:284: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:11, from main/polyobj.h:30, from main/polyobj.c:30: /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:445: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:11, from main/polyobj.h:30, from main/polyobj.c:30: /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:757: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:11, from main/polyobj.h:30, from main/polyobj.c:30: /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:780: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:11, from main/polyobj.h:30, from main/polyobj.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/physics.c:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:20: /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: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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:26: /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:804:3: 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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:809:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file,saved_games,sizeof(saved_games),1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:820: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:832: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:834: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:837: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:840:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &PlayerCfg.ControlType, sizeof(ubyte), 1 )!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:842: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:875: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /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:976: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/piggy.c: In function 'properties_init': main/piggy.c:412: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 & 63 ); ^~ main/piggy.c:412:24: note: directive argument in the range [0, 63] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & 63 ); ^~~~~~~ In file included from /usr/include/stdio.h:862, from main/piggy.c:20: /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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/playsave.c:982:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write( file, saved_games,sizeof(saved_games),1) != 1) { ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:989: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1009: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1011: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1014: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1016: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1019:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, "0", sizeof(ubyte), 1) != 1) // Skip obsolete Cyberman map field ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1025:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write( file, &PlayerCfg.ControlType, sizeof(ubyte), 1 )!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1027:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] else 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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/object.h:25, from main/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/render.c ... Compiling main/robot.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:265: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:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.c:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:11, from main/robot.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/scores.c ... main/robot.c: In function 'robot_info_read_n': main/robot.c:276:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &(ri[i].rapidfire_count[j]), sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:11, from main/robot.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/robot.c:278:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &(ri[i].evade_speed[j]), sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:11, from main/robot.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/slew.c ... main/render.c: In function 'render_mine': main/render.c:1878:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Viewer->type!=OBJ_ROBOT) ^~ main/render.c:1881: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:1992: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: In function 'state_save_old_game': main/state.c:685: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:689:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, 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:693: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:726: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:735: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:740:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, 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:745: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:749:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, 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:751:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, 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:755:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, 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:758:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &sg_player, 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:762:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_byte, 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:764:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_byte, 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:768:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, 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:772: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:773:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &cheats.turbo, 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:774: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:775: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:776:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &temp_int, sizeof(int), 1 ); // was Ugly_robot_cheat ^~~~~~~~~~~~ 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:777:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &temp_int, sizeof(int), 1 ); // Ugly_robot_texture ^~~~~~~~~~~~ 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:778:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &cheats.ghostphysics, 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:779:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &temp_int, 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: In function 'state_save_all_sub': main/state.c:842: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:846: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:851: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:852: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:856: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:891: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:900: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:905: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:910: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:913: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:914: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:919: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:928: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, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.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); ^~~~~~~~~~~ main/state.c:933: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:934: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:937: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:940: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:941:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.turbo, 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 include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:965: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, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.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); ^~~~~~~~~~~ main/state.c:973: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, ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:979: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:980: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, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:984: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, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:985:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, ActiveDoors, sizeof(active_door), i); ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.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/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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:988:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_triggers, sizeof(int), 1); ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.c:26: /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, ^~~~~~~~~~~~ main/state.c:989: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 main/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:996: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 main/segment.h:23, from main/wall.h:24, from main/wall.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': main/state.c:997: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/segment.h:23, from main/wall.h:24, from main/wall.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:998: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:1003: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:1004:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Countdown_seconds_left, 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:1005: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:1006: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:1007: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, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:26: /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, &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:1014:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Station[i], sizeof(FuelCenter), 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:1019: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:1020: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:1021: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:1022: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:1023: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:1031: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:1034: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:1036: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:1038: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:1039:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); // was Ugly_robot_cheat ^~~~~~~~~~~~ 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:1040:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); // was Ugly_robot_texture ^~~~~~~~~~~~ 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, &cheats.ghostphysics, 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, &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:1053: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:1056: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:1057: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:1058: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:1059: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:1060: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:1061: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:1062: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:1063: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:1064: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:1137: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:1145: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:1162: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:1171: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:1181: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:1222:2: 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:1231: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:1232: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:1263:4: 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:1274:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, obj_rw, sizeof(object_rw)-3, 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:1373: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:1376: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:1412: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:1463: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:1464: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:1466: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:1467: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:1468: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:1469: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:1470: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:1514: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:1522: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:1536: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, ^~~~~~~~~~~ main/switch.c: In function 'trigger_read_n_swap': main/switch.c:289:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, t, sizeof(trigger), n); ^~~~~~~~~~~ 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/wall.c: In function 'wclip_read_n': main/wall.c:1050:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, WallAnims[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:26: /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:1122: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:26: /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:1177: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:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling maths/tables.c ... Compiling maths/vecmat.c ... Compiling mem/mem.c ... Compiling misc/args.c ... Compiling misc/dl_list.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, ^~~~~~~~~~~ Compiling misc/error.c ... 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 misc/args.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 misc/args.c:25: /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: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 misc/args.c:25: /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:265: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, ^~~~~~~~~~~ In file included from misc/args.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 misc/args.c:25: /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: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 misc/args.c:25: /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: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 misc/args.c:25: /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: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 misc/args.c:25: /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: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 misc/args.c:25: /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: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 misc/args.c:25: /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: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 misc/args.c:25: /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:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling misc/hash.c ... Compiling misc/hmp.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:265: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:64: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:78: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:99: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:115: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:133: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/ignorecase.c ... In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE16': Compiling misc/physfsx.c ... 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:265: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 ... 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:265: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:5: 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:5: /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:5: 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:5: /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:5: 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:5: /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:5: 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:5: /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:5: 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:5: /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:5: 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:5: /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:5: 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:5: /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:5: 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:5: /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:5: 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:5: /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:5: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:5: /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:477: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:535: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:551: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 texmap/ntmap.c ... Compiling texmap/scanline.c ... In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:24, 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/net_udp.c ... Compiling main/vers_id.c ... In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:20: /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_send_game_info': main/net_udp.c:2169:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main/net_udp.c:2170:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' buf[len] = 0; len++; ^~~ main/net_udp.c: In function 'net_udp_more_game_options': main/net_udp.c:2866: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:2866: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:9: /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:906: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:906: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:9: /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:904: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:904: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:9: /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:920: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:9: /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:917: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:9: /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: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:9: /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:913: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:9: /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:909: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:9: /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: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:9: /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 d1x-rebirth ... scons: done building targets. + mv d1x-rebirth d1x-rebirth-shareware-sdl + scons -j16 sharepath=/usr/share/games/descent sdl_only=1 sdlmixer=1 no_asm=1 scons: Reading SConscript files ... D1X-Rebirth: compiling on *NIX ===== D1X-Rebirth v0.58.1 ===== D1X-Rebirth: LittleEndian machine detected D1X-Rebirth: building with OpenGL D1X-Rebirth: including SDL_mixer scons: done reading SConscript files. scons: Building targets ... Linking d1x-rebirth ... scons: done building targets. + mv d1x-rebirth d1x-rebirth-sdl + scons -c scons: Reading SConscript files ... D1X-Rebirth: compiling on *NIX ===== D1X-Rebirth v0.58.1 ===== D1X-Rebirth: LittleEndian machine detected D1X-Rebirth: building with OpenGL D1X-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/poly.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 main/ai.o Removed main/aipath.o Removed main/automap.o Removed main/bm.o Removed main/bmread.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/custom.o Removed main/digiobj.o Removed main/dumpmine.o Removed main/effects.o Removed main/endlevel.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/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/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/slew.o Removed main/snddecom.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/dl_list.o Removed misc/error.o Removed misc/hash.o Removed misc/hmp.o Removed misc/ignorecase.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. + scons -j16 sharepath=/usr/share/games/descent-shareware sdlmixer=1 shareware=1 PREFIX=/usr/src/tmp/d1x-rebirth-buildroot/usr scons: Reading SConscript files ... D1X-Rebirth: compiling on *NIX ===== D1X-Rebirth v0.58.1 ===== D1X-Rebirth: LittleEndian machine detected D1X-Rebirth: building with OpenGL D1X-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 ... In file included from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 2d/palette.c ... 2d/font.c: In function 'gr_init_font': 2d/font.c:998:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, file_id, 4, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1011:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, font_data, 1, datasize); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1052:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile,palette,3,256); //read the palette ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 2d/pcx.c ... Compiling 2d/pixel.c ... In file included from 2d/palette.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 2d/palette.c:23: /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: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 2d/palette.c:23: /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: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 2d/palette.c:23: /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: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 2d/palette.c:23: /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: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 2d/palette.c:23: /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: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 2d/palette.c:23: /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: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 2d/palette.c:23: /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: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 2d/palette.c:23: /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: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 2d/palette.c:23: /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:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:23: /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:72: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:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/palette.c:73: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:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 2d/poly.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:265: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:72: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:76: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 'bald_guy_load': 2d/pcx.c:97:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(PCXfile, &xor_value, 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:104:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(PCXfile, bguy_data1, 1, fsize); ^~~~~~~~~~~ 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_read_bitmap': 2d/pcx.c:221:5: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read( PCXfile, &data, 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, ^~~~~~~~~~~ 2d/pcx.c:227:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read( PCXfile, &data, 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, ^~~~~~~~~~~ 2d/pcx.c:243:5: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read( PCXfile, &data, 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, ^~~~~~~~~~~ 2d/pcx.c:249:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read( PCXfile, &data, 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, ^~~~~~~~~~~ 2d/pcx.c:267:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read( PCXfile, &data, 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, ^~~~~~~~~~~ 2d/pcx.c:269:5: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(PCXfile, palette,768, 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 'pcx_write_bitmap': 2d/pcx.c:308: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:323: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:333: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/rect.c ... Compiling 2d/rle.c ... 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 ... In file included from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:11, from main/polyobj.h:30, from 3d/interp.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 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:265: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 ... 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:265: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, ^~~~~~~~~~~ arch/ogl/gr.c: In function 'write_bmp': arch/ogl/gr.c:1074: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:1075: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, ^~~~~~~~~~~~ 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:265: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/event.c ... Compiling arch/sdl/init.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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); ^~~~~~~~~~~ Compiling arch/sdl/joy.c ... In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, 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 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': In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: 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 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, ^~~~~~~~~~~~ include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ 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/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 include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readByte': 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); ^~~~~~ include/physfsx.h:265: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:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ 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/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, ^~~~~~~~~~~ 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; ^~~~~~~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ 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 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 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, 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 ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, 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 ... 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:28, 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': 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; ^~~~~ include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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:265: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.h:25, from main/player.h:28, 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/mouse.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:265: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, ^~~~~~~~~~~ Compiling arch/sdl/timer.c ... arch/sdl/jukebox.c: In function 'jukebox_load': arch/sdl/jukebox.c:175: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:180: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:189: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:197: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/window.c ... arch/sdl/joy.c: In function 'joy_init': arch/sdl/joy.c:190: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:190:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d A%d", i + 1, j + 1); ^~~~~~~~~ arch/sdl/joy.c:190: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:196: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:196:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d B%d", i + 1, j + 1); ^~~~~~~~~ arch/sdl/joy.c:196: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: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, 0202); ^~ 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, 0202); ^~~~~~~~~~~ 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, 0177); ^~ 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, 0177); ^~~~~~~~~~~ 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, 0200); ^~ 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, 0200); ^~~~~~~~~~~ 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/joy.c:210: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:210: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:210: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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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:265: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.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, 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 main/ai.c ... In file included from iff/iff.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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:32: /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:172: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:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ iff/iff.c:208: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:32: /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:749: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:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ iff/iff.c:752: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:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ Compiling main/aipath.c ... In file included from main/game.h:23, from main/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/automap.c ... Compiling main/bm.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_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, ^~~~~~~~~~~ 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:265: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/bmread.c ... Compiling main/cntrlcen.c ... In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.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 main/segment.h:23, from main/object.h:25, from main/render.h:24, 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/piggy.h:23, from main/bm.h:24, from main/bm.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/segment.h:23, from main/object.h:25, from main/render.h:24, 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: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 main/bm.h:24, from main/bm.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:24, 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:24, 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: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 main/bm.h:24, from main/bm.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:24, 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:24, 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: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 main/bm.h:24, from main/bm.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:24, 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:24, 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: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 main/segment.h:23, from main/object.h:25, from main/render.h:24, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_writeU8': In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:28: /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 include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, 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/piggy.h:23, from main/bm.h:24, from main/bm.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 main/segment.h:23, from main/object.h:25, from main/render.h:24, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_writeString': In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(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 main/segment.h:23, from main/object.h:25, from main/render.h:24, 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/piggy.h:23, from main/bm.h:24, from main/bm.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 main/segment.h:23, from main/object.h:25, from main/render.h:24, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_puts': In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(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 main/segment.h:23, from main/object.h:25, from main/render.h:24, 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/piggy.h:23, from main/bm.h:24, from main/bm.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 main/segment.h:23, from main/object.h:25, from main/render.h:24, 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/piggy.h:23, from main/bm.h:24, from main/bm.c:28: /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/object.h:25, from main/render.h:24, 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/piggy.h:23, from main/bm.h:24, from main/bm.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, 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) ^~ 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: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/segment.h:23, from main/object.h:25, from main/render.h:24, 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:24, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:24, 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:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/ai.c: In function 'process_awareness_events': main/ai.c:2962:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i=0; i<=Highest_segment_index; i++) ^~~ main/ai.c:2965:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for (i=0; imodel_data, pm->model_data_size, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/custom.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/segment.h:23, from main/object.h:25, from main/digiobj.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/object.h:25, from main/digiobj.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/object.h:25, from main/digiobj.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/object.h:25, from main/digiobj.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/object.h:25, from main/digiobj.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/object.h:25, from main/digiobj.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/object.h:25, from main/digiobj.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/object.h:25, from main/digiobj.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/object.h:25, from main/digiobj.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/object.h:25, from main/digiobj.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/object.h:25, from main/digiobj.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/object.h:25, from main/digiobj.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/object.h:25, from main/digiobj.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/object.h:25, from main/digiobj.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/object.h:25, from main/digiobj.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/object.h:25, from main/digiobj.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/object.h:25, from main/digiobj.c:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:23: /usr/include/physfs.h: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:265: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 ... In file included from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:80, from main/endlevel.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/fvi.c ... In file included from main/segment.h:23, from main/object.h:25, from main/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/game.c ... main/fireball.c: In function 'object_create_explosion_sub': main/fireball.c:146: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:147: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:345: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); ^~~~~~ Compiling main/gamecntl.c ... In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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:80, from main/fvi.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/fvi.h:80, from main/fvi.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:80, from main/fvi.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/fvi.h:80, from main/fvi.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:80, from main/fvi.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/fvi.h:80, from main/fvi.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:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:80, from main/fvi.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gamefont.c ... In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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: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/game.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE16': Compiling main/gamemine.c ... 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); ^~~~~~~~~~~ Compiling main/gamerend.c ... 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:265: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:701:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, mi, sizeof(matcen_info), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: /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:742: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: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/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:265: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/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:265: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/piggy.h:23, from main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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/gamefont.h:25, from main/gamefont.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/segment.h:23, from main/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gameseg.c ... Compiling main/gameseq.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:265: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, ^~~~~~~~~~~ Compiling main/gauges.c ... main/gameseg.c: In function 'trace_segs': main/gameseg.c:728:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (sidenum = 0, bit = 1; sidenum < 6; sidenum++, bit <<= 1) ^~~ main/gameseg.c:735:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if (biggest_side == -1) ^~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:36: /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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.c:33: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:33: /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:788: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:36: /usr/include/physfs.h: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:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': Compiling main/hud.c ... 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: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: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/gauges.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: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/gauges.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: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/gauges.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: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/gauges.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/gauges.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/gauges.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/gauges.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/gauges.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/gauges.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/gauges.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/gauges.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/gauges.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:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/inferno.c ... In file included from main/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/gauges.c: In function 'hud_show_weapons_mode': main/gauges.c:1054:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main/gauges.c:1056:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' break; ^~~~~ 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:265: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/kconfig.c ... Compiling main/kmatrix.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, ^~~~~~~~~~~~ Compiling main/laser.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_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:265: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, ^~~~~~~~~~~ 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:265: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, ^~~~~~~~~~~ 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:265: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/lighting.c ... In file included from main/game.h:23, from main/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/menu.c ... Compiling main/mglobal.c ... main/laser.c: In function 'do_laser_firing_player': main/laser.c:1126:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (plp->energy < 0) ^~ main/laser.c:1129:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ammo_used > plp->primary_ammo[Primary_weapon]) ^~ 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:265: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/mission.c ... Compiling main/morph.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/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': 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:265: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, ^~~~~~~~~~~ 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:265: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/multi.c ... Compiling main/multibot.c ... In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/weapon.h:25, from main/player.h:28, 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/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:25, from main/morph.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/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, 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/mission.c: In function 'add_missions_to_list': main/mission.c:378:3: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if (PHYSFS_isDirectory(path)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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; ^~~~~~~~~~~~~~~~~~ main/menu.c: In function 'list_dir_el': main/menu.c:1309: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:1331: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:1434: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:1445: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:1517: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:1533: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; ^~~~~~~~~~~~~~~~~ Compiling main/newdemo.c ... main/menu.c:1536: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) ^~~~~~~~~~~~~~~~~~~~~~ Compiling main/newmenu.c ... Compiling main/object.c ... In file included from main/game.h:23, from main/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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/multibot.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/paging.c ... Compiling main/physics.c ... 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:265: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: In function 'multi_process_data': main/multi.c:3739:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_position(buf); break; ^~ main/multi.c:3739: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:3741:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_reappear(buf); break; ^~ main/multi.c:3741: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:3743:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_fire(buf); break; ^~ main/multi.c:3743: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:3747:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_remobj(buf); break; ^~ main/multi.c:3747: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:3750:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_player_explode(buf); break; ^~ main/multi.c:3750: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:3752:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_message(buf); break; ^~ main/multi.c:3752: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:3754:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_quit(buf); break; ^~ main/multi.c:3754: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:3758:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_controlcen_destroy(buf); break; ^~ main/multi.c:3758: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:3760:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_escape(buf); break; ^~ main/multi.c:3760: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:3764:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_cloak(buf); break; ^~ main/multi.c:3764: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:3766:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_decloak(buf); break; ^~ main/multi.c:3766: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:3768:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_door_open(buf); break; ^~ main/multi.c:3768: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:3770:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_explosion(buf); break; ^~ 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); ^~~~~~~~~~~ main/multi.c:3770: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:3772:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_controlcen_fire(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:3772: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:3774:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_powerup(buf); break; ^~ main/multi.c:3774: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:3776:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_play_sound(buf); break; ^~ main/multi.c:3776: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:3778:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_claim_robot(buf); break; ^~ main/multi.c:3778: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:3780:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_position(buf); break; ^~ main/multi.c:3780: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:3782:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_explode(buf); break; ^~ main/multi.c:3782: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:3784:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_release_robot(buf); break; ^~ main/multi.c:3784: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:3786:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_fire(buf); break; ^~ main/multi.c:3786: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:3788:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_score(buf); break; ^~ main/multi.c:3788: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:3790:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_robot(buf); break; ^~ main/multi.c:3790: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:3792:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_trigger(buf); break; ^~ main/multi.c:3792: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:3794:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_boss_actions(buf); break; ^~ main/multi.c:3794: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:3796:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_robot_powerups(buf); break; ^~ main/multi.c:3796: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:3798:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_hostage_door_status(buf); break; ^~ main/multi.c:3798: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:3800:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_save_game(buf); break; ^~ main/multi.c:3800: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:3802:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_restore_game(buf); break; ^~ main/multi.c:3802: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:3804:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_powcap_update(buf); break; ^~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': main/multi.c:3804: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; ^~~~~ 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, ^~~~~~~~~~~ main/multi.c:3806:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_heartbeat (buf); break; ^~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readString': main/multi.c:3806: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; ^~~~~ 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, ^~~~~~~~~~~ main/multi.c:3808:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_kill_goal_counts (buf); break; ^~ 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, ^~~~~~~~~~~ main/multi.c:3808: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; ^~~~~ 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); ^~~~~~ main/multi.c:3810:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( !Endlevel_sequence ) multi_do_bounty( buf ); break; ^~ 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, ^~~~~~~~~~~~ main/multi.c:3810: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/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:265: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, ^~~~~~~~~~~ Compiling main/piggy.c ... 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:265: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, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:26: /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:984:26: warning: iteration 350 invokes undefined behavior [-Waggressive-loop-optimizations] if ((sig == Objects[i].signature) && (Objects[i].type != OBJ_NONE)) ~~~~~~~~~~^~~~~~~~~~ main/object.c:982:3: note: within this loop for (i = 0; i <= MAX_OBJECTS; i++) ^~~ main/newdemo.c: In function 'newdemo_read': Compiling main/playsave.c ... main/newdemo.c:241: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:268: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/segment.h:23, from main/physics.c:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:20: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/polyobj.c ... main/newdemo.c: In function 'newdemo_swap_endian': main/newdemo.c:3453: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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:31: /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:117: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:31: /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:131: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: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_read_sounds': main/piggy.c:520:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(array, Sounds, MAX_SOUNDS, 1) != 1) // make the 'Sounds' index array match with the sounds we're about to read in ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c:522:5: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT,"Warning: Can't read Sounds/sounds.array: %s", PHYSFS_getLastError()); ^~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/piggy.c:568:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, lastbuf, SoundCompressed[i], 1 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c:575:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_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: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_bitmap_page_in': main/piggy.c:663:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, &Piggy_bitmap_cache_data[Piggy_bitmap_cache_next], 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:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c:682: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: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:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, from main/player.c:8: /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:804:3: 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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:809:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file,saved_games,sizeof(saved_games),1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:820: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:832: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:834: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:837: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:840:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &PlayerCfg.ControlType, sizeof(ubyte), 1 )!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:842: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:875: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /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:976: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:982:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write( file, saved_games,sizeof(saved_games),1) != 1) { ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:989: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1009: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1011: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1014: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1016: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1019:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, "0", sizeof(ubyte), 1) != 1) // Skip obsolete Cyberman map field ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1025:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write( file, &PlayerCfg.ControlType, sizeof(ubyte), 1 )!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1027:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] else 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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ Compiling main/powerup.c ... In file included from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'properties_init': main/piggy.c:412: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 & 63 ); ^~ In file included from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from main/polyobj.c:30: include/physfsx.h: In function 'PHYSFSX_gets': main/piggy.c:412:24: note: directive argument in the range [0, 63] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & 63 ); ^~~~~~~ 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:11, from main/polyobj.h:30, from main/polyobj.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from main/piggy.c:20: /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:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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:11, from main/polyobj.h:30, from main/polyobj.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:11, from main/polyobj.h:30, from main/polyobj.c:30: /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:284: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:11, from main/polyobj.h:30, from main/polyobj.c:30: /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:445: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:11, from main/polyobj.h:30, from main/polyobj.c:30: /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:757: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:11, from main/polyobj.h:30, from main/polyobj.c:30: /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:780: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:11, from main/polyobj.h:30, from main/polyobj.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/render.c ... In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/scores.c ... Compiling main/slew.c ... Compiling main/robot.c ... In file included from main/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/scores.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE16': In file included from main/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.c:23: /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 main/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/game.h:23, from main/robot.h:11, from main/robot.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/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': In file included from main/game.h:23, from main/robot.h:11, from main/robot.c:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:11, from main/robot.c:23: /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); ^~~~~~~~~~~ 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:265: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/robot.c: In function 'robot_info_read_n': main/robot.c:276:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &(ri[i].rapidfire_count[j]), sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:11, from main/robot.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/robot.c:278:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &(ri[i].evade_speed[j]), sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:11, from main/robot.c:23: /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:3214: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:3214: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/scores.c: In function 'scores_read': main/scores.c:113: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:136: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, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/slew.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/game.h:23, from main/slew.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/game.h:23, from main/slew.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/game.h:23, from main/slew.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/game.h:23, from main/slew.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/game.h:23, from main/slew.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/game.h:23, from main/slew.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/game.h:23, from main/slew.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/game.h:23, from main/slew.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/game.h:23, from main/slew.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/game.h:23, from main/slew.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/game.h:23, from main/slew.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/game.h:23, from main/slew.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/game.h:23, from main/slew.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/game.h:23, from main/slew.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/game.h:23, from main/slew.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/game.h:23, from main/slew.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/game.h:23, from main/slew.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/game.h:23, from main/slew.c:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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/slew.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/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:265: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, ^~~~~~~~~~~ Compiling main/snddecom.c ... Compiling main/songs.c ... main/render.c: In function 'render_mine': main/render.c:1878:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Viewer->type!=OBJ_ROBOT) ^~ main/render.c:1881: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:1992: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: In function 'state_save_old_game': main/state.c:685: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:689:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, 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:693: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:726: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:735: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:740:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, 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:745: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:749:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, 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:751:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, 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:755:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, 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:758:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &sg_player, 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:762:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_byte, 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:764:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_byte, 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:768:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, 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:772: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:773:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &cheats.turbo, 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:774: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:775: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:776:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &temp_int, sizeof(int), 1 ); // was Ugly_robot_cheat ^~~~~~~~~~~~ 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:777:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &temp_int, sizeof(int), 1 ); // Ugly_robot_texture ^~~~~~~~~~~~ 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:778:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &cheats.ghostphysics, 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:779:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &temp_int, 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: In function 'state_save_all_sub': main/state.c:842: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:846: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:851: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:852: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:856: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:891: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:900: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:905: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:910: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:913: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:914: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:919: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:928: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:933: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:934: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:937: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:940: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:941:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.turbo, 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:965: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:973: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:979: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:980: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:984: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:985: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:988: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:989: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:996: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:997: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:998: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:1003: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:1004:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Countdown_seconds_left, 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:1005: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:1006: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:1007: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:1008: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:1014:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Station[i], sizeof(FuelCenter), 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:1019: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:1020: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:1021: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:1022: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:1023: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:1031: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:1034: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:1036: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:1038: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:1039:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); // was Ugly_robot_cheat ^~~~~~~~~~~~ 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:1040:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); // was Ugly_robot_texture ^~~~~~~~~~~~ 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, &cheats.ghostphysics, 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, &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:1053: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:1056: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:1057: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:1058: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:1059: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:1060: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:1061: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:1062: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:1063: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:1064: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:1137: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:1145: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:1162: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:1171: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:1181: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:1222:2: 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:1231: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:1232: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:1263:4: 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:1274:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, obj_rw, sizeof(object_rw)-3, 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/weapon.c ... main/state.c:1373: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:1376: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:1412: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:1463: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:1464: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:1466: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:1467: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:1468: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:1469: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:1470: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:1514: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:1522: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:1536: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/segment.h:23, from main/object.h:25, from main/vclip.h:24, from main/vclip.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE16': Compiling maths/fixc.c ... 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:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.c:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:24, from main/vclip.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.c:38: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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/gamefont.h:25, from main/titles.c:38: /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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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: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.c:20: 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/titles.c: In function 'load_screen_text': In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:20: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/titles.c:364:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(tfile, *buf, 1, len); ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:20: 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:20: /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/gamefont.h:25, from main/titles.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/game.h:23, from main/weapon.c:20: 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:20: /usr/include/physfs.h: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:20: 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:20: /usr/include/physfs.h: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:20: 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:20: /usr/include/physfs.h: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:20: 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:20: /usr/include/physfs.h: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:20: 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:20: /usr/include/physfs.h: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:20: 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:20: /usr/include/physfs.h: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:20: 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:20: /usr/include/physfs.h: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:20: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:20: /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:1050:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, WallAnims[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:26: /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:1122: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:26: /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:1177: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:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling maths/tables.c ... Compiling maths/vecmat.c ... Compiling mem/mem.c ... main/weapon.c: In function 'player_has_weapon': main/weapon.c:74:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 0 : if((Players[Player_num].laser_level != 0)||(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:76:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:77:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 1 : if((Players[Player_num].laser_level != 1)||(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:79:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:80:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 2 : if((Players[Player_num].laser_level != 2)||(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:82:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:83:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 3 : if((Players[Player_num].laser_level != 3)||(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:85:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:86:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 4 : if((Players[Player_num].laser_level != 0)||!(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:88:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:89:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 5 : if((Players[Player_num].laser_level != 1)||!(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:91:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:92:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 6 : if((Players[Player_num].laser_level != 2)||!(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:94:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:95:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 7 : if((Players[Player_num].laser_level != 3)||!(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:97:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ Compiling misc/args.c ... Compiling misc/dl_list.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:265: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/error.c ... Compiling misc/hash.c ... Compiling misc/hmp.c ... Compiling misc/ignorecase.c ... In file included from misc/args.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 misc/args.c:25: /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: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 misc/args.c:25: /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: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 misc/args.c:25: /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: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 misc/args.c:25: /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: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 misc/args.c:25: /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: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 misc/args.c:25: /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: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 misc/args.c:25: /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: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 misc/args.c:25: /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: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 misc/args.c:25: /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:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:25: /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 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); ^~~~~~~~~~~ Compiling misc/strio.c ... 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:265: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:64: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:78: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:99: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:115: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:133: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:265: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/strutil.c ... In file included from misc/strio.c:5: 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:5: /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:5: 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:5: /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:5: 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:5: /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:5: 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:5: /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:5: 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:5: /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:5: 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:5: /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:5: 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:5: /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:5: 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:5: /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:5: 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:5: /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:5: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:5: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling texmap/ntmap.c ... Compiling texmap/scanline.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 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, ^~~~~~~~~~~ Compiling main/net_udp.c ... In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:477: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:535: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:551: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/vers_id.c ... In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:24, 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) ^~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:20: /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_send_game_info': main/net_udp.c:2169:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main/net_udp.c:2170:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' buf[len] = 0; len++; ^~~ main/net_udp.c: In function 'net_udp_more_game_options': main/net_udp.c:2866: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:2866: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:9: /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:906: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:906: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:9: /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:904: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:904: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:9: /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:920: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:9: /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:917: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:9: /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: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:9: /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:913: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:9: /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:909: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:9: /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: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:9: /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 d1x-rebirth ... scons: done building targets. + mv d1x-rebirth d1x-rebirth-shareware-gl + scons -c scons: Reading SConscript files ... D1X-Rebirth: compiling on *NIX ===== D1X-Rebirth v0.58.1 ===== D1X-Rebirth: LittleEndian machine detected D1X-Rebirth: building with OpenGL D1X-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/poly.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 main/ai.o Removed main/aipath.o Removed main/automap.o Removed main/bm.o Removed main/bmread.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/custom.o Removed main/digiobj.o Removed main/dumpmine.o Removed main/effects.o Removed main/endlevel.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/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/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/slew.o Removed main/snddecom.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/dl_list.o Removed misc/error.o Removed misc/hash.o Removed misc/hmp.o Removed misc/ignorecase.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. + scons -j16 sharepath=/usr/share/games/descent sdlmixer=1 PREFIX=/usr/src/tmp/d1x-rebirth-buildroot/usr scons: Reading SConscript files ... D1X-Rebirth: compiling on *NIX ===== D1X-Rebirth v0.58.1 ===== D1X-Rebirth: LittleEndian machine detected D1X-Rebirth: building with OpenGL D1X-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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.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/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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/gamefont.h:25, from 2d/font.c:35: /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:998:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, file_id, 4, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1011:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, font_data, 1, datasize); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1052:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile,palette,3,256); //read the palette ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 2d/pixel.c ... In file included from 2d/palette.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 2d/palette.c:23: /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: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 2d/palette.c:23: /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: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 2d/palette.c:23: /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: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 2d/palette.c:23: /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: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 2d/palette.c:23: /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: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 2d/palette.c:23: /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: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 2d/palette.c:23: /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: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 2d/palette.c:23: /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: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 2d/palette.c:23: /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:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:23: /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:72: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:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/palette.c:73: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:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 2d/poly.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:265: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:72: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:76: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 'bald_guy_load': 2d/pcx.c:97:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(PCXfile, &xor_value, 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:104:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(PCXfile, bguy_data1, 1, fsize); ^~~~~~~~~~~ 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_read_bitmap': 2d/pcx.c:221:5: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read( PCXfile, &data, 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, ^~~~~~~~~~~ 2d/pcx.c:227:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read( PCXfile, &data, 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, ^~~~~~~~~~~ 2d/pcx.c:243:5: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read( PCXfile, &data, 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, ^~~~~~~~~~~ 2d/pcx.c:249:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read( PCXfile, &data, 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, ^~~~~~~~~~~ 2d/pcx.c:267:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read( PCXfile, &data, 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, ^~~~~~~~~~~ 2d/pcx.c:269:5: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(PCXfile, palette,768, 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 'pcx_write_bitmap': 2d/pcx.c:308: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:323: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:333: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/rect.c ... Compiling 2d/rle.c ... 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 ... In file included from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.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/robot.h:11, from main/polyobj.h:30, from 3d/interp.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:11, from main/polyobj.h:30, from 3d/interp.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 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:265: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:1074: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:1075: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:265: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:265: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/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/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:265: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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, 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 main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, 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: 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 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:265: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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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:265: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.h:25, from main/player.h:28, 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/key.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, ^~~~~~~~~~~ Compiling arch/sdl/mouse.c ... 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:265: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:175: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:180: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:189: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:197: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/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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:190: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:190:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d A%d", i + 1, j + 1); ^~~~~~~~~ arch/sdl/joy.c:190: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:196: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:196:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d B%d", i + 1, j + 1); ^~~~~~~~~ arch/sdl/joy.c:196: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: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, 0202); ^~ 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, 0202); ^~~~~~~~~~~ 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, 0177); ^~ 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, 0177); ^~~~~~~~~~~ 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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': 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, 0200); ^~ include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ 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, 0200); ^~~~~~~~~~~ arch/sdl/joy.c:208:19: note: directive argument in the range [1, 5] In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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 /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:210: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:210: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:210: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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, 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 main/ai.c ... Compiling main/aipath.c ... In file included from iff/iff.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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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: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 iff/iff.c:32: /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:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:32: /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:172: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:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ iff/iff.c:208: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:32: /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:749: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:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ iff/iff.c:752: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:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ Compiling main/automap.c ... In file included from main/game.h:23, from main/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.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/ai.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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: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/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, ^~~~~~~~~~~ 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:265: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/bm.c ... Compiling main/bmread.c ... In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:24, 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/cntrlcen.c ... In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.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 main/bm.h:24, from main/bm.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 main/bm.h:24, from main/bm.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 main/bm.h:24, from main/bm.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 main/bm.h:24, from main/bm.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 main/bm.h:24, from main/bm.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 main/bm.h:24, from main/bm.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 main/bm.h:24, from main/bm.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 main/bm.h:24, from main/bm.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 main/bm.h:24, from main/bm.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 main/bm.h:24, from main/bm.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 main/bm.h:24, from main/bm.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 main/bm.h:24, from main/bm.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 main/bm.h:24, from main/bm.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 main/bm.h:24, from main/bm.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 main/bm.h:24, from main/bm.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 main/bm.h:24, from main/bm.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 main/bm.h:24, from main/bm.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 main/bm.h:24, from main/bm.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/ai.c: In function 'process_awareness_events': main/ai.c:2962:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i=0; i<=Highest_segment_index; i++) ^~~ main/ai.c:2965:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for (i=0; imodel_data, pm->model_data_size, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/custom.c:8: /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/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/credits.c: In function 'credits_show': In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.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/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/credits.c:221: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:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/fireball.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:265: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/fuelcen.c ... In file included from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.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 include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.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/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:80, from main/endlevel.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/fvi.c ... In file included from main/segment.h:23, from main/object.h:25, from main/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.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/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/game.c ... main/fireball.c: In function 'object_create_explosion_sub': main/fireball.c:146: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:147: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:345: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); ^~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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:80, from main/fvi.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/fvi.h:80, from main/fvi.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:80, from main/fvi.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); ^~~~~~~~~~~ Compiling main/gamecntl.c ... In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.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:80, from main/fvi.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/fvi.h:80, from main/fvi.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:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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/fvi.h:80, from main/fvi.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:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:80, from main/fvi.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: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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.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/fuelcen.h:23, from main/fuelcen.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gamefont.c ... Compiling main/gamemine.c ... Compiling main/gamerend.c ... main/fuelcen.c: In function 'matcen_info_read_n_swap': main/fuelcen.c:701:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, mi, sizeof(matcen_info), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: /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:742: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: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/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:265: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, ^~~~~~~~~~~ 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:265: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/piggy.h:23, from main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.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 main/gamefont.h:25, from main/gamefont.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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/gamefont.h:25, from main/gamefont.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/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:265: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: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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.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/gamemine.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gameseg.c ... In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: 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:36: /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:36: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:36: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gameseq.c ... Compiling main/gauges.c ... main/gamesave.c: In function 'load_game_data': main/gamesave.c:788: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:36: /usr/include/physfs.h: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/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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, ^~~~~~~~~~~ Compiling main/hostage.c ... main/gameseg.c: In function 'trace_segs': main/gameseg.c:728:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (sidenum = 0, bit = 1; sidenum < 6; sidenum++, bit <<= 1) ^~~ main/gameseg.c:735:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if (biggest_side == -1) ^~ In file included from main/game.h:23, from main/gauges.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/gauges.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: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/gauges.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: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/gauges.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: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/gauges.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: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/gauges.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/gauges.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/gauges.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/gauges.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/gauges.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/gauges.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/gauges.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/gauges.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/gauges.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:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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: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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.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/gameseq.c:33: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/hud.c ... main/gauges.c: In function 'hud_show_weapons_mode': main/gauges.c:1054:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main/gauges.c:1056:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' break; ^~~~~ Compiling main/inferno.c ... In file included from main/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.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/segment.h:23, from main/object.h:25, from main/hostage.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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: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/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:265: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/kconfig.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:265: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 ... 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:265: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/laser.c ... Compiling main/lighting.c ... 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:265: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: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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.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/laser.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:24: /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/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:265: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/mission.c ... main/laser.c: In function 'do_laser_firing_player': main/laser.c:1126:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (plp->energy < 0) ^~ main/laser.c:1129:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ammo_used > plp->primary_ammo[Primary_weapon]) ^~ 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:265: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, ^~~~~~~~~~~ Compiling main/morph.c ... Compiling main/multi.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) ^~ Compiling main/multibot.c ... 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:265: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, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, 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/mission.c: In function 'add_missions_to_list': main/mission.c:378:3: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if (PHYSFS_isDirectory(path)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/newdemo.c ... In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/object.h:25, from main/morph.h:25, from main/morph.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/morph.h:25, from main/morph.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:25, from main/morph.c:27: /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:1309: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:1331: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:1434: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:1445: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:1517: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:1533: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:1536: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) ^~~~~~~~~~~~~~~~~~~~~~ Compiling main/newmenu.c ... In file included from main/game.h:23, from main/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.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/multibot.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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/multibot.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.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/multi.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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: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/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE16': 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); ^~~~~~~~~~~ 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, ^~~~~~~~~~~ Compiling main/object.c ... 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/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/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 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 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/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/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': In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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, ^~~~~~~~~~~ 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:265: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/paging.c ... main/newdemo.c: In function 'newdemo_read': main/newdemo.c:241: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/multi.c: In function 'multi_process_data': main/newdemo.c:268:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] num_written = PHYSFS_write(outfile, buffer, elsize, nelem); ^~~~~~~~~~~ main/multi.c:3739:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_position(buf); break; ^~ 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:3739: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:3741:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_reappear(buf); break; ^~ main/multi.c:3741: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:3743:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_fire(buf); break; ^~ main/multi.c:3743: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:3747:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_remobj(buf); break; ^~ main/multi.c:3747: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:3750:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_player_explode(buf); break; ^~ main/multi.c:3750: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:3752:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_message(buf); break; ^~ main/multi.c:3752: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:3754:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_quit(buf); break; ^~ main/multi.c:3754: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:3758:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_controlcen_destroy(buf); break; ^~ main/multi.c:3758: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:3760:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_escape(buf); break; ^~ main/multi.c:3760: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:3764:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_cloak(buf); break; ^~ main/multi.c:3764: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:3766:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_decloak(buf); break; ^~ main/multi.c:3766: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:3768:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_door_open(buf); break; ^~ main/multi.c:3768: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:3770:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_explosion(buf); break; ^~ main/multi.c:3770: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:3772:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_controlcen_fire(buf); break; ^~ main/multi.c:3772: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:3774:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_powerup(buf); break; ^~ main/multi.c:3774: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:3776:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_play_sound(buf); break; ^~ main/multi.c:3776: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:3778:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_claim_robot(buf); break; ^~ main/multi.c:3778: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:3780:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_position(buf); break; ^~ main/multi.c:3780: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:3782:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_explode(buf); break; ^~ main/multi.c:3782: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:3784:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_release_robot(buf); break; ^~ main/multi.c:3784: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:3786:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_fire(buf); break; ^~ main/multi.c:3786: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:3788:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_score(buf); break; ^~ main/multi.c:3788: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:3790:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_robot(buf); break; ^~ main/multi.c:3790: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:3792:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_trigger(buf); break; ^~ main/multi.c:3792: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:3794:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_boss_actions(buf); break; ^~ main/multi.c:3794: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:3796:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_robot_powerups(buf); break; ^~ main/multi.c:3796: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:3798:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_hostage_door_status(buf); break; ^~ main/multi.c:3798: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:3800:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_save_game(buf); break; ^~ main/multi.c:3800: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:3802:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_restore_game(buf); break; ^~ main/multi.c:3802: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:3804:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_powcap_update(buf); break; ^~ main/multi.c:3804: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:3806:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_heartbeat (buf); break; ^~ main/multi.c:3806: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:3808:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_kill_goal_counts (buf); break; ^~ main/multi.c:3808: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:3810:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( !Endlevel_sequence ) multi_do_bounty( buf ); break; ^~ main/multi.c:3810: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 ... 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:265: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/newdemo.c: In function 'newdemo_swap_endian': main/newdemo.c:3453: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; ^~~~~~~~~~~~~~~~~~~ Compiling main/piggy.c ... In file included from main/segment.h:23, from main/physics.c:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:20: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/player.c ... In file included from main/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.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/segment.h:23, from main/paging.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:26: /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:984:26: warning: iteration 350 invokes undefined behavior [-Waggressive-loop-optimizations] if ((sig == Objects[i].signature) && (Objects[i].type != OBJ_NONE)) ~~~~~~~~~~^~~~~~~~~~ main/object.c:982:3: note: within this loop for (i = 0; i <= MAX_OBJECTS; i++) ^~~ Compiling main/playsave.c ... In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.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/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:31: /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:117: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:31: /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:131: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: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_read_sounds': main/piggy.c:520:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(array, Sounds, MAX_SOUNDS, 1) != 1) // make the 'Sounds' index array match with the sounds we're about to read in ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c:522:5: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT,"Warning: Can't read Sounds/sounds.array: %s", PHYSFS_getLastError()); ^~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/piggy.c:568:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, lastbuf, SoundCompressed[i], 1 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c:575:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_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: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_bitmap_page_in': main/piggy.c:663:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, &Piggy_bitmap_cache_data[Piggy_bitmap_cache_next], 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:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c:682: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:31: /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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, 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 include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, 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:28, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, 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:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/powerup.c ... main/playsave.c: In function 'read_player_file': main/playsave.c:804:3: 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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:809:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file,saved_games,sizeof(saved_games),1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:820: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:832: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:834: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:837: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:840:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &PlayerCfg.ControlType, sizeof(ubyte), 1 )!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:842: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:875: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /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:976: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:982:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write( file, saved_games,sizeof(saved_games),1) != 1) { ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ Compiling main/render.c ... main/playsave.c:989: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1009: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1011: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1014: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1016: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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1019:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, "0", sizeof(ubyte), 1) != 1) // Skip obsolete Cyberman map field ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1025:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write( file, &PlayerCfg.ControlType, sizeof(ubyte), 1 )!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1027:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] else 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/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/piggy.c: In function 'properties_init': main/piggy.c:412: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 & 63 ); ^~ main/piggy.c:412:24: note: directive argument in the range [0, 63] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & 63 ); ^~~~~~~ In file included from /usr/include/stdio.h:862, from main/piggy.c:20: /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:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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/robot.h:11, from main/polyobj.h:30, from main/polyobj.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:11, from main/polyobj.h:30, from main/polyobj.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:11, from main/polyobj.h:30, from main/polyobj.c:30: /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': Compiling main/robot.c ... main/polyobj.c:284: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:11, from main/polyobj.h:30, from main/polyobj.c:30: /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:445: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:11, from main/polyobj.h:30, from main/polyobj.c:30: /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:757: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:11, from main/polyobj.h:30, from main/polyobj.c:30: /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:780: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:11, from main/polyobj.h:30, from main/polyobj.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.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/powerup.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/scores.c ... Compiling main/slew.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:265: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, ^~~~~~~~~~~ main/newdemo.c: In function 'newdemo_stop_recording': main/newdemo.c:3214: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:3214: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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:265: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_mine': main/render.c:1878:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Viewer->type!=OBJ_ROBOT) ^~ main/render.c:1881: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:1992: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: In function 'state_save_old_game': main/state.c:685: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:689:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, 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:693: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:726: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:735: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:740:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, 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:745: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:749:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, 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:751:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, 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:755:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, 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:758:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &sg_player, 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:762:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_byte, 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:764:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_byte, 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:768:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, 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:772: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:773:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &cheats.turbo, 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:774: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:775: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:776:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &temp_int, sizeof(int), 1 ); // was Ugly_robot_cheat ^~~~~~~~~~~~ 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:777:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &temp_int, sizeof(int), 1 ); // Ugly_robot_texture ^~~~~~~~~~~~ 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:778:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &cheats.ghostphysics, 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:779:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &temp_int, 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: In function 'state_save_all_sub': main/state.c:842: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:846: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:851: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:852: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:856: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:891: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:900: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:905: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:910: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:913: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:914: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:919: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:928: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:933: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:934: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:937: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:940: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:941:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.turbo, 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:965: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:973: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:979: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:980: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:984: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:985: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:988: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:989: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:996: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:997: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:998: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:1003: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:1004:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Countdown_seconds_left, 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:1005: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:1006: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:1007: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:1008: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:1014:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Station[i], sizeof(FuelCenter), 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:1019: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:1020: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:1021: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:1022: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:1023: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:1031: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:1034: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:1036: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:1038: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:1039:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); // was Ugly_robot_cheat ^~~~~~~~~~~~ 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:1040:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); // was Ugly_robot_texture ^~~~~~~~~~~~ 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, &cheats.ghostphysics, 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, &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:1053: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:1056: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:1057: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:1058: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:1059: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:1060: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:1061: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:1062: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:1063: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:1064: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:1137: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:1145: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:1162: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:1171: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:1181: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:1222:2: 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:1231: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:1232: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:1263:4: 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:1274:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, obj_rw, sizeof(object_rw)-3, 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:1373: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:1376: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:1412: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:1463: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:1464: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:1466: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:1467: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:1468: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:1469: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:1470: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:1514: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:1522: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:1536: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 ... main/switch.c: In function 'trigger_read_n_swap': main/switch.c:289:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, t, sizeof(trigger), n); ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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:265: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:219: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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.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/piggy.h:23, from main/gamefont.h:25, from main/titles.c:38: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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/gamefont.h:25, from main/titles.c:38: /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:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.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/object.h:25, from main/vclip.h:24, from main/vclip.c:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:24, from main/vclip.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/titles.c: In function 'load_screen_text': main/titles.c:364:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(tfile, *buf, 1, len); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from main/titles.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/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.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/segment.h:23, from main/wall.h:24, from main/wall.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:26: /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:20: 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:20: /usr/include/physfs.h: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:20: 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:20: /usr/include/physfs.h: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:20: 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:20: /usr/include/physfs.h: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:20: 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:20: /usr/include/physfs.h: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:20: 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:20: /usr/include/physfs.h: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:20: 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:20: /usr/include/physfs.h: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:20: 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:20: /usr/include/physfs.h: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:20: 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:20: /usr/include/physfs.h: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:20: 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:20: /usr/include/physfs.h: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:20: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:20: /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:1050:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, WallAnims[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:26: /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 'wall_read_n_swap': main/wall.c:1122: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:26: /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:1177: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:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/weapon.c: In function 'player_has_weapon': main/weapon.c:74:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 0 : if((Players[Player_num].laser_level != 0)||(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:76:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:77:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 1 : if((Players[Player_num].laser_level != 1)||(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:79:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:80:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 2 : if((Players[Player_num].laser_level != 2)||(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:82:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:83:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 3 : if((Players[Player_num].laser_level != 3)||(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:85:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:86:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 4 : if((Players[Player_num].laser_level != 0)||!(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:88:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:89:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 5 : if((Players[Player_num].laser_level != 1)||!(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:91:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:92:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 6 : if((Players[Player_num].laser_level != 2)||!(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:94:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:95:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 7 : if((Players[Player_num].laser_level != 3)||!(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:97:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ Compiling mem/mem.c ... Compiling maths/vecmat.c ... Compiling misc/args.c ... Compiling misc/dl_list.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:265: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/error.c ... Compiling misc/hash.c ... In file included from misc/args.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 misc/args.c:25: /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: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 misc/args.c:25: /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: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 misc/args.c:25: /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: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 misc/args.c:25: /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: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 misc/args.c:25: /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: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 misc/args.c:25: /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: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 misc/args.c:25: /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: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 misc/args.c:25: /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: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 misc/args.c:25: /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:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:25: /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 ... Compiling misc/physfsx.c ... Compiling misc/strio.c ... Compiling misc/strutil.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': In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE16': 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, ^~~~~~~~~~~~ include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_writeString': 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, ^~~~~~~~~~~ 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 misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE32': 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, ^~~~~~~~~~~~ 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 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 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/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_fgetc': 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, ^~~~~~~~~~~ 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 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 include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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, ^~~~~~~~~~~ misc/hmp.c: In function 'hmp_open': misc/hmp.c:64: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:78: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:99: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:115: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:133: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 texmap/ntmap.c ... In file included from misc/strio.c:5: 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:5: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling texmap/scanline.c ... In file included from misc/strio.c:5: 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:5: /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:5: 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:5: /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:5: 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:5: /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:5: 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:5: /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:5: 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:5: /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:5: 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:5: /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:5: 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:5: /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:5: 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:5: /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:5: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:5: /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:265: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) ^~~~~~~~~~~~~~~~~~~~~~ Compiling main/net_udp.c ... 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:477: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:535: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:551: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/vers_id.c ... In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, 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:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:24, 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) ^~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: 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:20: /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:20: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265: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:20: /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_send_game_info': main/net_udp.c:2169:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main/net_udp.c:2170:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' buf[len] = 0; len++; ^~~ main/net_udp.c: In function 'net_udp_more_game_options': main/net_udp.c:2866: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:2866: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:9: /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:906: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:906: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:9: /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:904: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:904: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:9: /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:920: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:9: /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:917: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:9: /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: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:9: /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:913: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:9: /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:909: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:9: /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: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:9: /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 d1x-rebirth ... scons: done building targets. + mv d1x-rebirth d1x-rebirth-gl + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.3730 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/d1x-rebirth-buildroot + : + /bin/rm -rf -- /usr/src/tmp/d1x-rebirth-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd d1x-rebirth_v0.58.1-src + install -dm 755 /usr/src/tmp/d1x-rebirth-buildroot/usr/games/ + install -m 755 d1x-rebirth-gl /usr/src/tmp/d1x-rebirth-buildroot/usr/games/ + install -m 755 d1x-rebirth-shareware-gl /usr/src/tmp/d1x-rebirth-buildroot/usr/games/ + install -m 755 d1x-rebirth-sdl /usr/src/tmp/d1x-rebirth-buildroot/usr/games/ + install -m 755 d1x-rebirth-shareware-sdl /usr/src/tmp/d1x-rebirth-buildroot/usr/games/ + install -dm 755 /usr/src/tmp/d1x-rebirth-buildroot/usr/share/games/descent + install -dm 755 /usr/src/tmp/d1x-rebirth-buildroot/usr/share/games/descent-shareware + install -dm 755 /usr/src/tmp/d1x-rebirth-buildroot/usr/share/games/descent/missions + install -dm 755 /usr/src/tmp/d1x-rebirth-buildroot/usr/share/pixmaps + install -m 644 /usr/src/RPM/SOURCES/d1x-rebirth.png /usr/src/tmp/d1x-rebirth-buildroot/usr/share/pixmaps + install -dm 755 /usr/src/tmp/d1x-rebirth-buildroot/usr/share/applications + cat + cat + sed s/rebirth/rebirth-shareware/g d1x-rebirth-gl.desktop + sed s/rebirth/rebirth-shareware/g d1x-rebirth-sdl.desktop + install -m 644 d1x-rebirth-sdl.desktop /usr/src/tmp/d1x-rebirth-buildroot/usr/share/applications + install -m 644 d1x-rebirth-gl.desktop /usr/src/tmp/d1x-rebirth-buildroot/usr/share/applications + install -m 644 d1x-rebirth-shareware-gl.desktop /usr/src/tmp/d1x-rebirth-buildroot/usr/share/applications + install -m 644 d1x-rebirth-shareware-sdl.desktop /usr/src/tmp/d1x-rebirth-buildroot/usr/share/applications + install /usr/src/RPM/SOURCES/d1xrdata.zip /usr/src/tmp/d1x-rebirth-buildroot/usr/share/games/descent/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/d1x-rebirth-buildroot (auto) Verifying and fixing files in /usr/src/tmp/d1x-rebirth-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) /usr/share/applications/d1x-rebirth-shareware-sdl.desktop: performed minor cleanup: 2d1 < Encoding=UTF-8 /usr/share/applications/d1x-rebirth-shareware-gl.desktop: performed minor cleanup: 2d1 < Encoding=UTF-8 /usr/share/applications/d1x-rebirth-gl.desktop: performed minor cleanup: 2d1 < Encoding=UTF-8 /usr/share/applications/d1x-rebirth-sdl.desktop: performed minor cleanup: 2d1 < Encoding=UTF-8 Checking contents of files in /usr/src/tmp/d1x-rebirth-buildroot/ (default) Compressing files in /usr/src/tmp/d1x-rebirth-buildroot (auto) 056-debuginfo.brp: WARNING: debuginfo without debug sources. Verifying ELF objects in /usr/src/tmp/d1x-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: d1x-rebirth-0.58.1-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.44149 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd d1x-rebirth_v0.58.1-src + DOCDIR=/usr/src/tmp/d1x-rebirth-buildroot/usr/share/doc/d1x-rebirth-0.58.1 + export DOCDIR + rm -rf /usr/src/tmp/d1x-rebirth-buildroot/usr/share/doc/d1x-rebirth-0.58.1 + /bin/mkdir -p /usr/src/tmp/d1x-rebirth-buildroot/usr/share/doc/d1x-rebirth-0.58.1 + cp -prL CHANGELOG.txt COPYING.txt INSTALL.txt README.txt RELEASE-NOTES.txt d1x-Info.plist d1xgl-Info.plist d1x.ini /usr/src/tmp/d1x-rebirth-buildroot/usr/share/doc/d1x-rebirth-0.58.1 + chmod -R go-w /usr/src/tmp/d1x-rebirth-buildroot/usr/share/doc/d1x-rebirth-0.58.1 + chmod -R a+rX /usr/src/tmp/d1x-rebirth-buildroot/usr/share/doc/d1x-rebirth-0.58.1 + exit 0 warning: File listed twice: /usr/share/games/descent/missions Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.SczMU3 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.VShDkM find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Obsoletes: d1x-common Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cerDdy Processing files: d1x-rebirth-sdl-0.58.1-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.382 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd d1x-rebirth_v0.58.1-src + DOCDIR=/usr/src/tmp/d1x-rebirth-buildroot/usr/share/doc/d1x-rebirth-sdl-0.58.1 + export DOCDIR + rm -rf /usr/src/tmp/d1x-rebirth-buildroot/usr/share/doc/d1x-rebirth-sdl-0.58.1 + /bin/mkdir -p /usr/src/tmp/d1x-rebirth-buildroot/usr/share/doc/d1x-rebirth-sdl-0.58.1 + cp -prL COPYING.txt /usr/src/tmp/d1x-rebirth-buildroot/usr/share/doc/d1x-rebirth-sdl-0.58.1 + chmod -R go-w /usr/src/tmp/d1x-rebirth-buildroot/usr/share/doc/d1x-rebirth-sdl-0.58.1 + chmod -R a+rX /usr/src/tmp/d1x-rebirth-buildroot/usr/share/doc/d1x-rebirth-sdl-0.58.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RXJt0n 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.wRx9gh find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: d1x-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:lfG0r1WNvdNtSOVAtsqd7wwNiLYf7j3rZ8FxmVmCZ0jye9OfEZ1ZqCvaZIPju4LU0EAYFhZqypTXrw41jTYa2SJqp1noaqQVwZcCGjZ0IbENiZ78J0XY0, libSDL_mixer-1.2.so.0()(64bit) >= set:kfkileXZwtZ1uIUyGL3l2OOAvoSCnNGrcyylZEY2gGgEyZ9KmtZ4u, 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:ke1MDmIaXfJs3Zw6Z4CuXI6EzQffPT4ihILyQ06ggClu7SrnPeDuXgIZBJO8Xmcp7QoXr56A4l8ZsojDWIg69EgDCfCU0, libpthread.so.0(GLIBC_2.2.5)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Conflicts: d1x-rebirth-gl Obsoletes: d1x-sdl-full, d1x-sdl-shareware Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NQuB0d Creating d1x-rebirth-sdl-debuginfo package Processing files: d1x-rebirth-gl-0.58.1-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.40521 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd d1x-rebirth_v0.58.1-src + DOCDIR=/usr/src/tmp/d1x-rebirth-buildroot/usr/share/doc/d1x-rebirth-gl-0.58.1 + export DOCDIR + rm -rf /usr/src/tmp/d1x-rebirth-buildroot/usr/share/doc/d1x-rebirth-gl-0.58.1 + /bin/mkdir -p /usr/src/tmp/d1x-rebirth-buildroot/usr/share/doc/d1x-rebirth-gl-0.58.1 + cp -prL COPYING.txt /usr/src/tmp/d1x-rebirth-buildroot/usr/share/doc/d1x-rebirth-gl-0.58.1 + chmod -R go-w /usr/src/tmp/d1x-rebirth-buildroot/usr/share/doc/d1x-rebirth-gl-0.58.1 + chmod -R a+rX /usr/src/tmp/d1x-rebirth-buildroot/usr/share/doc/d1x-rebirth-gl-0.58.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.k2hlDe 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.xlqCJi find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: d1x-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:lfG0r1WNvdNtSOVAtsqd7wwNiLYf7j3rZ8FxmVmCZ0jye9OfEZ1ZqCvaZIPju4LU0EAYFhZqypTXrw41jTYa2SJqp1noaqQVwZcCGjZ0IbENiZ78J0XY0, libSDL_mixer-1.2.so.0()(64bit) >= set:kfkileXZwtZ1uIUyGL3l2OOAvoSCnNGrcyylZEY2gGgEyZ9KmtZ4u, 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:ke1MDmIaXfJs3Zw6Z4CuXI6EzQffPT4ihILyQ06ggClu7SrnPeDuXgIZBJO8Xmcp7QoXr56A4l8ZsojDWIg69EgDCfCU0, libpthread.so.0(GLIBC_2.2.5)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Conflicts: d1x-rebirth-sdl Obsoletes: d1x-gl-full, d1x-gl-shareware Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.muT1hq Creating d1x-rebirth-gl-debuginfo package Processing files: d1x-rebirth-sdl-debuginfo-0.58.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JC5HjB find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.oEsENP find-requires: running scripts (debuginfo) Requires: d1x-rebirth-sdl = 0.58.1-alt1, /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: d1x-rebirth-gl-debuginfo-0.58.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.n0VSK7 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Yvxjat find-requires: running scripts (debuginfo) Requires: d1x-rebirth-gl = 0.58.1-alt1, /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 d1x-rebirth-sdl a strict dependency on d1x-rebirth Adding to d1x-rebirth-gl a strict dependency on d1x-rebirth Wrote: /usr/src/RPM/RPMS/x86_64/d1x-rebirth-0.58.1-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/d1x-rebirth-sdl-0.58.1-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/d1x-rebirth-gl-0.58.1-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/d1x-rebirth-sdl-debuginfo-0.58.1-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/d1x-rebirth-gl-debuginfo-0.58.1-alt1.x86_64.rpm (w2.lzdio) 78.69user 11.62system 0:35.19elapsed 256%CPU (0avgtext+0avgdata 61584maxresident)k 0inputs+0outputs (0major+3682576minor)pagefaults 0swaps 87.29user 15.21system 0:50.00elapsed 204%CPU (0avgtext+0avgdata 120476maxresident)k 0inputs+0outputs (34392major+4076120minor)pagefaults 0swaps --- d1x-rebirth-0.58.1-alt1.x86_64.rpm.repo 2013-08-26 15:14:43.000000000 +0000 +++ d1x-rebirth-0.58.1-alt1.x86_64.rpm.hasher 2021-10-24 04:37:17.492684647 +0000 @@ -31,2 +31,2 @@ File: /usr/share/pixmaps/d1x-rebirth.png 100644 root:root a4e9c079a2cff197939ebade60de129c -RPMIdentity: 138bb80605ddaa3849a381880d69870c339ca4969ea05d6b34e66ce887a48c9a575d853f3f99258a86ceb9d11f7b5c1041ef65c0694ac3dcaa74ac1924998056 +RPMIdentity: f5538685fbf626c760256d5bb5c35082a765365f84916c16bf2a0a24ac6c2945d9bf12dcfa38286b0c7d54592b65a88f75511fd4d8e2c0463365f683a75b534f --- d1x-rebirth-gl-0.58.1-alt1.x86_64.rpm.repo 2013-08-26 15:14:43.000000000 +0000 +++ d1x-rebirth-gl-0.58.1-alt1.x86_64.rpm.hasher 2021-10-24 04:37:17.550685505 +0000 @@ -6,4 +6,5 @@ /usr/share/doc/d1x-rebirth-gl-0.58.1/COPYING.txt 100644 root:root +Requires: d1x-rebirth = 0.58.1 Requires: /lib64/ld-linux-x86-64.so.2 -Requires: libGL.so.1()(64bit) >= set:oinoUZ0Lj2BnFPJ0gxAvNcpzihv35DjNzk2awzaymTazqIHf8ZCz7LJWLDXxQPsDC5huy55uWS8KFp43zBFJ0nzy5MRw9q8xWvLSmhKZo8uLvVIeNmynEtZ0 +Requires: libGL.so.1()(64bit) >= set:pjdsnYMZvypQ129NKk2aUEyWLDbZCH7LRhLbZcQedbyYWZLu4TEBq9RvK0K7cN39QZnfJJ29TOZleHjsMBIm7iOHQVm0qewi2p4rPZsE6g54xGMwlKXc31amO4QUFtZ0 Requires: rpmlib(SetVersions) @@ -11,3 +12,3 @@ Requires: libSDL-1.2.so.0()(64bit) >= set:lfG0r1WNvdNtSOVAtsqd7wwNiLYf7j3rZ8FxmVmCZ0jye9OfEZ1ZqCvaZIPju4LU0EAYFhZqypTXrw41jTYa2SJqp1noaqQVwZcCGjZ0IbENiZ78J0XY0 -Requires: libSDL_mixer-1.2.so.0()(64bit) >= set:lgaFOJ3aHhZ6l900k7MjukZcl1FkZ56dZwCJVlYW67hNGvObAkxEyJjn0 +Requires: libSDL_mixer-1.2.so.0()(64bit) >= set:kfkileXZwtZ1uIUyGL3l2OOAvoSCnNGrcyylZEY2gGgEyZ9KmtZ4u Requires: libc.so.6(GLIBC_2.11)(64bit) @@ -29,4 +30,4 @@ Conflicts: d1x-rebirth-sdl -File: /usr/games/d1x-rebirth-gl 100755 root:root 8721a3723298530d0efc398d5a6fb61f -File: /usr/games/d1x-rebirth-shareware-gl 100755 root:root 99b1877ab0b0ccfc37a60b8ea5da9731 +File: /usr/games/d1x-rebirth-gl 100755 root:root 32510431604ad8e97b27aa18140e7cfb +File: /usr/games/d1x-rebirth-shareware-gl 100755 root:root 91a0312a9fb473df6a23deb134af62e1 File: /usr/share/applications/d1x-rebirth-gl.desktop 100644 root:root d33b70fe52a0c57048a08063abeee230 @@ -35,2 +36,2 @@ File: /usr/share/doc/d1x-rebirth-gl-0.58.1/COPYING.txt 100644 root:root 791feccbe249312ffdd709cb5f8d3c47 -RPMIdentity: 5d7bd9b831eac784d7492c5201984d9e1896239c0c15ce64986e2e0af2437b081b09d8d7e473eea7a68709cbd9df55a830c47e9b5294cf609180a6b7a8506aae +RPMIdentity: 37e1fe1dbf379875829b01b7eb08217855deb8a0324df84b3d822a4c4055759a743bfb416962fe408937555c7c5769a9a752e60c84a745e74d501d1ec867a4ae --- d1x-rebirth-gl-debuginfo-0.58.1-alt1.x86_64.rpm.repo 2013-08-26 15:14:43.000000000 +0000 +++ d1x-rebirth-gl-debuginfo-0.58.1-alt1.x86_64.rpm.hasher 2021-10-24 04:37:17.606686334 +0000 @@ -1,7 +1,4 @@ -/usr/lib/debug/.build-id/3a 40755 root:root -/usr/lib/debug/.build-id/3a/3bb7c961ab68c8e87f2d10c8439cba1c8ba5ff 120777 root:root ../../../../games/d1x-rebirth-gl -/usr/lib/debug/.build-id/3a/3bb7c961ab68c8e87f2d10c8439cba1c8ba5ff.debug 120777 root:root ../../usr/games/d1x-rebirth-gl.debug -/usr/lib/debug/.build-id/8b 40755 root:root -/usr/lib/debug/.build-id/8b/d4242dd901353590af2872699737984bdb54f3 120777 root:root ../../../../games/d1x-rebirth-shareware-gl -/usr/lib/debug/.build-id/8b/d4242dd901353590af2872699737984bdb54f3.debug 120777 root:root ../../usr/games/d1x-rebirth-shareware-gl.debug +/usr/lib/debug/.build-id/15 40755 root:root +/usr/lib/debug/.build-id/15/89080b3c42edb046288cdc690a77eeb87acb1a 120777 root:root ../../../../games/d1x-rebirth-shareware-gl +/usr/lib/debug/.build-id/15/89080b3c42edb046288cdc690a77eeb87acb1a.debug 120777 root:root ../../usr/games/d1x-rebirth-shareware-gl.debug /usr/lib/debug/usr/games/d1x-rebirth-gl.debug 100644 root:root @@ -20,10 +17,7 @@ Provides: d1x-rebirth-gl-debuginfo = 0.58.1-alt1 -File: /usr/lib/debug/.build-id/3a 40755 root:root -File: /usr/lib/debug/.build-id/3a/3bb7c961ab68c8e87f2d10c8439cba1c8ba5ff 120777 root:root ../../../../games/d1x-rebirth-gl -File: /usr/lib/debug/.build-id/3a/3bb7c961ab68c8e87f2d10c8439cba1c8ba5ff.debug 120777 root:root ../../usr/games/d1x-rebirth-gl.debug -File: /usr/lib/debug/.build-id/8b 40755 root:root -File: /usr/lib/debug/.build-id/8b/d4242dd901353590af2872699737984bdb54f3 120777 root:root ../../../../games/d1x-rebirth-shareware-gl -File: /usr/lib/debug/.build-id/8b/d4242dd901353590af2872699737984bdb54f3.debug 120777 root:root ../../usr/games/d1x-rebirth-shareware-gl.debug -File: /usr/lib/debug/usr/games/d1x-rebirth-gl.debug 100644 root:root 410ec8f0f44f28324340740be049cbe9 -File: /usr/lib/debug/usr/games/d1x-rebirth-shareware-gl.debug 100644 root:root 18ea0d779ff2eab48a57669627b390d0 -RPMIdentity: 573270ee4a698c6107081c7505927ffeb76296c1b65406c3cebdc2d720fbe822924fe80315b1aa5ec37902c2c3ba3bc67ff3c7c994a5240400e54c0a711ed831 +File: /usr/lib/debug/.build-id/15 40755 root:root +File: /usr/lib/debug/.build-id/15/89080b3c42edb046288cdc690a77eeb87acb1a 120777 root:root ../../../../games/d1x-rebirth-shareware-gl +File: /usr/lib/debug/.build-id/15/89080b3c42edb046288cdc690a77eeb87acb1a.debug 120777 root:root ../../usr/games/d1x-rebirth-shareware-gl.debug +File: /usr/lib/debug/usr/games/d1x-rebirth-gl.debug 100644 root:root 28eaba42b52be131b48bc794ea2bfd2a +File: /usr/lib/debug/usr/games/d1x-rebirth-shareware-gl.debug 100644 root:root 9e3f0bc4b2666a50558d9642c638a6e3 +RPMIdentity: 154f64821b5b5d085e7f6c06144f5ff248914b2dc06bdde4f013d5837ea3d015918162e4009e2cf8d3e906662f2ea6b655b5eb4b0a8fe2d2bebeaadeff93c202 --- d1x-rebirth-sdl-0.58.1-alt1.x86_64.rpm.repo 2013-08-26 15:14:43.000000000 +0000 +++ d1x-rebirth-sdl-0.58.1-alt1.x86_64.rpm.hasher 2021-10-24 04:37:17.666687222 +0000 @@ -6,4 +6,5 @@ /usr/share/doc/d1x-rebirth-sdl-0.58.1/COPYING.txt 100644 root:root +Requires: d1x-rebirth = 0.58.1 Requires: /lib64/ld-linux-x86-64.so.2 -Requires: libGL.so.1()(64bit) >= set:oinoUZ0Lj2BnFPJ0gxAvNcpzihv35DjNzk2awzaymTazqIHf8ZCz7LJWLDXxQPsDC5huy55uWS8KFp43zBFJ0nzy5MRw9q8xWvLSmhKZo8uLvVIeNmynEtZ0 +Requires: libGL.so.1()(64bit) >= set:pjdsnYMZvypQ129NKk2aUEyWLDbZCH7LRhLbZcQedbyYWZLu4TEBq9RvK0K7cN39QZnfJJ29TOZleHjsMBIm7iOHQVm0qewi2p4rPZsE6g54xGMwlKXc31amO4QUFtZ0 Requires: rpmlib(SetVersions) @@ -11,3 +12,3 @@ Requires: libSDL-1.2.so.0()(64bit) >= set:lfG0r1WNvdNtSOVAtsqd7wwNiLYf7j3rZ8FxmVmCZ0jye9OfEZ1ZqCvaZIPju4LU0EAYFhZqypTXrw41jTYa2SJqp1noaqQVwZcCGjZ0IbENiZ78J0XY0 -Requires: libSDL_mixer-1.2.so.0()(64bit) >= set:lgaFOJ3aHhZ6l900k7MjukZcl1FkZ56dZwCJVlYW67hNGvObAkxEyJjn0 +Requires: libSDL_mixer-1.2.so.0()(64bit) >= set:kfkileXZwtZ1uIUyGL3l2OOAvoSCnNGrcyylZEY2gGgEyZ9KmtZ4u Requires: libc.so.6(GLIBC_2.11)(64bit) @@ -29,4 +30,4 @@ Conflicts: d1x-rebirth-gl -File: /usr/games/d1x-rebirth-sdl 100755 root:root efab5eb119cadd58ceee9bc9b4df516a -File: /usr/games/d1x-rebirth-shareware-sdl 100755 root:root 0320061e44e900cb822cd9d2c6b5a418 +File: /usr/games/d1x-rebirth-sdl 100755 root:root d1cc29f0ca937536ef19231ff7f6a8dc +File: /usr/games/d1x-rebirth-shareware-sdl 100755 root:root 5753b00a5228bc00d0f855806f393d97 File: /usr/share/applications/d1x-rebirth-sdl.desktop 100644 root:root d99ad010c166da303b74beb134a729b3 @@ -35,2 +36,2 @@ File: /usr/share/doc/d1x-rebirth-sdl-0.58.1/COPYING.txt 100644 root:root 791feccbe249312ffdd709cb5f8d3c47 -RPMIdentity: 02246e9e30c973f6710b9aaaa6b44f511297d00ce5f817fcfac6f9894136884e1126c6b4efd76a7e4c805e6a17ae05524351ab97160e0502d62d964d74cf011a +RPMIdentity: c0680fb938be6c69957f2d4a16e0bc74dd66612b7435bfc9d0cda3e06ee4315ece0076b0b7b0331240183cb0bfbbd8e2971f1da31c9f99c47bc9d007f2ae7253 --- d1x-rebirth-sdl-debuginfo-0.58.1-alt1.x86_64.rpm.repo 2013-08-26 15:14:43.000000000 +0000 +++ d1x-rebirth-sdl-debuginfo-0.58.1-alt1.x86_64.rpm.hasher 2021-10-24 04:37:17.721688036 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/b8 40755 root:root -/usr/lib/debug/.build-id/b8/d99662e7210527a41d99a7f70e8d178b740755 120777 root:root ../../../../games/d1x-rebirth-sdl -/usr/lib/debug/.build-id/b8/d99662e7210527a41d99a7f70e8d178b740755.debug 120777 root:root ../../usr/games/d1x-rebirth-sdl.debug +/usr/lib/debug/.build-id/e9 40755 root:root +/usr/lib/debug/.build-id/e9/4a00dee593083ea525c48c3e7219e237f79582 120777 root:root ../../../../games/d1x-rebirth-sdl +/usr/lib/debug/.build-id/e9/4a00dee593083ea525c48c3e7219e237f79582.debug 120777 root:root ../../usr/games/d1x-rebirth-sdl.debug /usr/lib/debug/usr/games/d1x-rebirth-sdl.debug 100644 root:root @@ -17,7 +17,7 @@ Provides: d1x-rebirth-sdl-debuginfo = 0.58.1-alt1 -File: /usr/lib/debug/.build-id/b8 40755 root:root -File: /usr/lib/debug/.build-id/b8/d99662e7210527a41d99a7f70e8d178b740755 120777 root:root ../../../../games/d1x-rebirth-sdl -File: /usr/lib/debug/.build-id/b8/d99662e7210527a41d99a7f70e8d178b740755.debug 120777 root:root ../../usr/games/d1x-rebirth-sdl.debug -File: /usr/lib/debug/usr/games/d1x-rebirth-sdl.debug 100644 root:root 2f339b74e9933203f1ba00ed9978d665 -File: /usr/lib/debug/usr/games/d1x-rebirth-shareware-sdl.debug 100644 root:root 2f339b74e9933203f1ba00ed9978d665 -RPMIdentity: c4c7592107330486b6f5887ef537fa2aeedf46d5fa18003deaeff80cd2885fb9cdff0b599db79cb4e3d2128d5c972f81bd1143f3cd2baa62dd78db95deaac3f0 +File: /usr/lib/debug/.build-id/e9 40755 root:root +File: /usr/lib/debug/.build-id/e9/4a00dee593083ea525c48c3e7219e237f79582 120777 root:root ../../../../games/d1x-rebirth-sdl +File: /usr/lib/debug/.build-id/e9/4a00dee593083ea525c48c3e7219e237f79582.debug 120777 root:root ../../usr/games/d1x-rebirth-sdl.debug +File: /usr/lib/debug/usr/games/d1x-rebirth-sdl.debug 100644 root:root 28eaba42b52be131b48bc794ea2bfd2a +File: /usr/lib/debug/usr/games/d1x-rebirth-shareware-sdl.debug 100644 root:root 28eaba42b52be131b48bc794ea2bfd2a +RPMIdentity: eea5e6970cf998a23f8d2e6e03ff1295636804a23812ef69eecc26d1766da2e1029eaff37cdc22706b11c94552bb47779b113f6599f9c6c894262ab6ccf79920