<86>Jan 31 04:36:28 userdel[3119613]: delete user 'rooter' <86>Jan 31 04:36:28 userdel[3119613]: removed group 'rooter' owned by 'rooter' <86>Jan 31 04:36:28 userdel[3119613]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 31 04:36:28 groupadd[3119633]: group added to /etc/group: name=rooter, GID=642 <86>Jan 31 04:36:28 groupadd[3119633]: group added to /etc/gshadow: name=rooter <86>Jan 31 04:36:28 groupadd[3119633]: new group: name=rooter, GID=642 <86>Jan 31 04:36:28 useradd[3119646]: new user: name=rooter, UID=642, GID=642, home=/root, shell=/bin/bash <86>Jan 31 04:36:28 userdel[3119672]: delete user 'builder' <86>Jan 31 04:36:28 userdel[3119672]: removed group 'builder' owned by 'builder' <86>Jan 31 04:36:28 userdel[3119672]: removed shadow group 'builder' owned by 'builder' <86>Jan 31 04:36:28 groupadd[3119735]: group added to /etc/group: name=builder, GID=643 <86>Jan 31 04:36:28 groupadd[3119735]: group added to /etc/gshadow: name=builder <86>Jan 31 04:36:28 groupadd[3119735]: new group: name=builder, GID=643 <86>Jan 31 04:36:28 useradd[3119759]: new user: name=builder, UID=643, GID=643, home=/usr/src, shell=/bin/bash <13>Jan 31 04:36:33 rpmi: libogg-1.3.4-alt1 p9+249556.100.1.1 1586300644 installed <13>Jan 31 04:36:33 rpmi: libglvnd-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Jan 31 04:36:33 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed <13>Jan 31 04:36:33 rpmi: libflac8-1.3.3-alt1 p9+249557.100.1.1 1586301784 installed <13>Jan 31 04:36:33 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Jan 31 04:36:33 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Jan 31 04:36:33 rpmi: libwayland-server-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed <13>Jan 31 04:36:33 rpmi: libOpenGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Jan 31 04:36:33 rpmi: libphysfs-3.0.2-alt1 sisyphus+227312.100.1.1 1555511352 installed <13>Jan 31 04:36:33 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890148 installed <13>Jan 31 04:36:33 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Jan 31 04:36:33 rpmi: libopus-1.3.1-alt3 p9+247689.300.3.1 1584537429 installed <13>Jan 31 04:36:33 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Jan 31 04:36:33 rpmi: libsndfile-1.0.30-alt2 p9+262916.200.2.1 1607353710 installed <13>Jan 31 04:36:33 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228072 installed <13>Jan 31 04:36:33 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237682 installed <13>Jan 31 04:36:33 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237844 installed <13>Jan 31 04:36:33 rpmi: libsystemd-1:243.9-alt1 p9+258476.300.4.1 1601997124 installed <13>Jan 31 04:36:33 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553670 installed <13>Jan 31 04:36:33 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Jan 31 04:36:33 rpmi: libalsa-1:1.1.9-alt2 sisyphus+229323.100.1.1 1557826762 installed <13>Jan 31 04:36:33 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Jan 31 04:36:33 rpmi: libX11-locales-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>Jan 31 04:36:33 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Jan 31 04:36:33 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Jan 31 04:36:33 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Jan 31 04:36:33 rpmi: libX11-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>Jan 31 04:36:33 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Jan 31 04:36:33 rpmi: libpulseaudio-13.0-alt4 p9+261614.100.2.1 1605550488 installed <13>Jan 31 04:36:33 rpmi: libmikmod-3.3.11.1-alt2 1502706813 installed <13>Jan 31 04:36:33 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Jan 31 04:36:33 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed <13>Jan 31 04:36:33 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Jan 31 04:36:33 rpmi: libXrender-0.9.10-alt1 p9+261891.200.2.1 1606149106 installed <13>Jan 31 04:36:33 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Jan 31 04:36:33 rpmi: libSDL-1.2.14-alt8 p9+232634.100.1.1 1560964523 installed <13>Jan 31 04:36:33 rpmi: libSDL_mixer-1.2.12-alt1 1421435872 installed <13>Jan 31 04:36:35 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Jan 31 04:36:35 rpmi: libX11-devel-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>Jan 31 04:36:35 rpmi: libwayland-client-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed <13>Jan 31 04:36:35 rpmi: libpciaccess-1:0.14-alt1 1528969624 installed <13>Jan 31 04:36:35 rpmi: libdrm-1:2.4.102-alt1 p9+252863.100.1.1 1591372623 installed <13>Jan 31 04:36:35 rpmi: libGLX-mesa-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Jan 31 04:36:35 rpmi: libGLX-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Jan 31 04:36:35 rpmi: libGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Jan 31 04:36:35 rpmi: libGLU-4:9.0.1-alt1 p9+251991.3000.19.1 1590835932 installed <13>Jan 31 04:36:35 rpmi: libgbm-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Jan 31 04:36:35 rpmi: libEGL-mesa-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Jan 31 04:36:35 rpmi: libEGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Jan 31 04:36:35 rpmi: libglvnd-devel-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Jan 31 04:36:35 rpmi: libGL-devel-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Jan 31 04:36:35 rpmi: libGLU-devel-4:9.0.1-alt1 p9+251991.3000.19.1 1590835932 installed <13>Jan 31 04:36:35 rpmi: libSDL-devel-1.2.14-alt8 p9+232634.100.1.1 1560964523 installed <13>Jan 31 04:36:35 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Jan 31 04:36:35 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Jan 31 04:36:36 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Jan 31 04:36:36 rpmi: python-modules-curses-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Jan 31 04:36:36 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Jan 31 04:36:36 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Jan 31 04:36:36 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Jan 31 04:36:36 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Jan 31 04:36:36 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Jan 31 04:36:36 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Jan 31 04:36:36 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Jan 31 04:36:36 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 31 04:36:36 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 31 04:36:36 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Jan 31 04:36:36 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Jan 31 04:36:36 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Jan 31 04:36:36 rpmi: libcrypto1.1-1.1.1i-alt2 p9+264846.100.1.1 1610982871 installed <13>Jan 31 04:36:36 rpmi: libssl1.1-1.1.1i-alt2 p9+264846.100.1.1 1610982871 installed <13>Jan 31 04:36:36 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>Jan 31 04:36:36 groupadd[3139530]: group added to /etc/group: name=_keytab, GID=499 <86>Jan 31 04:36:36 groupadd[3139530]: group added to /etc/gshadow: name=_keytab <86>Jan 31 04:36:36 groupadd[3139530]: new group: name=_keytab, GID=499 <13>Jan 31 04:36:37 rpmi: libkrb5-1.17.2-alt1 p9+262110.100.3.1 1606242396 installed <13>Jan 31 04:36:37 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Jan 31 04:36:37 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Jan 31 04:36:37 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Jan 31 04:36:37 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Jan 31 04:36:37 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Jan 31 04:36:37 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Jan 31 04:36:37 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Jan 31 04:36:37 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Jan 31 04:36:37 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Jan 31 04:36:37 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Jan 31 04:36:37 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Jan 31 04:36:37 rpmi: python-modules-logging-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Jan 31 04:36:37 rpmi: python-tools-2to3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Jan 31 04:36:37 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Jan 31 04:36:37 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Jan 31 04:36:37 rpmi: python-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Jan 31 04:36:37 rpmi: python-modules-distutils-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Jan 31 04:36:37 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Jan 31 04:36:37 rpmi: python-modules-json-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Jan 31 04:36:37 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Jan 31 04:36:37 rpmi: python-dev-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Jan 31 04:36:37 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Jan 31 04:36:37 rpmi: scons-3.0.1-alt1 1518686948 installed <13>Jan 31 04:36:37 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed <13>Jan 31 04:36:37 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435872 installed <13>Jan 31 04:36:37 rpmi: libphysfs-devel-3.0.2-alt1 sisyphus+227312.100.1.1 1555511352 installed <13>Jan 31 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 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.62110 + 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/tar -xf - + /bin/gzip -dc /usr/src/RPM/SOURCES/d1x-rebirth_v0.58.1-src.tar.gz + 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.62110 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd d1x-rebirth_v0.58.1-src + scons -j8 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 ... 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/line.c ... 2d/font.c: In function 'gr_init_font': Compiling 2d/palette.c ... Compiling 2d/pcx.c ... 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 ... Compiling 2d/poly.c ... Compiling 2d/rect.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, ^~~~~~~~~~~ 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/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 ... Compiling 3d/rod.c ... Compiling 3d/setup.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 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 ... 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.c ... Compiling arch/sdl/digi_mixer_music.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, ^~~~~~~~~~~ Compiling arch/sdl/event.c ... In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h: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/init.c ... In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': 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/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:36:2: 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, ^~~~~~~~~~~ include/physfsx.h:72: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': 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:86: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, ^~~~~~~~~~~ include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: 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/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_readString': 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:72: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:104:2: warning: '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, ^~~~~~~~~~~~ include/physfsx.h:86: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/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': 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:121:2: warning: '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, ^~~~~~~~~~~ include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': 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/ogl/ogl.c:28: /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 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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/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, ^~~~~~~~~~~ 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); ^~~~~~~~~~~ In 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 ... 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/rbaudio.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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, ^~~~~~~~~~~ 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 ... 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 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, ^~~~~~~~~~~ Compiling main/automap.c ... 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 ... 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_readSXE16': include/physfsx.h:36:2: 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_readSXE32': include/physfsx.h:45:2: 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, ^~~~~~~~~~~ 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, ^~~~~~~~~~~ Compiling main/effects.c ... Compiling main/endlevel.c ... 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, ^~~~~~~~~~~ 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': 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:121:2: warning: '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, ^~~~~~~~~~~ include/physfsx.h:36:2: 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': Compiling main/fuelcen.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/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': Compiling main/fvi.c ... 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/game.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/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/gamecntl.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': Compiling main/gamefont.c ... 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/gamemine.c ... Compiling main/gamerend.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/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/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/gameseg.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, ^~~~~~~~~~~ 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) ^~ Compiling main/gameseq.c ... Compiling main/gauges.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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ Compiling main/hostage.c ... Compiling main/hud.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, ^~~~~~~~~~~ Compiling main/inferno.c ... In file included from main/game.h:23, from main/hud.c:18: 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; ^~~~~ include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-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, ^~~~~~~~~~~~ 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, ^~~~~~~~~~~ Compiling main/laser.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, ^~~~~~~~~~~ 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/lighting.c ... Compiling main/menu.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/mglobal.c ... In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h: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/mission.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': 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, ^~~~~~~~~~~ include/physfsx.h:86: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/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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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/morph.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) ^~~~~~~~~~~~~~~~~~~~~~ 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/multi.c ... Compiling main/multibot.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/newdemo.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': Compiling main/newmenu.c ... include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/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, ^~~~~~~~~~~ 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; ^~~~~ 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); ^~~~~~~~~~~ main/multi.c:3766:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_decloak(buf); break; ^~ 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, ^~~~~~~~~~~ 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; ^~~~~ 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, ^~~~~~~~~~~ main/multi.c:3768:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_door_open(buf); break; ^~ 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, ^~~~~~~~~~~ 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; ^~~~~ 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, ^~~~~~~~~~~ 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/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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~~ Compiling main/object.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/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++) ^~~ 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/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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling main/physics.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/piggy.c ... Compiling main/player.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 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': 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, ^~~~~~~~~~~ include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-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/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/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/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/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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~~ 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, ^~~~~~~~~~~~ Compiling main/render.c ... 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/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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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/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/robot.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); ^~~~~~~~~~~~ Compiling main/weapon.c ... In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c: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 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 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/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, ^~~~~~~~~~~~ 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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': main/state.c:1469:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.max_numplayers, sizeof(ubyte), 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/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/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: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 maths/fixc.c ... 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/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/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 maths/tables.c ... Compiling maths/vecmat.c ... Compiling mem/mem.c ... Compiling misc/args.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/dl_list.c ... 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 ... 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, ^~~~~~~~~~~ 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/strio.c ... 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, ^~~~~~~~~~~ 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) ^~~~~~~~~~~~~~~~~~~~~~ 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) ^~~~~~~~~~~~~~~~~~~~~~ Compiling texmap/ntmap.c ... 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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, ^~~~~~~~~~~ Compiling main/net_udp.c ... Compiling texmap/scanline.c ... texmap/ntmap.c: In function 'ntmap_scanline_lighted_linear': texmap/ntmap.c:649:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((dx < 0) || (xright < 0) || (xleft > xright)) // the (xleft > xright) term is not redundant with (dx < 0) because dx is computed using integers ^~ texmap/ntmap.c:653:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (dx < FIX_RECIP_TABLE_SIZE) ^~ 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 -j8 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 -j8 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/bitmap.c ... Compiling 2d/bitblt.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, ^~~~~~~~~~~ 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/palette.c ... Compiling 2d/pcx.c ... Compiling 2d/pixel.c ... Compiling 2d/poly.c ... Compiling 2d/rect.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, ^~~~~~~~~~~ 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/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/sdl/digi_audio.c ... Compiling arch/sdl/digi_mixer.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_mixer_music.c ... Compiling arch/ogl/ogl.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': arch/ogl/gr.c: In function 'write_bmp': include/physfsx.h:72:4: warning: 'PHYSFS_read' is 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, ^~~~~~~~~~~ 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/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 main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_readSXE16': Compiling arch/sdl/event.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/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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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/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/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/joy.c ... Compiling arch/sdl/jukebox.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': 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:72: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, ^~~~~~~~~~~ include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86: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 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/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/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': In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-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, ^~~~~~~~~~~ include/physfsx.h:111:2: warning: '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/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': 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/key.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 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/mouse.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); ^~~~~~~~~~~ In 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, ^~~~~~~~~~~ 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 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/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 ... 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, ^~~~~~~~~~~ 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 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 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, ^~~~~~~~~~~ Compiling main/bm.c ... 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/bmread.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, ^~~~~~~~~~~ Compiling main/cntrlcen.c ... In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_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 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, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: 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/bmread.c:29: /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/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE16': 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, ^~~~~~~~~~~ include/physfsx.h:36:2: 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': Compiling main/endlevel.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 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/digiobj.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/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_readSXE32': include/physfsx.h:45:2: 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, ^~~~~~~~~~~ Compiling main/fireball.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/fuelcen.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/fvi.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/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/game.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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ Compiling main/gamecntl.c ... 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/gamefont.c ... Compiling main/gamemine.c ... Compiling main/gamerend.c ... 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': Compiling main/gamesave.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/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/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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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': Compiling main/gameseq.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 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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/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': Compiling main/gauges.c ... include/physfsx.h:111:2: warning: '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/hostage.c ... Compiling main/hud.c ... 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/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/inferno.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; ^~~~~ 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/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/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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ Compiling main/laser.c ... 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 ... 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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]) ^~ Compiling main/mglobal.c ... In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h: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, ^~~~~~~~~~~ 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/mission.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/morph.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/multi.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, ^~~~~~~~~~~ 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; ^~ Compiling main/multibot.c ... 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/newdemo.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, ^~~~~~~~~~~ Compiling main/newmenu.c ... In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h: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, ^~~~~~~~~~~ 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; ^~~~~~~~~~~~~~~~~~~ Compiling main/object.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, ^~~~~~~~~~~ Compiling main/paging.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_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/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/physics.c ... Compiling main/piggy.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, ^~~~~~~~~~~ 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 ... 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling main/playsave.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': Compiling main/polyobj.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/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, ^~~~~~~~~~~~ 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/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': 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~~ 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 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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': main/render.c: In function 'render_mine': 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/switch.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/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/piggy.h:23, from main/gauges.h:26, from main/switch.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/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/piggy.h:23, from main/gauges.h:26, from main/switch.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/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/piggy.h:23, from main/gauges.h:26, from main/switch.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/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/piggy.h:23, from main/gauges.h:26, from main/switch.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/piggy.h:23, from main/gauges.h:26, from main/switch.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/piggy.h:23, from main/gauges.h:26, from main/switch.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/piggy.h:23, from main/gauges.h:26, from main/switch.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/piggy.h:23, from main/gauges.h:26, from main/switch.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/piggy.h:23, from main/gauges.h:26, from main/switch.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/piggy.h:23, from main/gauges.h:26, from main/switch.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/piggy.h:23, from main/gauges.h:26, from main/switch.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/piggy.h:23, from main/gauges.h:26, from main/switch.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/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/piggy.h:23, from main/gauges.h:26, from main/switch.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/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/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/titles.c ... Compiling main/vclip.c ... Compiling main/wall.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, ^~~~~~~~~~~ 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/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, ^~~~~~~~~~~ main/titles.c: In function 'load_screen_text': 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/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, ^~~~~~~~~~~ Compiling maths/rand.c ... Compiling maths/tables.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, ^~~~~~~~~~~ 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/vecmat.c ... main/weapon.c: In function 'player_has_weapon': Compiling mem/mem.c ... 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 ... 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/hash.c ... Compiling misc/hmp.c ... Compiling misc/ignorecase.c ... 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); ^~~~~~~~~~~ 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, ^~~~~~~~~~~ Compiling misc/strio.c ... 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/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) ^~~~~~~~~~~~~~~~~~~~~~ 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 misc/strutil.c ... In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h: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, ^~~~~~~~~~~ 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 ... Compiling main/net_udp.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, ^~~~~~~~~~~ Compiling main/vers_id.c ... texmap/ntmap.c: In function 'ntmap_scanline_lighted_linear': texmap/ntmap.c:649:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((dx < 0) || (xright < 0) || (xleft > xright)) // the (xleft > xright) term is not redundant with (dx < 0) because dx is computed using integers ^~ texmap/ntmap.c:653:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (dx < FIX_RECIP_TABLE_SIZE) ^~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c: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 -j8 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 ... 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': Compiling 2d/line.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/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 ... 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, ^~~~~~~~~~~ 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/pixel.c ... 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 ... Compiling arch/sdl/digi_audio.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_mixer.c ... Compiling arch/sdl/digi_mixer_music.c ... 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': include/physfsx.h:121:2: warning: '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/init.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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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 arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_readSXE16': 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; ^~ include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ 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/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, ^~~~~~~~~~~ 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': Compiling arch/sdl/joy.c ... include/physfsx.h:111:2: warning: '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/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); ^~~~~~~~~~~ In 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, ^~~~~~~~~~~ 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/mouse.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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling arch/sdl/rbaudio.c ... Compiling arch/sdl/timer.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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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 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 ... Compiling main/bm.c ... Compiling main/bmread.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, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': In file included from main/game.h:23, from main/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/cntrlcen.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/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); ^~~~~~~~~~~ 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, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: 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/bmread.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/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/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:22: include/physfsx.h: In function 'PHYSFSX_readSXE16': 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:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 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 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/cntrlcen.h:24, from main/cntrlcen.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:22: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:22: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:22: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:22: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:22: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:22: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:22: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:22: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:22: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:22: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:22: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:22: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:22: 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/cntrlcen.h:24, from main/cntrlcen.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/bmread.c: In function 'ds_load': main/bmread.c:300:17: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( cfp, new.data, 1, new.length ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/bm.c: In function 'tmap_info_read_n': main/cntrlcen.c: In function 'control_center_triggers_read_n_swap': main/cntrlcen.c:459:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, cct, sizeof(control_center_triggers), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/bm.c:102:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, TmapInfo[i].filename, 13, 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/bm.c: In function 'properties_read_cmp': main/bm.c:147:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, Sounds, sizeof(ubyte), MAX_SOUNDS ); ^~~~~~~~~~~ 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/bm.c:148:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, AltSounds, sizeof(ubyte), MAX_SOUNDS ); ^~~~~~~~~~~ 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/bm.c:193:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, Sounds, sizeof(ubyte), MAX_SOUNDS ); ^~~~~~~~~~~ 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/bm.c:194:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, AltSounds, sizeof(ubyte), MAX_SOUNDS ); ^~~~~~~~~~~ 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/bm.c:197:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, ObjType, sizeof(ubyte), MAX_OBJTYPE ); ^~~~~~~~~~~ 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/bm.c:198:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, ObjId, sizeof(ubyte), MAX_OBJTYPE ); ^~~~~~~~~~~ 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/bmread.c: In function 'bm_write_all': main/bmread.c:1792:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &NumTextures, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1793:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, Textures, sizeof(bitmap_index), MAX_TEXTURES); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1794:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, TmapInfo, sizeof(tmap_info), MAX_TEXTURES); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1796:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, Sounds, sizeof(ubyte), MAX_SOUNDS); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1797:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, AltSounds, sizeof(ubyte), MAX_SOUNDS); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1799:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &Num_vclips, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1800:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, Vclip, sizeof(vclip), VCLIP_MAXNUM); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1802:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &Num_effects, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1803:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, Effects, sizeof(eclip), MAX_EFFECTS); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1805:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &Num_wall_anims, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1806:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, WallAnims, sizeof(wclip), MAX_WALL_ANIMS); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1808:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &N_robot_types, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1809:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, Robot_info, sizeof(robot_info), MAX_ROBOT_TYPES); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1811:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &N_robot_joints, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1812:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, Robot_joints, sizeof(jointpos), MAX_ROBOT_JOINTS); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1814:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &N_weapon_types, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1815:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, Weapon_info, sizeof(weapon_info), MAX_WEAPON_TYPES); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1817:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &N_powerup_types, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1818:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, Powerup_info, sizeof(powerup_type_info), MAX_POWERUP_TYPES); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1820:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &N_polygon_models, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1821:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, Polygon_models, sizeof(polymodel), N_polygon_models); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1824:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, Polygon_models[i].model_data, sizeof(ubyte), Polygon_models[i].model_data_size); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1827:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, Gauges, sizeof(bitmap_index), MAX_GAUGE_BMS); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1829:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, Dying_modelnums, sizeof(int), MAX_POLYGON_MODELS); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1830:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, Dead_modelnums, sizeof(int), MAX_POLYGON_MODELS); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1832:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, ObjBitmaps, sizeof(bitmap_index), MAX_OBJ_BITMAPS); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1833:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, ObjBitmapPtrs, sizeof(ushort), MAX_OBJ_BITMAPS); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1835:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &only_player_ship, sizeof(player_ship), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1837:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &Num_cockpits, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1838:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, cockpit_bitmap, sizeof(bitmap_index), N_COCKPIT_BITMAPS); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1840:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, Sounds, sizeof(ubyte), MAX_SOUNDS); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1841:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, AltSounds, sizeof(ubyte), MAX_SOUNDS); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1843:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &Num_total_object_types, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1844:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, ObjType, sizeof(sbyte), MAX_OBJTYPE); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1845:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, ObjId, sizeof(sbyte), MAX_OBJTYPE); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1846:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, ObjStrength, sizeof(fix), MAX_OBJTYPE); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1848:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &First_multi_bitmap_num, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1850:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &Reactors[0].n_guns, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1851:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, Reactors[0].gun_points, sizeof(vms_vector), MAX_CONTROLCEN_GUNS); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1852:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, Reactors[0].gun_dirs, sizeof(vms_vector), MAX_CONTROLCEN_GUNS); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1853:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &exit_modelnum, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/bmread.c:1854:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &destroyed_exit_modelnum, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bmread.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(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/dumpmine.c ... In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.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/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_readSXE32': include/physfsx.h:45:2: 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, ^~~~~~~~~~~ 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, ^~~~~~~~~~~ Compiling main/effects.c ... Compiling main/endlevel.c ... Compiling main/fireball.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/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 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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/fuelcen.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/fvi.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/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/game.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, ^~~~~~~~~~~ Compiling main/gamecntl.c ... Compiling main/gamefont.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, ^~~~~~~~~~~ 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/gamemine.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/gamerend.c ... 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ Compiling main/gameseq.c ... Compiling main/gauges.c ... In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h: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/gameseg.c: In function 'trace_segs': 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, ^~~~~~~~~~~ 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/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/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/hostage.c ... Compiling main/hud.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, ^~~~~~~~~~~ Compiling main/inferno.c ... In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h: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/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/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_readSXE16': include/physfsx.h:36:2: 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, ^~~~~~~~~~~ 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/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/lighting.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]) ^~ Compiling main/menu.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, ^~~~~~~~~~~ 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)); ^~~~~~ Compiling main/mglobal.c ... 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/mission.c ... Compiling main/morph.c ... In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE16': main/menu.c: In function 'list_dir_el': include/physfsx.h:36:2: 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, ^~~~~~~~~~~~ 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 main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_writeString': 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': include/physfsx.h:99:2: warning: 'PHYSFS_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': main/menu.c:1331:2: warning: 'PHYSFS_enumerateFilesCallback' is deprecated [-Wdeprecated-declarations] PHYSFS_enumerateFilesCallback("", (PHYSFS_EnumFilesCallback) list_dir_el, b); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/physfsx.h:121:2: warning: '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 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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readByte': main/menu.c: In function 'select_file_handler': 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, ^~~~~~~~~~~ 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) ^~~~~~~~~~~~~~~~~~~~~~ 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, ^~~~~~~~~~~ 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/multi.c ... Compiling main/multibot.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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ Compiling main/newdemo.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; ^~~~~ Compiling main/newmenu.c ... Compiling main/object.c ... In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h: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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~~ 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/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; ^~~~~~~~~~~~~~~~~~~ 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/paging.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, ^~~~~~~~~~~ Compiling main/physics.c ... 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ Compiling main/player.c ... 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, ^~~~~~~~~~~ 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/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, ^~~~~~~~~~~ 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/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 ... Compiling main/render.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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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; ^~~~~~~~~~~~~~~~~~~ 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': 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) ^~ Compiling main/robot.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/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, ^~~~~~~~~~~~ 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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': Compiling main/scores.c ... include/physfsx.h:86:4: warning: 'PHYSFS_read' is 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, ^~~~~~~~~~~ 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': main/robot.c: In function 'robot_info_read_n': include/physfsx.h:121:2: warning: '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/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, ^~~~~~~~~~~~ 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, ^~~~~~~~~~~ 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/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, ^~~~~~~~~~~~ Compiling main/slew.c ... main/render.c: In function 'render_mine': Compiling main/snddecom.c ... 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); ^~~~~~~~~~~~ Compiling main/texmerge.c ... In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c: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, ^~~~~~~~~~~~ Compiling main/text.c ... 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/titles.c ... In file included from main/piggy.h:23, from main/bm.h:24, from main/textures.h:24, from main/terrain.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/textures.h:24, from main/terrain.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/textures.h:24, from main/terrain.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/textures.h:24, from main/terrain.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/textures.h:24, from main/terrain.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/textures.h:24, from main/terrain.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/textures.h:24, from main/terrain.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/textures.h:24, from main/terrain.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/textures.h:24, from main/terrain.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/textures.h:24, from main/terrain.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/textures.h:24, from main/terrain.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/textures.h:24, from main/terrain.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/textures.h:24, from main/terrain.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/textures.h:24, from main/terrain.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/textures.h:24, from main/terrain.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/textures.h:24, from main/terrain.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/textures.h:24, from main/terrain.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/textures.h:24, from main/terrain.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/textures.h:24, from main/terrain.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/textures.h:24, from main/terrain.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/texmerge.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/texmerge.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/texmerge.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/texmerge.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/texmerge.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/texmerge.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/texmerge.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/texmerge.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/texmerge.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/texmerge.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/texmerge.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/texmerge.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/texmerge.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/texmerge.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/texmerge.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/texmerge.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/texmerge.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/texmerge.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/texmerge.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/texmerge.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/vclip.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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ Compiling main/wall.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, ^~~~~~~~~~~ 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 main/weapon.c ... Compiling maths/fixc.c ... 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/rand.c ... Compiling maths/tables.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, ^~~~~~~~~~~ Compiling maths/vecmat.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 mem/mem.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/args.c ... Compiling misc/dl_list.c ... Compiling misc/error.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/hash.c ... Compiling misc/hmp.c ... Compiling misc/ignorecase.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/physfsx.c ... Compiling misc/strutil.c ... Compiling misc/strio.c ... In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h: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, ^~~~~~~~~~~ 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/scanline.c ... Compiling texmap/ntmap.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, ^~~~~~~~~~~ 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/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/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': 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, ^~~~~~~~~~~ include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/piggy.h:23, from 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 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/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, ^~~~~~~~~~~ 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) ^~ 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.70058 + 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 + 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) /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) 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.70058 + 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.sROMAM 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.YnQR7h 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.KcXAQQ Processing files: d1x-rebirth-sdl-0.58.1-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.62584 + 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.kr4cDt 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.A93XF9 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.SIuoQV 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.81969 + 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.8wfWUM 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.MBA2kH 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.YZAFZK 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.YtXLoS find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wf4s23 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.g1LE3l find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.iE68tH 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 Wrote: /usr/src/RPM/RPMS/x86_64/d1x-rebirth-sdl-0.58.1-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/d1x-rebirth-gl-0.58.1-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/d1x-rebirth-sdl-debuginfo-0.58.1-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/d1x-rebirth-gl-debuginfo-0.58.1-alt1.x86_64.rpm 91.52user 9.95system 0:55.03elapsed 184%CPU (0avgtext+0avgdata 61688maxresident)k 0inputs+0outputs (0major+3644767minor)pagefaults 0swaps 102.13user 14.09system 1:09.95elapsed 166%CPU (0avgtext+0avgdata 114788maxresident)k 0inputs+0outputs (0major+4079290minor)pagefaults 0swaps --- 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-01-31 04:37:37.066996735 +0000 @@ -6,4 +6,5 @@ /usr/share/doc/d1x-rebirth-gl-0.58.1/COPYING.txt 100644 +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) --- 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-01-31 04:37:37.122997074 +0000 @@ -6,4 +6,5 @@ /usr/share/doc/d1x-rebirth-sdl-0.58.1/COPYING.txt 100644 +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)