<86>Apr 6 08:16:34 userdel[31839]: delete user 'rooter' <86>Apr 6 08:16:34 userdel[31839]: removed group 'rooter' owned by 'rooter' <86>Apr 6 08:16:34 userdel[31839]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 6 08:16:34 groupadd[31878]: group added to /etc/group: name=rooter, GID=549 <86>Apr 6 08:16:34 groupadd[31878]: group added to /etc/gshadow: name=rooter <86>Apr 6 08:16:34 groupadd[31878]: new group: name=rooter, GID=549 <86>Apr 6 08:16:34 useradd[31903]: new user: name=rooter, UID=549, GID=549, home=/root, shell=/bin/bash <86>Apr 6 08:16:34 userdel[31957]: delete user 'builder' <86>Apr 6 08:16:34 userdel[31957]: removed group 'builder' owned by 'builder' <86>Apr 6 08:16:34 userdel[31957]: removed shadow group 'builder' owned by 'builder' <86>Apr 6 08:16:34 groupadd[31987]: group added to /etc/group: name=builder, GID=550 <86>Apr 6 08:16:34 groupadd[31987]: group added to /etc/gshadow: name=builder <86>Apr 6 08:16:34 groupadd[31987]: new group: name=builder, GID=550 <86>Apr 6 08:16:34 useradd[32016]: new user: name=builder, UID=550, GID=550, home=/usr/src, shell=/bin/bash <13>Apr 6 08:16:39 rpmi: libglvnd-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Apr 6 08:16:39 rpmi: libogg-1.3.3-alt1 sisyphus+221902.4000.4.1 1550598661 installed <13>Apr 6 08:16:39 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Apr 6 08:16:39 rpmi: libflac8-1.3.2-alt2 sisyphus+220898.4400.11.1 1551973321 installed <13>Apr 6 08:16:39 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>Apr 6 08:16:40 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Apr 6 08:16:40 rpmi: libwayland-server-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Apr 6 08:16:40 rpmi: libOpenGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Apr 6 08:16:40 rpmi: libGLES-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Apr 6 08:16:40 rpmi: libphysfs-3.0.1-alt1 sisyphus+222632.100.1.2 1550952475 installed <13>Apr 6 08:16:40 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890149 installed <13>Apr 6 08:16:40 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Apr 6 08:16:40 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Apr 6 08:16:40 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333068 installed <13>Apr 6 08:16:40 rpmi: liblz4-1:1.8.3-alt2 sisyphus+221902.4200.4.1 1550599659 installed <13>Apr 6 08:16:40 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Apr 6 08:16:40 rpmi: libgcrypt20-1.8.4-alt1 sisyphus+225621.500.1.1 1553521735 installed <13>Apr 6 08:16:40 rpmi: libsystemd-1:241-alt4 sisyphus+226361.200.3.1 1554170427 installed <13>Apr 6 08:16:40 rpmi: libdbus-1.12.12-alt2 sisyphus+221234.100.1.2 1549918047 installed <13>Apr 6 08:16:40 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Apr 6 08:16:40 rpmi: libalsa-1:1.1.8-alt2 sisyphus+221894.200.4.1 1550583286 installed <13>Apr 6 08:16:40 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Apr 6 08:16:40 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Apr 6 08:16:40 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Apr 6 08:16:40 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Apr 6 08:16:40 rpmi: libxcb-1.13.1-alt1 sisyphus.214413.100 1539170896 installed <13>Apr 6 08:16:40 rpmi: libX11-3:1.6.7-alt1 sisyphus.214413.200 1539171143 installed <13>Apr 6 08:16:40 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Apr 6 08:16:40 rpmi: libpulseaudio-12.2-alt1 1535623585 installed <13>Apr 6 08:16:40 rpmi: libmikmod-3.3.11.1-alt2 1502706814 installed <13>Apr 6 08:16:40 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Apr 6 08:16:40 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Apr 6 08:16:40 rpmi: libXfixes-5.0.3-alt1 sisyphus.216396.300 1542022162 installed <13>Apr 6 08:16:40 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Apr 6 08:16:40 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Apr 6 08:16:40 rpmi: libSDL-1.2.14-alt7 1483707272 installed <13>Apr 6 08:16:40 rpmi: libSDL_mixer-1.2.12-alt1 1421435874 installed <13>Apr 6 08:16:43 rpmi: libxcb-devel-1.13.1-alt1 sisyphus.214413.100 1539170896 installed <13>Apr 6 08:16:43 rpmi: libX11-devel-3:1.6.7-alt1 sisyphus.214413.200 1539171143 installed <13>Apr 6 08:16:43 rpmi: libwayland-client-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Apr 6 08:16:43 rpmi: libpciaccess-1:0.14-alt1 1528969252 installed <13>Apr 6 08:16:43 rpmi: libdrm-1:2.4.97-alt1 sisyphus+220483.100.1.1 1549270242 installed <13>Apr 6 08:16:43 rpmi: libGLX-mesa-4:19.0.1-alt1 sisyphus+225820.100.1.1 1553767902 installed <13>Apr 6 08:16:43 rpmi: libGLX-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Apr 6 08:16:43 rpmi: libGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Apr 6 08:16:43 rpmi: libGLU-4:9.0.0-alt1 1347643784 installed <13>Apr 6 08:16:43 rpmi: libgbm-4:19.0.1-alt1 sisyphus+225820.100.1.1 1553767902 installed <13>Apr 6 08:16:43 rpmi: libEGL-mesa-4:19.0.1-alt1 sisyphus+225820.100.1.1 1553767902 installed <13>Apr 6 08:16:43 rpmi: libEGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Apr 6 08:16:43 rpmi: libglvnd-devel-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Apr 6 08:16:43 rpmi: libEGL-devel-4:19.0.1-alt1 sisyphus+225820.100.1.1 1553767902 installed <13>Apr 6 08:16:43 rpmi: libGL-devel-4:19.0.1-alt1 sisyphus+225820.100.1.1 1553767902 installed <13>Apr 6 08:16:43 rpmi: libGLU-devel-4:9.0.0-alt1 1347643784 installed <13>Apr 6 08:16:43 rpmi: libSDL-devel-1.2.14-alt7 1483707272 installed <13>Apr 6 08:16:43 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Apr 6 08:16:44 rpmi: libstdc++8-devel-8.3.1-alt2 sisyphus+224979.100.1.1 1552540396 installed <13>Apr 6 08:16:45 rpmi: gcc8-c++-8.3.1-alt2 sisyphus+224979.100.1.1 1552540396 installed <13>Apr 6 08:16:45 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 6 08:16:45 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Apr 6 08:16:45 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 6 08:16:45 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 6 08:16:45 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Apr 6 08:16:45 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Apr 6 08:16:46 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 6 08:16:46 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Apr 6 08:16:46 rpmi: rpm-macros-alternatives-0.5.0-alt1 sisyphus+221902.300.4.1 1550587121 installed <13>Apr 6 08:16:46 rpmi: alternatives-0.5.0-alt1 sisyphus+221902.300.4.1 1550587121 installed <13>Apr 6 08:16:46 rpmi: ca-certificates-2019.03.31-alt1 sisyphus+226302.100.1.1 1554055265 installed <13>Apr 6 08:16:46 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Apr 6 08:16:46 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 6 08:16:46 rpmi: libcrypto1.1-1.1.1b-alt1 sisyphus+225327.200.2.1 1553099317 installed <13>Apr 6 08:16:46 rpmi: libssl1.1-1.1.1b-alt1 sisyphus+225327.200.2.1 1553099317 installed <13>Apr 6 08:16:46 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Apr 6 08:16:46 groupadd[18538]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 6 08:16:46 groupadd[18538]: new group: name=_keytab, GID=499 <13>Apr 6 08:16:46 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746516 installed <13>Apr 6 08:16:46 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Apr 6 08:16:46 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Apr 6 08:16:46 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 6 08:16:46 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 6 08:16:46 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 6 08:16:46 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 6 08:16:47 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 6 08:16:47 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 6 08:16:47 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 6 08:16:47 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 6 08:16:47 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 6 08:16:47 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 6 08:16:47 rpmi: python-tools-2to3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 6 08:16:47 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 6 08:16:47 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 6 08:16:47 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 6 08:16:47 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 6 08:16:47 rpmi: python-module-pkg_resources-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed <13>Apr 6 08:16:47 rpmi: python-modules-json-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 6 08:16:47 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Apr 6 08:16:47 rpmi: python-dev-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 6 08:16:47 rpmi: python-module-setuptools-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed <13>Apr 6 08:16:47 rpmi: scons-3.0.1-alt1 1518686948 installed <13>Apr 6 08:16:47 rpmi: gcc-c++-8-alt1 sisyphus+222164.100.1.1 1550685959 installed <13>Apr 6 08:16:47 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435874 installed <13>Apr 6 08:16:47 rpmi: libphysfs-devel-3.0.1-alt1 sisyphus+222632.100.1.2 1550952475 installed <13>Apr 6 08:16:47 rpmi: dos2unix-7.3.5-alt1 1499695585 installed Building target platforms: i586 Building for target i586 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: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.57783 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf d1x-rebirth_v0.58.1-src + echo 'Source #0 (d1x-rebirth_v0.58.1-src.tar.gz):' Source #0 (d1x-rebirth_v0.58.1-src.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/d1x-rebirth_v0.58.1-src.tar.gz + /bin/tar -xf - + cd d1x-rebirth_v0.58.1-src + /bin/chmod -c -Rf u+rwX,go-w . + dos2unix d1x.ini CHANGELOG.txt COPYING.txt INSTALL.txt README.txt RELEASE-NOTES.txt dos2unix: converting file d1x.ini to Unix format... dos2unix: converting file CHANGELOG.txt to Unix format... dos2unix: converting file COPYING.txt to Unix format... dos2unix: converting file INSTALL.txt to Unix format... dos2unix: converting file README.txt to Unix format... dos2unix: converting file RELEASE-NOTES.txt to Unix format... + chmod 644 d1x.ini CHANGELOG.txt COPYING.txt INSTALL.txt README.txt RELEASE-NOTES.txt + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.80493 + 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 ... Compiling 2d/line.c ... Compiling 2d/palette.c ... Compiling 2d/pcx.c ... Compiling 2d/pixel.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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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/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/poly.c ... 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 ... Compiling 3d/rod.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/setup.c ... Compiling arch/ogl/gr.c ... Compiling arch/ogl/ogl.c ... Compiling arch/sdl/digi.c ... Compiling arch/sdl/digi_audio.c ... Compiling arch/sdl/digi_mixer.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/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/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 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/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, ^~~~~~~~~~~ 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/digi_mixer_music.c ... arch/ogl/gr.c: In function 'write_bmp': arch/ogl/gr.c:1074:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(TGAFile,&TGA,sizeof(TGA_header),1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ arch/ogl/gr.c:1075:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(TGAFile,buf,w*h*3*sizeof(unsigned char),1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/event.c ... Compiling arch/sdl/init.c ... Compiling arch/sdl/joy.c ... In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ arch/sdl/digi_mixer_music.c: In function 'mix_play_file': arch/sdl/digi_mixer_music.c:66:3: warning: 'PHYSFS_getUserDir' is deprecated [-Wdeprecated-declarations] snprintf(full_path, PATH_MAX, "%s%s", PHYSFS_getUserDir(), ^~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:792:25: note: declared here PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~ arch/sdl/digi_mixer_music.c:91:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] bufsize = PHYSFS_read(filehandle, current_music_hndlbuf, sizeof(char), PHYSFS_fileLength(filehandle)); ^~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/jukebox.c ... Compiling arch/sdl/key.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ arch/ogl/ogl.c: In function 'tex_format_supported': In file included from include/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, ^~~~~~~~~~~~ arch/ogl/ogl.c:1259:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!GameArg.DbgGlIntensity4Ok) return 0; break; ^~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from 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, ^~~~~~~~~~~ arch/ogl/ogl.c:1259:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!GameArg.DbgGlIntensity4Ok) return 0; break; ^~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h: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, ^~~~~~~~~~~ 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/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 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/rbaudio.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, ^~~~~~~~~~~ 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 ... 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, ^~~~~~~~~~~ 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 main/automap.c ... In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 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': In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:94:2: 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:265:2: warning: '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, ^~~~~~~~~~~ include/physfsx.h:104:2: warning: '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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ iff/iff.c: In function 'write_body': iff/iff.c:749:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(ofile,new_span,newlen,1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ iff/iff.c:752:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(ofile,p,bitmap_header->w+odd,1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ Compiling main/bm.c ... Compiling main/bmread.c ... Compiling main/cntrlcen.c ... 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 ... Compiling main/effects.c ... Compiling main/endlevel.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, ^~~~~~~~~~~ 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/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': include/physfsx.h:121:2: warning: '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, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/fireball.c: In function 'object_create_explosion_sub': main/fireball.c:146:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (killer != ConsoleObject) // if someone else whacks you, cut force by 2x ^~ main/fireball.c:147:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' vforce2.x /= 2; vforce2.y /= 2; vforce2.z /= 2; ^~~~~~~ main/fireball.c: In function 'pick_connected_segment': main/fireball.c:345:2: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] memset(seg_queue,0,QUEUE_SIZE*2); ^~~~~~ Compiling main/fuelcen.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, ^~~~~~~~~~~ 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/fvi.c ... 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, ^~~~~~~~~~~ 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 ... 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/gamerend.c ... Compiling main/gamesave.c ... 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, ^~~~~~~~~~~ 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/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/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': 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/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/game.h:23, from main/gameseq.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:33: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:33: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:33: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:33: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:33: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:33: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:33: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:33: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gauges.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, ^~~~~~~~~~~ Compiling main/hostage.c ... Compiling main/hud.c ... main/gauges.c: In function 'hud_show_weapons_mode': main/gauges.c:1054:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main/gauges.c:1056:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' break; ^~~~~ Compiling main/inferno.c ... In file included from main/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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ Compiling main/kconfig.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_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_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/kmatrix.c ... In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/laser.c ... Compiling main/lighting.c ... Compiling main/menu.c ... Compiling main/mglobal.c ... In file included from main/game.h:23, from main/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/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/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, ^~~~~~~~~~~ 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/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, ^~~~~~~~~~~ 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/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; ^~~~~~~~~~~~~~~~~~ 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/morph.c ... Compiling main/multi.c ... Compiling main/multibot.c ... In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multibot.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multibot.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multibot.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multibot.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multibot.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multibot.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multibot.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multibot.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multibot.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multibot.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multibot.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multibot.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multibot.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multibot.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multibot.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multibot.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multibot.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multibot.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multibot.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multibot.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 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/newdemo.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, ^~~~~~~~~~~ Compiling main/newmenu.c ... Compiling main/object.c ... main/newdemo.c: In function 'newdemo_read': main/newdemo.c:241:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] num_read = PHYSFS_read(infile, buffer, elsize, nelem); ^~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/newdemo.c: In function 'newdemo_write': main/newdemo.c:268:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] num_written = PHYSFS_write(outfile, buffer, elsize, nelem); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ 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, ^~~~~~~~~~~ Compiling main/paging.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; ^~~~~~~~~~~~~~~~~~~ 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 ... 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, ^~~~~~~~~~~ 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 ... In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'DiskBitmapHeader_read': main/piggy.c:117:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, dbh->name, 8, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'DiskSoundHeader_read': main/piggy.c:131:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, dsh->name, 8, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'piggy_read_sounds': main/piggy.c:520:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(array, Sounds, MAX_SOUNDS, 1) != 1) // make the 'Sounds' index array match with the sounds we're about to read in ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c:522:5: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT,"Warning: Can't read Sounds/sounds.array: %s", PHYSFS_getLastError()); ^~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/piggy.c:568:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, lastbuf, SoundCompressed[i], 1 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c:575:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, snd->data, snd->length, 1 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'piggy_bitmap_page_in': main/piggy.c:663:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, &Piggy_bitmap_cache_data[Piggy_bitmap_cache_next], 1, zsize-4 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c:682:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, &Piggy_bitmap_cache_data[Piggy_bitmap_cache_next], 1, bmp->bm_h*bmp->bm_w ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/player.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, ^~~~~~~~~~~ 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/gameseq.h:24, from main/playsave.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c: In function 'read_player_file': main/playsave.c:804:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file,PlayerCfg.HighestLevels,sizeof(hli),PlayerCfg.NHighestLevels) != PlayerCfg.NHighestLevels) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:809:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file,saved_games,sizeof(saved_games),1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:820:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, PlayerCfg.NetworkMessageMacro[i], len, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:832:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &PlayerCfg.KeySettings[0], sizeof(PlayerCfg.KeySettings[0]),1)!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:834:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &PlayerCfg.KeySettings[1], sizeof(PlayerCfg.KeySettings[1]),1)!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:837:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &PlayerCfg.KeySettings[2], sizeof(PlayerCfg.KeySettings[2]),1)!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:840:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &PlayerCfg.ControlType, sizeof(ubyte), 1 )!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:842:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] else if (PHYSFS_read(file, &dummy_joy_sens, sizeof(ubyte), 1) !=1 ) ^~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:875:2: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] nm_messagebox(TXT_ERROR, 1, TXT_OK, "%s\n\n%s", "Error reading PLR file", PHYSFS_getLastError()); ^~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/playsave.c: In function 'write_player_file': main/playsave.c:976:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if ((PHYSFS_write( file, PlayerCfg.HighestLevels, sizeof(hli), PlayerCfg.NHighestLevels) != PlayerCfg.NHighestLevels)) { ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:982:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write( file, saved_games,sizeof(saved_games),1) != 1) { ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:989:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if ((PHYSFS_write( file, PlayerCfg.NetworkMessageMacro, MAX_MESSAGE_LEN, 4) != 4)) { ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1009:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, PlayerCfg.KeySettings[0], sizeof(PlayerCfg.KeySettings[0]), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1011:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, PlayerCfg.KeySettings[1], sizeof(PlayerCfg.KeySettings[1]), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1014:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, "0", sizeof(ubyte), 1) != 1) // Skip obsolete Flightstick/Thrustmaster/Gravis map fields ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1016:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, PlayerCfg.KeySettings[2], sizeof(PlayerCfg.KeySettings[2]), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1019:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, "0", sizeof(ubyte), 1) != 1) // Skip obsolete Cyberman map field ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1025:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write( file, &PlayerCfg.ControlType, sizeof(ubyte), 1 )!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:1027:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] else if (PHYSFS_write( file, &old_avg_joy_sensitivity, sizeof(ubyte), 1 )!=1) ^~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/playsave.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ Compiling main/polyobj.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/powerup.c ... Compiling main/render.c ... In file included from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from main/polyobj.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from main/polyobj.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from main/polyobj.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from main/polyobj.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from main/polyobj.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from main/polyobj.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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/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/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); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/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, ^~~~~~~~~~~ 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); ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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': 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, ^~~~~~~~~~~ include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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); ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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': 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, ^~~~~~~~~~~ include/physfsx.h:86:4: warning: 'PHYSFS_read' is 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, ^~~~~~~~~~~ main/state.c:1468:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~ 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/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/texmerge.c: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); ^~~~~~ 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, ^~~~~~~~~~~ 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)); ^~~~~~ 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/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 include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/texmerge.c: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, ^~~~~~~~~~~ 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/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/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, ^~~~~~~~~~~ Compiling main/text.c ... Compiling main/titles.c ... main/switch.c: In function 'trigger_read_n_swap': main/switch.c:289:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, t, sizeof(trigger), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/switch.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/vclip.c ... In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_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, ^~~~~~~~~~~ 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 main/wall.c ... main/titles.c: In function 'load_screen_text': main/titles.c:364:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(tfile, *buf, 1, len); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from main/titles.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/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/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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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': Compiling maths/fixc.c ... include/physfsx.h:72:4: warning: 'PHYSFS_read' is 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/rand.c ... Compiling maths/tables.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 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ Compiling misc/dl_list.c ... 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/error.c ... Compiling misc/hash.c ... Compiling misc/ignorecase.c ... Compiling misc/hmp.c ... Compiling misc/physfsx.c ... Compiling misc/strio.c ... In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readSXE16': 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); ^~~~~~~~~~~ include/physfsx.h:36: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/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': 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, ^~~~~~~~~~~ include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_gets': In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ include/physfsx.h: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': In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:99:2: warning: '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:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ include/physfsx.h:104:2: 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/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: 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 misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/hmp.c: In function 'hmp_open': Compiling misc/strutil.c ... 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/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, ^~~~~~~~~~~ Compiling texmap/ntmap.c ... 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/scanline.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 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 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ Compiling main/vers_id.c ... 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/bitblt.c ... Compiling 2d/bitmap.c ... Compiling 2d/box.c ... Compiling 2d/canvas.c ... Compiling 2d/circle.c ... Compiling 2d/disc.c ... Compiling 2d/font.c ... Compiling 2d/gpixel.c ... Compiling 2d/line.c ... Compiling 2d/palette.c ... In file included from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 2d/pcx.c ... 2d/font.c: In function 'gr_init_font': 2d/font.c:998:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, file_id, 4, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1011:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, font_data, 1, datasize); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1052:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile,palette,3,256); //read the palette ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from 2d/font.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 2d/pixel.c ... 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/palette.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE16': In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ include/physfsx.h:104:2: 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 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/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, ^~~~~~~~~~~ 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': 2d/pcx.c: In function 'PCXHeader_read_n': include/physfsx.h:104:2: 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, ^~~~~~~~~~~~ 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~~ 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~~ 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/pcx.c:333:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] retval = PHYSFS_write(PCXfile, palette, 768, 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ 2d/palette.c: 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/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 ... 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 ... Compiling arch/sdl/digi.c ... In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/digi_audio.c ... 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, ^~~~~~~~~~~ Compiling arch/sdl/digi_mixer.c ... In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ arch/ogl/gr.c: In function 'write_bmp': arch/ogl/gr.c:1074:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(TGAFile,&TGA,sizeof(TGA_header),1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ arch/ogl/gr.c:1075:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(TGAFile,buf,w*h*3*sizeof(unsigned char),1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ Compiling arch/sdl/digi_mixer_music.c ... In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: 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/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, ^~~~~~~~~~~ Compiling arch/sdl/event.c ... In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/init.c ... Compiling arch/sdl/joy.c ... Compiling arch/sdl/jukebox.c ... Compiling arch/sdl/key.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h: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/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, ^~~~~~~~~~~ arch/sdl/jukebox.c: In function 'jukebox_load': arch/sdl/jukebox.c:175:3: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if (PHYSFS_isDirectory(GameCfg.CMLevelMusicPath)) // find files in relative directory ^~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ arch/sdl/jukebox.c:180:4: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(GameCfg.CMLevelMusicPath, 0); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ arch/sdl/jukebox.c:189:5: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(GameCfg.CMLevelMusicPath); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/jukebox.c:197:4: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(GameCfg.CMLevelMusicPath); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from 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 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': In file included from include/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: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/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 include/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 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 include/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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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; ^~~~~ Compiling arch/sdl/rbaudio.c ... 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; ^~~~~ Compiling arch/sdl/timer.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/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 ... 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); ^~~~~~~~~~~ Compiling main/aipath.c ... In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ iff/iff.c: In function 'parse_body': iff/iff.c:172:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile, p, width, depth); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ iff/iff.c:208:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile, p, nn, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ iff/iff.c: In function 'write_body': iff/iff.c:749:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(ofile,new_span,newlen,1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ iff/iff.c:752:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(ofile,p,bitmap_header->w+odd,1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ Compiling main/automap.c ... Compiling main/bm.c ... In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 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/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': In file included from main/game.h:23, from main/ai.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 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:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ main/bm.c: In function 'tmap_info_read_n': 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling main/dumpmine.c ... Compiling main/effects.c ... Compiling main/endlevel.c ... In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/fireball.c ... In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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/fuelcen.c ... Compiling main/fvi.c ... Compiling main/game.c ... Compiling main/gamecntl.c ... In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/fuelcen.c: In function 'matcen_info_read_n_swap': main/fuelcen.c:701:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, mi, sizeof(matcen_info), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/fuelcen.c: In function 'fuelcen_read_n_swap': main/fuelcen.c:742:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, fc, sizeof(FuelCenter), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 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/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/gamefont.c ... Compiling main/gamemine.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': include/physfsx.h:36:2: 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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/gameseg.c ... Compiling main/gameseq.c ... Compiling main/gauges.c ... Compiling main/hostage.c ... In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 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/gameseg.c: In function 'trace_segs': main/gameseg.c:728:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (sidenum = 0, bit = 1; sidenum < 6; sidenum++, bit <<= 1) ^~~ main/gameseg.c:735:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if (biggest_side == -1) ^~ In file included from main/game.h:23, from main/gauges.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/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/hud.c ... main/gauges.c: In function 'hud_show_weapons_mode': main/gauges.c:1054:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main/gauges.c:1056:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' break; ^~~~~ 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 ... Compiling main/kconfig.c ... In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/kmatrix.c ... 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ main/laser.c: In function 'do_laser_firing_player': main/laser.c:1126:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (plp->energy < 0) ^~ main/laser.c:1129:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ammo_used > plp->primary_ammo[Primary_weapon]) ^~ In file included from main/game.h:23, from main/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/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/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/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/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/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/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': Compiling main/menu.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/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/mglobal.c ... In file included from main/game.h:23, from main/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) ^~ Compiling main/mission.c ... In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/morph.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/mission.c: In function 'add_missions_to_list': main/mission.c:378:3: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if (PHYSFS_isDirectory(path)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ Compiling main/multi.c ... main/menu.c: In function 'list_dir_el': main/menu.c:1309:2: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if ((!strcmp((PHYSFS_getRealDir(fname)==NULL?"":PHYSFS_getRealDir(fname)), b->view_path)) && (PHYSFS_isDirectory(fname) || (ext && *i)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ main/menu.c: In function 'list_directory': main/menu.c:1331:2: warning: 'PHYSFS_enumerateFilesCallback' is deprecated [-Wdeprecated-declarations] PHYSFS_enumerateFilesCallback("", (PHYSFS_EnumFilesCallback) list_dir_el, b); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:2385:18: note: declared here PHYSFS_DECL void PHYSFS_enumerateFilesCallback(const char *dir, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/menu.c: In function 'select_file_handler': main/menu.c:1434:4: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if ((citem == 0) || PHYSFS_isDirectory(list[citem])) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ main/menu.c:1445:5: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(b->view_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main/menu.c: In function 'select_file_recursive': main/menu.c:1517:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] while (!PHYSFS_addToSearchPath(b->view_path, 0)) ^~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ main/menu.c:1533:3: warning: 'PHYSFS_getUserDir' is deprecated [-Wdeprecated-declarations] strncpy(b->view_path, PHYSFS_getUserDir(), PATH_MAX - 1); ^~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:792:25: note: declared here PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~ main/menu.c:1536:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] if (!PHYSFS_addToSearchPath(b->view_path, 0)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ 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/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, ^~~~~~~~~~~ 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; ^~ Compiling main/multibot.c ... main/multi.c:3776:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_play_sound(buf); break; ^~~~~ main/multi.c:3778:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_claim_robot(buf); break; ^~ main/multi.c:3778:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_claim_robot(buf); break; ^~~~~ main/multi.c:3780:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_position(buf); break; ^~ main/multi.c:3780:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_robot_position(buf); break; ^~~~~ main/multi.c:3782:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_explode(buf); break; ^~ main/multi.c:3782:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_robot_explode(buf); break; ^~~~~ main/multi.c:3784:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_release_robot(buf); break; ^~ main/multi.c:3784:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_release_robot(buf); break; ^~~~~ main/multi.c:3786:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_fire(buf); break; ^~ main/multi.c:3786:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_robot_fire(buf); break; ^~~~~ main/multi.c:3788:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_score(buf); break; ^~ main/multi.c:3788:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_score(buf); break; ^~~~~ main/multi.c:3790:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_robot(buf); break; ^~ main/multi.c:3790:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_create_robot(buf); break; ^~~~~ main/multi.c:3792:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_trigger(buf); break; ^~ main/multi.c:3792:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_trigger(buf); break; ^~~~~ main/multi.c:3794:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_boss_actions(buf); break; ^~ main/multi.c:3794:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_boss_actions(buf); break; ^~~~~ main/multi.c:3796:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_robot_powerups(buf); break; ^~ main/multi.c:3796:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_create_robot_powerups(buf); break; ^~~~~ main/multi.c:3798:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_hostage_door_status(buf); break; ^~ main/multi.c:3798:63: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_hostage_door_status(buf); break; ^~~~~ main/multi.c:3800:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_save_game(buf); break; ^~ main/multi.c:3800:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_save_game(buf); break; ^~~~~ main/multi.c:3802:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_restore_game(buf); break; ^~ main/multi.c:3802:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_restore_game(buf); break; ^~~~~ main/multi.c:3804:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_powcap_update(buf); break; ^~ main/multi.c:3804:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_powcap_update(buf); break; ^~~~~ main/multi.c:3806:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_heartbeat (buf); break; ^~ main/multi.c:3806:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_heartbeat (buf); break; ^~~~~ main/multi.c:3808:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_kill_goal_counts (buf); break; ^~ main/multi.c:3808:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_kill_goal_counts (buf); break; ^~~~~ main/multi.c:3810:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( !Endlevel_sequence ) multi_do_bounty( buf ); break; ^~ main/multi.c:3810:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( !Endlevel_sequence ) multi_do_bounty( buf ); break; ^~~~~ In file included from main/game.h:23, from main/multibot.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-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 ... 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/newmenu.c ... 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, ^~~~~~~~~~~ Compiling main/paging.c ... 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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/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, ^~~~~~~~~~~ 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/player.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, ^~~~~~~~~~~ Compiling main/playsave.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/polyobj.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, ^~~~~~~~~~~~ Compiling main/powerup.c ... In file included from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from main/polyobj.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from main/polyobj.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from main/polyobj.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from main/polyobj.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from main/polyobj.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from main/polyobj.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ Compiling main/render.c ... 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/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/render.c: In function 'render_mine': main/render.c:1878:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Viewer->type!=OBJ_ROBOT) ^~ main/render.c:1881:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (sn=0; sntype!=OBJ_ROBOT) ^~ main/render.c:1992:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (sn=0; snbm_data, THUMBNAIL_W * THUMBNAIL_H, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c: In function 'state_save_old_game': main/state.c:685:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, dgss_id, sizeof(char) * 4, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:689:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:693:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, desc, sizeof(char) * DESC_LENGTH, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:726:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, cnv->cv_bitmap.bm_data, THUMBNAIL_W * THUMBNAIL_H, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:735:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &color, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:740:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:745:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &mission_filename, 9 * sizeof(char), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:749:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:751:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:755:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:758:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &sg_player, sizeof(player_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:762:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_byte, sizeof(sbyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:764:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_byte, sizeof(sbyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:768:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:772:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.enabled, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:773:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &cheats.turbo, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:774:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &state_game_id, sizeof(uint), 1 ); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:775:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &cheats.rapidfire, sizeof(int), 1 ); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:776:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &temp_int, sizeof(int), 1 ); // was Ugly_robot_cheat ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:777:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &temp_int, sizeof(int), 1 ); // Ugly_robot_texture ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:778:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &cheats.ghostphysics, sizeof(int), 1 ); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:779:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &temp_int, sizeof(int), 1 ); // was Lunacy ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c: In function 'state_save_all_sub': main/state.c:842:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, dgss_id, sizeof(char) * 4, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:846:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:851:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &state_game_id, sizeof(uint), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:852:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Players[Player_num].callsign, sizeof(char)*CALLSIGN_LEN+1, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:856:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, desc, sizeof(char) * DESC_LENGTH, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:891:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, cnv->cv_bitmap.bm_data, THUMBNAIL_W * THUMBNAIL_H, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:900:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &color, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:905:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:910:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &mission_filename, 9 * sizeof(char), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:913:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Current_level_num, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:914:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Next_level_num, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:919:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:928:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:933:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Primary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:934:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Secondary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:937:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Difficulty_level, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:940:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.enabled, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:941:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.turbo, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:965:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:973:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, obj_rw, sizeof(object_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:979:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:980:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Walls, sizeof(wall), i); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:984:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:985:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, ActiveDoors, sizeof(active_door), i); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:988:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_triggers, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:989:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Triggers, sizeof(trigger), Num_triggers); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:996:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Segments[i].sides[j].wall_num, sizeof(short), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:997:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Segments[i].sides[j].tmap_num, sizeof(short), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:998:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Segments[i].sides[j].tmap_num2, sizeof(short), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1003:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_destroyed, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1004:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Countdown_seconds_left, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1005:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_robot_centers, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1006:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, RobotCenters, sizeof(matcen_info), Num_robot_centers); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1007:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &ControlCenterTriggers, sizeof(control_center_triggers), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1008:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_fuelcenters, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1014:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Station[i], sizeof(FuelCenter), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1019:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_been_hit, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1020:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_player_been_seen, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1021:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_next_fire_time, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1022:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_present, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1023:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Dead_controlcen_object_num, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1031:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Automap_visited, sizeof(ubyte), Highest_segment_index + 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1034:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Automap_visited, sizeof(ubyte), MAX_SEGMENTS_ORIGINAL); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1036:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &state_game_id, sizeof(uint), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1038:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.rapidfire, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1039:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); // was Ugly_robot_cheat ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1040:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); // was Ugly_robot_texture ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1041:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.ghostphysics, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1042:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); // was Lunacy ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1053:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1056:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.mission_title, sizeof(char), MISSION_NAME_LEN+1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1057:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.mission_name, sizeof(char), 9); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1058:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.levelnum, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1059:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.difficulty, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1060:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.game_status, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1061:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1062:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.max_numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1063:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.numconnected, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1064:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.level_time, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c: In function 'state_restore_all_sub': main/state.c:1137:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, id, sizeof(char) * 4, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1145:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &version, sizeof(int), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1162:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &saved_callsign, sizeof(char)*CALLSIGN_LEN+1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1171:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, desc, sizeof(char) * DESC_LENGTH, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1181:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, mission, sizeof(char) * 9, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1222:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1231:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Primary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1232:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Secondary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1263:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, obj_rw, sizeof(object_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1274:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, obj_rw, sizeof(object_rw)-3, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1373:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, Automap_visited, sizeof(ubyte), Highest_segment_index + 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1376:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, Automap_visited, sizeof(ubyte), MAX_SEGMENTS_ORIGINAL); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1412:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1463:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.mission_title, sizeof(char), MISSION_NAME_LEN+1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1464:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.mission_name, sizeof(char), 9); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1466:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.difficulty, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 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); ^~~~~~~~~~~ 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 include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/switch.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c: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, ^~~~~~~~~~~ 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); ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~~ main/state.c: In function 'state_get_game_id': 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, ^~~~~~~~~~~ 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_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_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/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/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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ Compiling main/titles.c ... Compiling main/vclip.c ... Compiling main/wall.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, ^~~~~~~~~~~ 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 ... Compiling maths/fixc.c ... 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/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 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 include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:20: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: 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/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': 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, ^~~~~~~~~~~ include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling maths/vecmat.c ... Compiling mem/mem.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, ^~~~~~~~~~~ main/weapon.c: In function 'player_has_weapon': main/weapon.c:74:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 0 : if((Players[Player_num].laser_level != 0)||(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:76:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:77:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 1 : if((Players[Player_num].laser_level != 1)||(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:79:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:80:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 2 : if((Players[Player_num].laser_level != 2)||(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:82:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:83:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 3 : if((Players[Player_num].laser_level != 3)||(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:85:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:86:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 4 : if((Players[Player_num].laser_level != 0)||!(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:88:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:89:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 5 : if((Players[Player_num].laser_level != 1)||!(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:91:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:92:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 6 : if((Players[Player_num].laser_level != 2)||!(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:94:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ main/weapon.c:95:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case 7 : if((Players[Player_num].laser_level != 3)||!(Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)) ^~ main/weapon.c:97:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ Compiling misc/args.c ... 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 ... 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/error.c ... Compiling misc/hash.c ... Compiling misc/hmp.c ... Compiling misc/ignorecase.c ... Compiling misc/physfsx.c ... Compiling misc/strio.c ... Compiling misc/strutil.c ... In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94: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/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 ... 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); ^~~~~~~~~~~ Compiling texmap/scanline.c ... In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ texmap/ntmap.c: In function 'ntmap_scanline_lighted_linear': texmap/ntmap.c:649:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((dx < 0) || (xright < 0) || (xleft > xright)) // the (xleft > xright) term is not redundant with (dx < 0) because dx is computed using integers ^~ texmap/ntmap.c:653:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (dx < FIX_RECIP_TABLE_SIZE) ^~ In file included from 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 main/net_udp.c ... In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/physfsx.c:17: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 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, ^~~~~~~~~~~ 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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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++; ^~~ misc/physfsx.c: In function 'PHYSFSX_addArchiveContent': misc/physfsx.c:477:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] if (PHYSFS_addToSearchPath(file[1], 0)) ^~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_removeArchiveContent': misc/physfsx.c:535:3: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(file[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:551:3: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(file[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling main/vers_id.c ... 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': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ Compiling 2d/line.c ... Compiling 2d/palette.c ... 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/pcx.c ... Compiling 2d/pixel.c ... Compiling 2d/poly.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); ^~~~~~~~~~~ Compiling 2d/rect.c ... In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: '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 ... Compiling arch/ogl/gr.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/ogl.c ... In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/digi.c ... Compiling arch/sdl/digi_audio.c ... Compiling arch/sdl/digi_mixer.c ... arch/ogl/gr.c: In function 'write_bmp': arch/ogl/gr.c:1074:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(TGAFile,&TGA,sizeof(TGA_header),1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ arch/ogl/gr.c:1075:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(TGAFile,buf,w*h*3*sizeof(unsigned char),1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ Compiling arch/sdl/digi_mixer_music.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 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 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/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, ^~~~~~~~~~~ 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 ... 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': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/key.c ... arch/ogl/ogl.c: In function 'tex_format_supported': arch/ogl/ogl.c:1259:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!GameArg.DbgGlIntensity4Ok) return 0; break; ^~ 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 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, ^~~~~~~~~~~ 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 ... 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 arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/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, ^~~~~~~~~~~ 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/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 iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ iff/iff.c: In function 'parse_body': iff/iff.c:172:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile, p, width, depth); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ iff/iff.c:208:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile, p, nn, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ iff/iff.c: In function 'write_body': iff/iff.c:749:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(ofile,new_span,newlen,1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ iff/iff.c:752:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(ofile,p,bitmap_header->w+odd,1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ Compiling main/bm.c ... 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/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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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/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/dumpmine.c ... Compiling main/effects.c ... Compiling main/endlevel.c ... In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/endlevel.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/fireball.c ... 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/object.h:25, from main/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/fireball.c: In function 'object_create_explosion_sub': main/fireball.c:146:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (killer != ConsoleObject) // if someone else whacks you, cut force by 2x ^~ main/fireball.c:147:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' vforce2.x /= 2; vforce2.y /= 2; vforce2.z /= 2; ^~~~~~~ main/fireball.c: In function 'pick_connected_segment': main/fireball.c:345:2: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] memset(seg_queue,0,QUEUE_SIZE*2); ^~~~~~ Compiling main/fuelcen.c ... Compiling main/fvi.c ... In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:80, from main/fvi.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/game.c ... Compiling main/gamecntl.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, ^~~~~~~~~~~ Compiling main/gamefont.c ... Compiling main/gamemine.c ... In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ Compiling main/gamerend.c ... main/fuelcen.c: In function 'fuelcen_read_n_swap': main/fuelcen.c:742:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, fc, sizeof(FuelCenter), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gamefont.h:25, from main/gamefont.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from main/gamefont.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gamefont.h:25, from main/gamefont.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from main/gamefont.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gamefont.h:25, from main/gamefont.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from main/gamefont.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gamefont.h:25, from main/gamefont.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from main/gamefont.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gamefont.h:25, from main/gamefont.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from main/gamefont.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gamefont.h:25, from main/gamefont.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from main/gamefont.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gamefont.h:25, from main/gamefont.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from main/gamefont.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gamefont.h:25, from main/gamefont.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from main/gamefont.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gamefont.h:25, from main/gamefont.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from main/gamefont.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gamefont.h:25, from main/gamefont.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gamefont.h:25, from main/gamefont.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gamesave.c ... In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:36: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gameseg.c ... Compiling main/gameseq.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/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/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gauges.c ... main/gameseg.c: In function 'trace_segs': main/gameseg.c:728:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (sidenum = 0, bit = 1; sidenum < 6; sidenum++, bit <<= 1) ^~~ main/gameseg.c:735:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if (biggest_side == -1) ^~ In file included from main/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, ^~~~~~~~~~~ Compiling main/hostage.c ... 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/hud.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/inferno.c ... In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/gauges.c: In function 'hud_show_weapons_mode': main/gauges.c:1054:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main/gauges.c:1056:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' break; ^~~~~ Compiling main/kconfig.c ... In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readSXE32': Compiling main/kmatrix.c ... include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/laser.c ... In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/lighting.c ... In file included from main/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, ^~~~~~~~~~~ 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/menu.c ... 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, ^~~~~~~~~~~ Compiling main/mission.c ... 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/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, ^~~~~~~~~~~ Compiling main/morph.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/mission.c: In function 'add_missions_to_list': main/mission.c:378:3: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if (PHYSFS_isDirectory(path)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ main/menu.c: In function 'list_dir_el': main/menu.c:1309:2: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if ((!strcmp((PHYSFS_getRealDir(fname)==NULL?"":PHYSFS_getRealDir(fname)), b->view_path)) && (PHYSFS_isDirectory(fname) || (ext && *i)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ main/menu.c: In function 'list_directory': main/menu.c:1331:2: warning: 'PHYSFS_enumerateFilesCallback' is deprecated [-Wdeprecated-declarations] PHYSFS_enumerateFilesCallback("", (PHYSFS_EnumFilesCallback) list_dir_el, b); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:2385:18: note: declared here PHYSFS_DECL void PHYSFS_enumerateFilesCallback(const char *dir, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/menu.c: In function 'select_file_handler': main/menu.c:1434:4: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if ((citem == 0) || PHYSFS_isDirectory(list[citem])) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ main/menu.c:1445:5: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(b->view_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main/menu.c: In function 'select_file_recursive': main/menu.c:1517:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] while (!PHYSFS_addToSearchPath(b->view_path, 0)) ^~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ main/menu.c:1533:3: warning: 'PHYSFS_getUserDir' is deprecated [-Wdeprecated-declarations] strncpy(b->view_path, PHYSFS_getUserDir(), PATH_MAX - 1); ^~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:792:25: note: declared here PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~ Compiling main/multi.c ... main/menu.c:1536:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] if (!PHYSFS_addToSearchPath(b->view_path, 0)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ Compiling main/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 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/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': 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, ^~~~~~~~~~~ include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/game.h:23, from main/multibot.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': 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, ^~~~~~~~~~~ include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-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/multi.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': 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, ^~~~~~~~~~~ include/physfsx.h:94:2: 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/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/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': 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, ^~~~~~~~~~~~ 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/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/multi.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': 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, ^~~~~~~~~~~~ include/physfsx.h:121:2: warning: '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/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 include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/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 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': 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/multi.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:45: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/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/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/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/game.h:23, from main/multibot.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multibot.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:25, from main/morph.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/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/newdemo.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/newmenu.c ... 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, ^~~~~~~~~~~ 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 ... Compiling main/piggy.c ... In file included from main/segment.h:23, from main/physics.c:20: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:20: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:20: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:20: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:20: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:20: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:20: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:20: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:20: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:20: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:20: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:20: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:20: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:20: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:20: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:20: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:20: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:20: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:20: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:20: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/player.c ... In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'DiskBitmapHeader_read': main/piggy.c:117:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, dbh->name, 8, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'DiskSoundHeader_read': main/piggy.c:131:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, dsh->name, 8, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'piggy_read_sounds': main/piggy.c:520:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(array, Sounds, MAX_SOUNDS, 1) != 1) // make the 'Sounds' index array match with the sounds we're about to read in ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c:522:5: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT,"Warning: Can't read Sounds/sounds.array: %s", PHYSFS_getLastError()); ^~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/piggy.c:568:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, lastbuf, SoundCompressed[i], 1 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c:575:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, snd->data, snd->length, 1 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'piggy_bitmap_page_in': main/piggy.c:663:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, &Piggy_bitmap_cache_data[Piggy_bitmap_cache_next], 1, zsize-4 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c:682:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, &Piggy_bitmap_cache_data[Piggy_bitmap_cache_next], 1, bmp->bm_h*bmp->bm_w ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:28, from main/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 ... 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/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/polyobj.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, ^~~~~~~~~~~ Compiling main/powerup.c ... main/polyobj.c: In function 'polymodel_read_n': main/polyobj.c:757:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pm[i].submodel_parents, MAX_SUBMODELS, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from main/polyobj.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/polyobj.c: In function 'polygon_model_data_read': main/polyobj.c:780:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pm->model_data, sizeof(ubyte), pm->model_data_size); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:11, from main/polyobj.h:30, from main/polyobj.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/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, ^~~~~~~~~~~ main/render.c: In function 'render_mine': main/render.c:1878:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Viewer->type!=OBJ_ROBOT) ^~ main/render.c:1881:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (sn=0; sntype!=OBJ_ROBOT) ^~ main/render.c:1992:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (sn=0; snbm_data, THUMBNAIL_W * THUMBNAIL_H, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c: In function 'state_save_old_game': main/state.c:685:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, dgss_id, sizeof(char) * 4, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:689:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:693:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, desc, sizeof(char) * DESC_LENGTH, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:726:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, cnv->cv_bitmap.bm_data, THUMBNAIL_W * THUMBNAIL_H, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:735:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &color, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:740:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:745:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &mission_filename, 9 * sizeof(char), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:749:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:751:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:755:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:758:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &sg_player, sizeof(player_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:762:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_byte, sizeof(sbyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:764:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_byte, sizeof(sbyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:768:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp_int, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:772:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.enabled, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:773:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &cheats.turbo, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:774:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &state_game_id, sizeof(uint), 1 ); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:775:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &cheats.rapidfire, sizeof(int), 1 ); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:776:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &temp_int, sizeof(int), 1 ); // was Ugly_robot_cheat ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:777:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &temp_int, sizeof(int), 1 ); // Ugly_robot_texture ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:778:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &cheats.ghostphysics, sizeof(int), 1 ); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:779:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write( fp, &temp_int, sizeof(int), 1 ); // was Lunacy ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c: In function 'state_save_all_sub': main/state.c:842:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, dgss_id, sizeof(char) * 4, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:846:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:851:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &state_game_id, sizeof(uint), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:852:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Players[Player_num].callsign, sizeof(char)*CALLSIGN_LEN+1, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:856:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, desc, sizeof(char) * DESC_LENGTH, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:891:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, cnv->cv_bitmap.bm_data, THUMBNAIL_W * THUMBNAIL_H, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:900:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &color, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:905:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:910:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &mission_filename, 9 * sizeof(char), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:913:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Current_level_num, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:914:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Next_level_num, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:919:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:928:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:933:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Primary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:934:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Secondary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:937:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Difficulty_level, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:940:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.enabled, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:941:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.turbo, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:965:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:973:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, obj_rw, sizeof(object_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:979:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:980:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Walls, sizeof(wall), i); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:984:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:985:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, ActiveDoors, sizeof(active_door), i); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:988:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_triggers, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:989:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Triggers, sizeof(trigger), Num_triggers); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:996:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Segments[i].sides[j].wall_num, sizeof(short), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:997:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Segments[i].sides[j].tmap_num, sizeof(short), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:998:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Segments[i].sides[j].tmap_num2, sizeof(short), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1003:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_destroyed, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1004:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Countdown_seconds_left, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1005:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_robot_centers, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1006:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, RobotCenters, sizeof(matcen_info), Num_robot_centers); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1007:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &ControlCenterTriggers, sizeof(control_center_triggers), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1008:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_fuelcenters, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1014:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Station[i], sizeof(FuelCenter), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1019:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_been_hit, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1020:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_player_been_seen, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1021:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_next_fire_time, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1022:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_present, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1023:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Dead_controlcen_object_num, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1031:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Automap_visited, sizeof(ubyte), Highest_segment_index + 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1034:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Automap_visited, sizeof(ubyte), MAX_SEGMENTS_ORIGINAL); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1036:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &state_game_id, sizeof(uint), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1038:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.rapidfire, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1039:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); // was Ugly_robot_cheat ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1040:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); // was Ugly_robot_texture ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1041:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.ghostphysics, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1042:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); // was Lunacy ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1053:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1056:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.mission_title, sizeof(char), MISSION_NAME_LEN+1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1057:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.mission_name, sizeof(char), 9); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1058:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.levelnum, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1059:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.difficulty, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1060:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.game_status, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1061:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1062:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.max_numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1063:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.numconnected, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1064:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.level_time, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c: In function 'state_restore_all_sub': main/state.c:1137:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, id, sizeof(char) * 4, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1145:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &version, sizeof(int), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1162:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &saved_callsign, sizeof(char)*CALLSIGN_LEN+1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1171:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, desc, sizeof(char) * DESC_LENGTH, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1181:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, mission, sizeof(char) * 9, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1222:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1231:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Primary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1232:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Secondary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1263:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, obj_rw, sizeof(object_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1274:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, obj_rw, sizeof(object_rw)-3, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1373:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, Automap_visited, sizeof(ubyte), Highest_segment_index + 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1376:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, Automap_visited, sizeof(ubyte), MAX_SEGMENTS_ORIGINAL); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1412:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1463:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.mission_title, sizeof(char), MISSION_NAME_LEN+1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1464:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.mission_name, sizeof(char), 9); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1466:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.difficulty, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1467:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.game_status, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1468:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1469:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.max_numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1470:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.numconnected, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c: In function 'state_get_game_id': main/state.c:1514:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, id, sizeof(char) * 4, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1522:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &version, sizeof(int), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1536:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &saved_callsign, sizeof(char)*CALLSIGN_LEN+1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 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/vclip.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/wall.c ... Compiling main/weapon.c ... Compiling maths/fixc.c ... 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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/vecmat.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 mem/mem.c ... Compiling misc/args.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, ^~~~~~~~~~~ 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 ... 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, ^~~~~~~~~~~ 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/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, ^~~~~~~~~~~ Compiling texmap/ntmap.c ... Compiling texmap/scanline.c ... Compiling main/net_udp.c ... Compiling main/vers_id.c ... In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:20: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:265:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:24, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ texmap/ntmap.c: In function 'ntmap_scanline_lighted_linear': texmap/ntmap.c:649:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((dx < 0) || (xright < 0) || (xleft > xright)) // the (xleft > xright) term is not redundant with (dx < 0) because dx is computed using integers ^~ texmap/ntmap.c:653:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (dx < FIX_RECIP_TABLE_SIZE) ^~ 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.43174 + 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) verify-elf: WARNING: ./usr/games/d1x-rebirth-shareware-sdl: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/games/d1x-rebirth-sdl: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/games/d1x-rebirth-shareware-gl: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/games/d1x-rebirth-gl: uses non-LFS functions: fopen Hardlinking identical .pyc and .pyo files Processing files: d1x-rebirth-0.58.1-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.43288 + 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.7I6pSF 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.WgomZl find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Obsoletes: d1x-common Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9VmRxh Processing files: d1x-rebirth-sdl-0.58.1-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.40130 + 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.BSlMeW 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.nSaFMB find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: d1x-rebirth = 0.58.1, /lib/ld-linux.so.2, libGL.so.1 >= set:pjdsnYMZvypQ129NKk2aUEyWLDbZCH7LRhLbZcQedbyYWZLu4TEBq9RvK0K7cN39QZnfJJ29TOZleHjsMBIm7iOHQVm0qewi2p4rPZsE6g54xGMwlKXc31amO4QUFtZ0, libGLU.so.1 >= set:jhZbnzj5, libSDL-1.2.so.0 >= set:lfG0r1WNvdNtSOVAtsqd7wwNiLYf7j3rZ8FxmVmCZ0jye9OfEZ1ZqCvaZIPju4LU0EAYFhZqypTXrw41jTYa2SJqp1noaqQVwZcCGjZ0IbENiZ78J0XY0, libSDL_mixer-1.2.so.0 >= set:kfkileXZwtZ1uIUyGL3l2OOAvoSCnNGrcyylZEY2gGgEyZ9KmtZ4u, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.11), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.1), libphysfs.so.1 >= set:ke1MDmIaXfJs3Zw6Z4CuXI6EzQffPT4ihILyQ06ggClu7SrnPeDuXgIZBJO8Xmcp7QoXr56A4l8ZsojDWIg69EgDCfCU0, libpthread.so.0(GLIBC_2.0), 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.DHtJ2c 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.9624 + 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.2CapKt 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.bzrT5H find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: d1x-rebirth = 0.58.1, /lib/ld-linux.so.2, libGL.so.1 >= set:pjdsnYMZvypQ129NKk2aUEyWLDbZCH7LRhLbZcQedbyYWZLu4TEBq9RvK0K7cN39QZnfJJ29TOZleHjsMBIm7iOHQVm0qewi2p4rPZsE6g54xGMwlKXc31amO4QUFtZ0, libGLU.so.1 >= set:jhZbnzj5, libSDL-1.2.so.0 >= set:lfG0r1WNvdNtSOVAtsqd7wwNiLYf7j3rZ8FxmVmCZ0jye9OfEZ1ZqCvaZIPju4LU0EAYFhZqypTXrw41jTYa2SJqp1noaqQVwZcCGjZ0IbENiZ78J0XY0, libSDL_mixer-1.2.so.0 >= set:kfkileXZwtZ1uIUyGL3l2OOAvoSCnNGrcyylZEY2gGgEyZ9KmtZ4u, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.11), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.1), libphysfs.so.1 >= set:ke1MDmIaXfJs3Zw6Z4CuXI6EzQffPT4ihILyQ06ggClu7SrnPeDuXgIZBJO8Xmcp7QoXr56A4l8ZsojDWIg69EgDCfCU0, libpthread.so.0(GLIBC_2.0), 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.MtvUUY 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.72j6H0 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fmhnAR find-requires: running scripts (debuginfo) Requires: d1x-rebirth-sdl = 0.58.1-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libGL.so.1), debug(libGLU.so.1), debug(libSDL-1.2.so.0), debug(libSDL_mixer-1.2.so.0), debug(libc.so.6), debug(libm.so.6), debug(libphysfs.so.1), debug(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.naMZ4G find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3wPgvH find-requires: running scripts (debuginfo) Requires: d1x-rebirth-gl = 0.58.1-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libGL.so.1), debug(libGLU.so.1), debug(libSDL-1.2.so.0), debug(libSDL_mixer-1.2.so.0), debug(libc.so.6), debug(libm.so.6), debug(libphysfs.so.1), debug(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/i586/d1x-rebirth-0.58.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/d1x-rebirth-sdl-0.58.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/d1x-rebirth-gl-0.58.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/d1x-rebirth-sdl-debuginfo-0.58.1-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/d1x-rebirth-gl-debuginfo-0.58.1-alt1.i586.rpm 223.10user 18.59system 2:16.28elapsed 177%CPU (0avgtext+0avgdata 45516maxresident)k 0inputs+0outputs (0major+3116919minor)pagefaults 0swaps 239.50user 25.82system 2:42.56elapsed 163%CPU (0avgtext+0avgdata 116364maxresident)k 624inputs+0outputs (0major+3545654minor)pagefaults 0swaps --- d1x-rebirth-gl-0.58.1-alt1.i586.rpm.repo 2013-08-26 15:14:50.000000000 +0000 +++ d1x-rebirth-gl-0.58.1-alt1.i586.rpm.hasher 2019-04-06 08:19:13.936557627 +0000 @@ -6,4 +6,5 @@ /usr/share/doc/d1x-rebirth-gl-0.58.1/COPYING.txt 100644 +Requires: d1x-rebirth = 0.58.1 Requires: /lib/ld-linux.so.2 -Requires: libGL.so.1 >= set:oinoUZ0Lj2BnFPJ0gxAvNcpzihv35DjNzk2awzaymTazqIHf8ZCz7LJWLDXxQPsDC5huy55uWS8KFp43zBFJ0nzy5MRw9q8xWvLSmhKZo8uLvVIeNmynEtZ0 +Requires: libGL.so.1 >= set:pjdsnYMZvypQ129NKk2aUEyWLDbZCH7LRhLbZcQedbyYWZLu4TEBq9RvK0K7cN39QZnfJJ29TOZleHjsMBIm7iOHQVm0qewi2p4rPZsE6g54xGMwlKXc31amO4QUFtZ0 Requires: rpmlib(SetVersions) @@ -11,3 +12,3 @@ Requires: libSDL-1.2.so.0 >= set:lfG0r1WNvdNtSOVAtsqd7wwNiLYf7j3rZ8FxmVmCZ0jye9OfEZ1ZqCvaZIPju4LU0EAYFhZqypTXrw41jTYa2SJqp1noaqQVwZcCGjZ0IbENiZ78J0XY0 -Requires: libSDL_mixer-1.2.so.0 >= set:lgaFOJ3aHhZ6l900k7MjukZcl1FkZ56dZwCJVlYW67hNGvObAkxEyJjn0 +Requires: libSDL_mixer-1.2.so.0 >= set:kfkileXZwtZ1uIUyGL3l2OOAvoSCnNGrcyylZEY2gGgEyZ9KmtZ4u Requires: libc.so.6(GLIBC_2.0) --- d1x-rebirth-sdl-0.58.1-alt1.i586.rpm.repo 2013-08-26 15:14:50.000000000 +0000 +++ d1x-rebirth-sdl-0.58.1-alt1.i586.rpm.hasher 2019-04-06 08:19:13.995555752 +0000 @@ -6,4 +6,5 @@ /usr/share/doc/d1x-rebirth-sdl-0.58.1/COPYING.txt 100644 +Requires: d1x-rebirth = 0.58.1 Requires: /lib/ld-linux.so.2 -Requires: libGL.so.1 >= set:oinoUZ0Lj2BnFPJ0gxAvNcpzihv35DjNzk2awzaymTazqIHf8ZCz7LJWLDXxQPsDC5huy55uWS8KFp43zBFJ0nzy5MRw9q8xWvLSmhKZo8uLvVIeNmynEtZ0 +Requires: libGL.so.1 >= set:pjdsnYMZvypQ129NKk2aUEyWLDbZCH7LRhLbZcQedbyYWZLu4TEBq9RvK0K7cN39QZnfJJ29TOZleHjsMBIm7iOHQVm0qewi2p4rPZsE6g54xGMwlKXc31amO4QUFtZ0 Requires: rpmlib(SetVersions) @@ -11,3 +12,3 @@ Requires: libSDL-1.2.so.0 >= set:lfG0r1WNvdNtSOVAtsqd7wwNiLYf7j3rZ8FxmVmCZ0jye9OfEZ1ZqCvaZIPju4LU0EAYFhZqypTXrw41jTYa2SJqp1noaqQVwZcCGjZ0IbENiZ78J0XY0 -Requires: libSDL_mixer-1.2.so.0 >= set:lgaFOJ3aHhZ6l900k7MjukZcl1FkZ56dZwCJVlYW67hNGvObAkxEyJjn0 +Requires: libSDL_mixer-1.2.so.0 >= set:kfkileXZwtZ1uIUyGL3l2OOAvoSCnNGrcyylZEY2gGgEyZ9KmtZ4u Requires: libc.so.6(GLIBC_2.0)