<86>Aug 12 11:16:13 userdel[25367]: delete user 'rooter' <86>Aug 12 11:16:13 userdel[25367]: removed group 'rooter' owned by 'rooter' <86>Aug 12 11:16:13 userdel[25367]: removed shadow group 'rooter' owned by 'rooter' <86>Aug 12 11:16:13 groupadd[25375]: group added to /etc/group: name=rooter, GID=597 <86>Aug 12 11:16:13 groupadd[25375]: group added to /etc/gshadow: name=rooter <86>Aug 12 11:16:13 groupadd[25375]: new group: name=rooter, GID=597 <86>Aug 12 11:16:13 useradd[25382]: new user: name=rooter, UID=597, GID=597, home=/root, shell=/bin/bash <86>Aug 12 11:16:13 userdel[25396]: delete user 'builder' <86>Aug 12 11:16:13 userdel[25396]: removed group 'builder' owned by 'builder' <86>Aug 12 11:16:13 userdel[25396]: removed shadow group 'builder' owned by 'builder' <86>Aug 12 11:16:13 groupadd[25404]: group added to /etc/group: name=builder, GID=598 <86>Aug 12 11:16:13 groupadd[25404]: group added to /etc/gshadow: name=builder <86>Aug 12 11:16:13 groupadd[25404]: new group: name=builder, GID=598 <86>Aug 12 11:16:13 useradd[25408]: new user: name=builder, UID=598, GID=598, home=/usr/src, shell=/bin/bash <13>Aug 12 11:16:17 rpmi: libglvnd-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Aug 12 11:16:17 rpmi: libogg-1.3.3-alt1 sisyphus+221902.4000.4.1 1550598661 installed <13>Aug 12 11:16:17 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Aug 12 11:16:18 rpmi: libflac8-1.3.2-alt2 sisyphus+220898.4400.11.1 1551973321 installed <13>Aug 12 11:16:18 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>Aug 12 11:16:18 rpmi: xorg-proto-devel-2019.1-alt1 sisyphus+232786.100.1.1 1561106722 installed <13>Aug 12 11:16:18 rpmi: libwayland-server-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Aug 12 11:16:18 rpmi: libOpenGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Aug 12 11:16:18 rpmi: libGLES-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Aug 12 11:16:18 rpmi: libphysfs-3.0.2-alt1 sisyphus+227312.100.1.1 1555511355 installed <13>Aug 12 11:16:18 rpmi: libnatspec-0.3.1-alt2 1445691580 installed <13>Aug 12 11:16:18 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890149 installed <13>Aug 12 11:16:18 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Aug 12 11:16:18 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Aug 12 11:16:18 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333068 installed <13>Aug 12 11:16:18 rpmi: liblz4-1:1.9.1-alt1 sisyphus+228057.100.1.1 1556059318 installed <13>Aug 12 11:16:18 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Aug 12 11:16:18 rpmi: libgcrypt20-1.8.4-alt3 sisyphus+232944.100.1.1 1561281975 installed <13>Aug 12 11:16:18 rpmi: libsystemd-1:242-alt11 sisyphus+235806.100.1.1 1565309194 installed <13>Aug 12 11:16:18 rpmi: libdbus-1.12.12-alt2 sisyphus+221234.100.1.2 1549918047 installed <13>Aug 12 11:16:18 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Aug 12 11:16:18 rpmi: libalsa-1:1.1.9-alt2 sisyphus+229323.100.1.1 1557826759 installed <13>Aug 12 11:16:18 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Aug 12 11:16:18 rpmi: libX11-locales-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106874 installed <13>Aug 12 11:16:18 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Aug 12 11:16:18 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Aug 12 11:16:18 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Aug 12 11:16:18 rpmi: libX11-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106876 installed <13>Aug 12 11:16:18 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Aug 12 11:16:18 rpmi: libpulseaudio-12.2-alt3 sisyphus+233325.100.1.1 1561640567 installed <13>Aug 12 11:16:18 rpmi: libmikmod-3.3.11.1-alt2 1502706814 installed <13>Aug 12 11:16:18 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Aug 12 11:16:18 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Aug 12 11:16:18 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Aug 12 11:16:18 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Aug 12 11:16:18 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Aug 12 11:16:19 rpmi: libSDL-1.2.14-alt8 sisyphus+232545.100.1.1 1560879163 installed <13>Aug 12 11:16:19 rpmi: libSDL_mixer-1.2.12-alt1 1421435874 installed <13>Aug 12 11:16:21 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Aug 12 11:16:21 rpmi: libX11-devel-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106876 installed <13>Aug 12 11:16:21 rpmi: libwayland-client-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Aug 12 11:16:21 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438291 installed <13>Aug 12 11:16:21 rpmi: libdrm-1:2.4.99-alt1 sisyphus+234110.100.1.1 1562593653 installed <13>Aug 12 11:16:21 rpmi: libGLX-mesa-4:19.1.3-alt1 sisyphus+235105.100.1.2 1564524098 installed <13>Aug 12 11:16:21 rpmi: libGLX-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Aug 12 11:16:21 rpmi: libGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Aug 12 11:16:21 rpmi: libGLU-4:9.0.0-alt1 1347643784 installed <13>Aug 12 11:16:21 rpmi: libgbm-4:19.1.3-alt1 sisyphus+235105.100.1.2 1564524098 installed <13>Aug 12 11:16:21 rpmi: libEGL-mesa-4:19.1.3-alt1 sisyphus+235105.100.1.2 1564524098 installed <13>Aug 12 11:16:21 rpmi: libEGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Aug 12 11:16:21 rpmi: libglvnd-devel-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Aug 12 11:16:21 rpmi: libEGL-devel-4:19.1.3-alt1 sisyphus+235105.100.1.2 1564524098 installed <13>Aug 12 11:16:21 rpmi: libGL-devel-4:19.1.3-alt1 sisyphus+235105.100.1.2 1564524098 installed <13>Aug 12 11:16:21 rpmi: libGLU-devel-4:9.0.0-alt1 1347643784 installed <13>Aug 12 11:16:21 rpmi: libSDL-devel-1.2.14-alt8 sisyphus+232545.100.1.1 1560879163 installed <13>Aug 12 11:16:21 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Aug 12 11:16:22 rpmi: libstdc++8-devel-8.3.1-alt5 sisyphus+235477.100.1.1 1565022025 installed <13>Aug 12 11:16:23 rpmi: gcc8-c++-8.3.1-alt5 sisyphus+235477.100.1.1 1565022025 installed <13>Aug 12 11:16:23 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Aug 12 11:16:23 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Aug 12 11:16:23 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Aug 12 11:16:23 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Aug 12 11:16:23 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Aug 12 11:16:23 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Aug 12 11:16:23 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Aug 12 11:16:23 rpmi: libtasn1-4.14-alt1 sisyphus+235791.100.1.1 1565282372 installed <13>Aug 12 11:16:23 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Aug 12 11:16:23 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Aug 12 11:16:23 rpmi: ca-certificates-2019.07.11-alt1 sisyphus+234280.200.1.1 1562839906 installed <13>Aug 12 11:16:23 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Aug 12 11:16:23 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Aug 12 11:16:23 rpmi: libcrypto1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667822 installed <13>Aug 12 11:16:23 rpmi: libssl1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667822 installed <13>Aug 12 11:16:23 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Aug 12 11:16:23 groupadd[30432]: group added to /etc/group: name=_keytab, GID=499 <86>Aug 12 11:16:23 groupadd[30432]: group added to /etc/gshadow: name=_keytab <86>Aug 12 11:16:23 groupadd[30432]: new group: name=_keytab, GID=499 <13>Aug 12 11:16:24 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746516 installed <13>Aug 12 11:16:24 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Aug 12 11:16:24 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Aug 12 11:16:24 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Aug 12 11:16:24 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Aug 12 11:16:24 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Aug 12 11:16:24 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Aug 12 11:16:24 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Aug 12 11:16:24 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Aug 12 11:16:24 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Aug 12 11:16:24 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Aug 12 11:16:24 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Aug 12 11:16:24 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Aug 12 11:16:24 rpmi: python-tools-2to3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Aug 12 11:16:24 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Aug 12 11:16:24 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Aug 12 11:16:24 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Aug 12 11:16:24 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Aug 12 11:16:24 rpmi: python-module-pkg_resources-1:41.0.1-alt3 sisyphus+235493.5100.8.1 1565463085 installed <13>Aug 12 11:16:24 rpmi: python-modules-json-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Aug 12 11:16:24 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Aug 12 11:16:24 rpmi: python-dev-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Aug 12 11:16:24 rpmi: python-module-setuptools-1:41.0.1-alt3 sisyphus+235493.5100.8.1 1565463085 installed <13>Aug 12 11:16:25 rpmi: scons-3.0.1-alt1 1518686948 installed <13>Aug 12 11:16:25 rpmi: gcc-c++-8-alt2 sisyphus+235723.100.1.1 1565191484 installed <13>Aug 12 11:16:25 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435874 installed <13>Aug 12 11:16:25 rpmi: unzip-6.0-alt2.qa1 1366155324 installed <13>Aug 12 11:16:25 rpmi: libphysfs-devel-3.0.2-alt1 sisyphus+227312.100.1.1 1555511355 installed <13>Aug 12 11:16:25 rpmi: dos2unix-7.3.5-alt1 1499695585 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/d2x-rebirth-0.58.1-alt2.nosrc.rpm Installing d2x-rebirth-0.58.1-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.34901 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf d2x-rebirth_v0.58.1-src + echo 'Source #0 (d2x-rebirth_v0.58.1-src.tar.gz):' Source #0 (d2x-rebirth_v0.58.1-src.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/d2x-rebirth_v0.58.1-src.tar.gz + /bin/tar -xf - + cd d2x-rebirth_v0.58.1-src + echo 'Source #2 (D2XBDE01.zip):' Source #2 (D2XBDE01.zip): + /usr/bin/unzip -qq /usr/src/RPM/SOURCES/D2XBDE01.zip + /bin/chmod -c -Rf u+rwX,go-w . + dos2unix d2x.ini CHANGELOG.txt COPYING.txt INSTALL.txt README.txt RELEASE-NOTES.txt dos2unix: converting file d2x.ini to Unix format... dos2unix: converting file CHANGELOG.txt to Unix format... dos2unix: converting file COPYING.txt to Unix format... dos2unix: converting file INSTALL.txt to Unix format... dos2unix: converting file README.txt to Unix format... dos2unix: converting file RELEASE-NOTES.txt to Unix format... + chmod 644 d2x.ini CHANGELOG.txt COPYING.txt INSTALL.txt README.txt RELEASE-NOTES.txt + sed -i /MAX_MULTI_MESSAGE_LEN+4/s/MAX_MULTI_MESSAGE_LEN+4/MAX_MULTI_MESSAGE_LEN+22/ main/multi.h + sed -i /MAX_MULTI_MESSAGE_LEN+4/s/MAX_MULTI_MESSAGE_LEN+4/MAX_MULTI_MESSAGE_LEN+22/ main/multi.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.38051 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd d2x-rebirth_v0.58.1-src + CFLAGS=-D__EXPORT__= + scons -j8 sharepath=/usr/share/games/descent2 sdl_only=1 sdlmixer=1 no_asm=1 scons: Reading SConscript files ... D2X-Rebirth: compiling on *NIX ===== D2X-Rebirth v0.58.1 ===== D2X-Rebirth: LittleEndian machine detected D2X-Rebirth: building with OpenGL D2X-Rebirth: including SDL_mixer scons: done reading SConscript files. scons: Building targets ... Compiling 2d/2dsline.c ... Compiling 2d/bitblt.c ... Compiling 2d/bitmap.c ... Compiling 2d/box.c ... Compiling 2d/canvas.c ... Compiling 2d/circle.c ... Compiling 2d/disc.c ... Compiling 2d/font.c ... Compiling 2d/gpixel.c ... Compiling 2d/line.c ... Compiling 2d/palette.c ... Compiling 2d/pcx.c ... Compiling 2d/pixel.c ... In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/palette.c: In function 'gr_use_palette_table': 2d/palette.c:106:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, gr_palette, 256*3, 1 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/palette.c:107:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, gr_fade_table, 256*34, 1 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 2d/rect.c ... In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/pcx.c: In function 'PCXHeader_read_n': 2d/pcx.c:74:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &ph->ColorMap, 16*3, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/pcx.c:78:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &ph->filler, 60, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/pcx.c: In function 'PCX_PHYSFS_read': In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_readSXE16': 2d/pcx.c:104:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] return PHYSFS_read(pcxphysfs->PCXfile, data, size, sizeof(*data)); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ 2d/pcx.c: In function 'pcx_write_bitmap': 2d/pcx.c:217:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(PCXfile, &header, PCXHEADER_SIZE, 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ 2d/pcx.c:232:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(PCXfile, &data, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ 2d/pcx.c:242:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] retval = PHYSFS_write(PCXfile, palette, 768, 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 2d/rle.c ... 2d/font.c: In function 'gr_init_font': 2d/font.c:1025:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, file_id, 4, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1038:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, font_data, 1, datasize); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 2d/scalec.c ... 2d/font.c:1079:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile,palette,3,256); //read the palette ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c: In function 'gr_remap_font': 2d/font.c:1121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, file_id, 4, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1131:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, font_data, 1, datasize); //read raw data ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1169:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile,palette,3,256); //read the palette ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 3d/clipper.c ... Compiling 3d/draw.c ... Compiling 3d/globvars.c ... Compiling 3d/instance.c ... Compiling 3d/interp.c ... Compiling 3d/matrix.c ... Compiling 3d/points.c ... Compiling 3d/rod.c ... Compiling 3d/setup.c ... Compiling arch/ogl/gr.c ... Compiling arch/ogl/ogl.c ... Compiling arch/sdl/digi.c ... Compiling arch/sdl/digi_audio.c ... Compiling arch/sdl/digi_mixer.c ... Compiling arch/sdl/digi_mixer_music.c ... In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi_audio.c:18: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ arch/sdl/digi_mixer_music.c: In function 'mix_play_file': arch/sdl/digi_mixer_music.c:66:3: warning: 'PHYSFS_getUserDir' is deprecated [-Wdeprecated-declarations] snprintf(full_path, PATH_MAX, "%s%s", PHYSFS_getUserDir(), ^~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:792:25: note: declared here PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~ arch/sdl/digi_mixer_music.c:91:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] bufsize = PHYSFS_read(filehandle, current_music_hndlbuf, sizeof(char), PHYSFS_fileLength(filehandle)); ^~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 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/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/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/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/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 main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/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 main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from 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/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 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:1080:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(TGAFile,&TGA,sizeof(TGA_header),1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ arch/ogl/gr.c:1081:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(TGAFile,buf,w*h*3*sizeof(unsigned char),1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ Compiling arch/sdl/event.c ... Compiling arch/sdl/init.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/joy.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:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/jukebox.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; ^~~~~ Compiling arch/sdl/key.c ... Compiling arch/sdl/mouse.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readByte': arch/sdl/jukebox.c: In function 'jukebox_load': arch/sdl/jukebox.c:174:3: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if (PHYSFS_isDirectory(GameCfg.CMLevelMusicPath)) // find files in relative directory ^~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ arch/sdl/jukebox.c:179:4: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(GameCfg.CMLevelMusicPath, 0); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ arch/sdl/jukebox.c:188:5: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(GameCfg.CMLevelMusicPath); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/jukebox.c:196:4: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(GameCfg.CMLevelMusicPath); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/rbaudio.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ Compiling arch/sdl/timer.c ... In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/window.c ... Compiling iff/iff.c ... Compiling libmve/decoder8.c ... Compiling libmve/decoder16.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_readSXE16': Compiling libmve/mve_audio.c ... include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling libmve/mvelib.c ... Compiling libmve/mveplay.c ... In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ iff/iff.c: In function 'parse_body': iff/iff.c:170:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile, p, width, depth); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ iff/iff.c:206:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile, p, nn, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/ai.c ... iff/iff.c: In function 'write_body': iff/iff.c:764:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(ofile,new_span,newlen,1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ iff/iff.c:767:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(ofile,p,bitmap_header->w+odd,1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ arch/sdl/joy.c: In function 'joy_init': arch/sdl/joy.c:188:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d A%d", i + 1, j + 1); ^~ arch/sdl/joy.c:188:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d A%d", i + 1, j + 1); ^~~~~~~~~ arch/sdl/joy.c:188:19: note: directive argument in the range [1, 129] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 17 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/joy.c:194:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d B%d", i + 1, j + 1); ^~ arch/sdl/joy.c:194:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d B%d", i + 1, j + 1); ^~~~~~~~~ arch/sdl/joy.c:194:19: note: directive argument in the range [1, 129] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 17 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/joy.c:202:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0202); ^~ arch/sdl/joy.c:202:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0202); ^~~~~~~~~~~ arch/sdl/joy.c:202:19: note: directive argument in the range [1, 5] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/joy.c:204:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0177); ^~ arch/sdl/joy.c:204:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0177); ^~~~~~~~~~~ arch/sdl/joy.c:204:19: note: directive argument in the range [1, 5] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/joy.c:206:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0200); ^~ arch/sdl/joy.c:206:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0200); ^~~~~~~~~~~ arch/sdl/joy.c:206:19: note: directive argument in the range [1, 5] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/joy.c:208:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0201); ^~ arch/sdl/joy.c:208:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0201); ^~~~~~~~~~~ arch/sdl/joy.c:208:19: note: directive argument in the range [1, 5] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling main/ai2.c ... main/ai.c: In function 'ai_save_state': main/ai.c:1571:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Ai_initialized, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1572:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Overall_agitation, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1579:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, ail_rw, sizeof(ai_local_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1582:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Point_segs, sizeof(point_seg) * MAX_POINT_SEGS, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1589:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, aic_rw, sizeof(ai_cloak_info_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1596:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1601:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1606:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1607:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Boss_teleport_interval, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1608:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Boss_cloak_interval, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1609:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Boss_cloak_duration, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1614:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1615:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Gate_interval, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1629:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1630:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Boss_dying, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1631:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Boss_dying_sound_playing, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1636:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1637:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Escort_kill_object, sizeof(Escort_kill_object), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1642:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1643:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Escort_goal_object, sizeof(Escort_goal_object), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1644:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Escort_special_goal, sizeof(Escort_special_goal), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1645:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Escort_goal_index, sizeof(Escort_goal_index), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1646:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Stolen_items, sizeof(Stolen_items[0])*MAX_STOLEN_ITEMS, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1651:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1654:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_boss_teleport_segs, sizeof(Num_boss_teleport_segs), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1655:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_boss_gate_segs, sizeof(Num_boss_gate_segs), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1658:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Boss_gate_segs, sizeof(Boss_gate_segs[0]), Num_boss_gate_segs); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1661:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Boss_teleport_segs, sizeof(Boss_teleport_segs[0]), Num_boss_teleport_segs); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c: In function 'ai_restore_state': main/ai.c:1766:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Stolen_items, sizeof(Stolen_items[0]) * MAX_STOLEN_ITEMS, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/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:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/automap.c ... In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/automap.c: In function 'automap_clear_visited': main/automap.c:367:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (unsigned i=0; i< sizeof(Automap_visited) / sizeof(Automap_visited[0]); i++ ) ^~~ main/automap.c:369:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' ClearMarkers(); ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/bm.c ... Compiling main/cntrlcen.c ... Compiling main/collide.c ... In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/bm.c: In function 'bm_read_all': main/bm.c:164:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, Sounds, sizeof(ubyte), t ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/bm.c:165:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, AltSounds, sizeof(ubyte), t ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/cntrlcen.c: In function 'control_center_triggers_read_n_swap': main/cntrlcen.c:553:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, cct, sizeof(control_center_triggers), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/collide.c: In function 'apply_damage_to_robot': main/collide.c:1333:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (isthief) ^~ main/collide.c:1337:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (multi_explode_robot_sub(robot-Objects, killer_objnum,Robot_info[robot->id].thief)) ^~ main/collide.c:1345:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (isthief) ^~ main/collide.c:1349:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 1; ^~~~~~ Compiling main/config.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/console.c ... Compiling main/controls.c ... In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/credits.c ... Compiling main/digiobj.c ... Compiling main/dumpmine.c ... In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/effects.c ... In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/endlevel.c ... In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/credits.c: In function 'credits_show': main/credits.c:240:21: warning: '.txb' directive writing 4 bytes into a region of size between 1 and 32 [-Wformat-overflow=] sprintf(nfile, "%s.txb", filename); ^~~~ In file included from /usr/include/stdio.h:862, from main/credits.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 36 bytes into a destination of size 32 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling main/escort.c ... At top level: main/endlevel.c:138:19: warning: 'movie_table_secret' defined but not used [-Wunused-const-variable=] static const char movie_table_secret[] = {'a','d','g','j','m','p'}; ^~~~~~~~~~~~~~~~~~ Compiling main/fireball.c ... Compiling main/fuelcen.c ... Compiling main/fvi.c ... In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/game.c ... main/fireball.c: In function 'object_create_explosion_sub': main/fireball.c:226:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (killer != ConsoleObject) // if someone else whacks you, cut force by 2x ^~ main/fireball.c:227:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' vforce2.x /= 2; vforce2.y /= 2; vforce2.z /= 2; ^~~~~~~ main/fireball.c: In function 'pick_connected_segment': main/fireball.c:433:2: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] memset(seg_queue,0,QUEUE_SIZE*2); ^~~~~~ main/fuelcen.c: In function 'matcen_info_read_n_swap': main/fuelcen.c:840:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, mi, sizeof(*mi), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/fuelcen.c: In function 'fuelcen_read_n_swap': main/fuelcen.c:881:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, fc, sizeof(FuelCenter), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/fireball.c: In function 'expl_wall_read_n_swap': main/fireball.c:1447:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, ew, sizeof(expl_wall), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gamecntl.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, ^~~~~~~~~~~ Compiling main/gamefont.c ... In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamecntl.c:31: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gamemine.c ... Compiling main/gamepal.c ... In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/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:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gameseg.c ... main/gamesave.c: In function 'load_game_data': main/gamesave.c:798:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(LoadFile,Save_pof_names,N_save_pof_names,FILENAME_LEN); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/gamesave.c:984:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main/gamesave.c:987:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' for (j = 0; j <= Highest_segment_index; j++) ^~~ Compiling main/gameseq.c ... In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/gameseg.c: In function 'trace_segs': main/gameseg.c:738:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (sidenum = 0, bit = 1; sidenum < 6; sidenum++, bit <<= 1) ^~~ main/gameseg.c:745:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if (biggest_side == -1) ^~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/gameseq.c: In function 'DoEndGame': main/gameseq.c:1240:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else if (!(Game_mode & GM_MULTI)) //not multi ^~~~ main/gameseq.c:1251:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' key_flush(); ^~~~~~~~~ main/gamerend.c: In function 'show_extra_views': main/gamerend.c:611:27: warning: '%d' directive writing between 1 and 11 bytes into a region of size 3 [-Wformat-overflow=] sprintf(label,"Marker %d",Marker_viewer_num[w]+1); ^~ main/gamerend.c:611:19: note: directive argument in the range [-2147483647, 2147483647] sprintf(label,"Marker %d",Marker_viewer_num[w]+1); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from main/gamerend.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 19 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling main/gauges.c ... Compiling main/hostage.c ... In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/hud.c ... 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:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/kconfig.c ... Compiling main/kmatrix.c ... In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/laser.c ... In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/lighting.c ... In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/menu.c ... main/escort.c: In function 'do_escort_menu': main/escort.c:1822:21: warning: '%s' directive writing up to 31 bytes into a region of size between 4 and 35 [-Wformat-overflow=] sprintf(menu->msg, "Select Guide-Bot Command:\n\n\n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/escort.c:1835:17: , goal_str, tstr); ~~~~ main/escort.c:1833:12: note: format string is defined here "T. %s Messages" ^~ In file included from /usr/include/stdio.h:862, from main/escort.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 275 and 337 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling main/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:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/mission.c ... Compiling main/morph.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ Compiling main/movie.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/mission.c: In function 'add_missions_to_list': main/mission.c:532:3: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if (PHYSFS_isDirectory(path)) ^~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ main/menu.c: In function 'list_dir_el': main/menu.c:1336:2: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if ((!strcmp((PHYSFS_getRealDir(fname)==NULL?"":PHYSFS_getRealDir(fname)), b->view_path)) && (PHYSFS_isDirectory(fname) || (ext && *i)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ main/menu.c: In function 'list_directory': main/menu.c:1358:2: warning: 'PHYSFS_enumerateFilesCallback' is deprecated [-Wdeprecated-declarations] PHYSFS_enumerateFilesCallback("", (PHYSFS_EnumFilesCallback) list_dir_el, b); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:2385:18: note: declared here PHYSFS_DECL void PHYSFS_enumerateFilesCallback(const char *dir, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/menu.c: In function 'select_file_handler': main/menu.c:1461:4: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if ((citem == 0) || PHYSFS_isDirectory(list[citem])) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ main/menu.c:1472:5: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(b->view_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main/menu.c: In function 'select_file_recursive': main/menu.c:1544:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] while (!PHYSFS_addToSearchPath(b->view_path, 0)) ^~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ main/menu.c:1560:3: warning: 'PHYSFS_getUserDir' is deprecated [-Wdeprecated-declarations] strncpy(b->view_path, PHYSFS_getUserDir(), PATH_MAX - 1); ^~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:792:25: note: declared here PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~ main/menu.c:1563:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] if (!PHYSFS_addToSearchPath(b->view_path, 0)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/multi.c ... Compiling main/multibot.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': Compiling main/newdemo.c ... include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/movie.c: In function 'RunMovie': main/movie.c:394:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT, "Can't open movie <%s>: %s\n", filename, PHYSFS_getLastError()); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/movie.c: In function 'InitRobotMovie': main/movie.c:506:3: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT, "Can't open movie <%s>: %s\n", filename, PHYSFS_getLastError()); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/movie.c: In function 'init_subtitles': main/movie.c:574:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] read_count = PHYSFS_read(ifile, subtitle_raw_data, 1, size); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/movie.c: In function 'init_movie': main/movie.c:691:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT, "Can't open movielib <%s>: %s\n", filename, PHYSFS_getLastError()); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/movie.c: In function 'close_extra_robot_movie': main/movie.c:718:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT, "Can't close movielib <%s>: %s\n", filename, PHYSFS_getLastError()); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/movie.c:722:5: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT, "Can't close movielib <%s>: %s\n", filename, PHYSFS_getLastError()); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newdemo.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/newdemo.c: In function 'newdemo_read': main/newdemo.c:257:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] num_read = PHYSFS_read(infile, buffer, elsize, nelem); ^~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/newdemo.c: In function 'newdemo_write': main/newdemo.c:284:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] num_written = PHYSFS_write(outfile, buffer, elsize, nelem); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/movie.c: In function 'close_extra_robot_movie.part.4': main/movie.c:714:43: warning: '.mvl' directive output may be truncated writing 4 bytes into a region of size between 1 and 13 [-Wformat-truncation=] snprintf(filename,FILENAME_LEN+2, "%s-%s.mvl", movielib_files[EXTRA_ROBOT_LIB], GameArg.GfxMovieHires?"h":"l"); ^~~~ In file included from /usr/include/stdio.h:862, from include/dxxerror.h:23, from include/physfsx.h:25, from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 7 and 19 bytes into a destination of size 15 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/movie.c:719:45: warning: '.mvl' directive output may be truncated writing 4 bytes into a region of size between 1 and 13 [-Wformat-truncation=] snprintf(filename, FILENAME_LEN+2, "%s-%s.mvl", movielib_files[EXTRA_ROBOT_LIB], GameArg.GfxMovieHires?"l":"h"); ^~~~ In file included from /usr/include/stdio.h:862, from include/dxxerror.h:23, from include/physfsx.h:25, from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 7 and 19 bytes into a destination of size 15 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/newdemo.c: In function 'newdemo_swap_endian': main/newdemo.c:3686:8: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] complete ? "" : (nd_playback_v_at_eof ? TXT_DEMO_CORRUPT : PHYSFS_getLastError())); ^~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ Compiling main/newmenu.c ... main/multi.c: In function 'init_hoard_data': main/multi.c:5189:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,palette,3,256); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5192:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,bm->bm_data,1,orb_w*orb_h); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5198:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,palette,3,256); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5201:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,bm->bm_data,1,64*64); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5213:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,palette,3,256); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5214:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,Orb_icons[i].bm_data,1,icon_w*icon_h); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5232:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,GameSounds[Num_sound_files+i].data,1,len); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c: In function 'multi_process_data': main/multi.c:5335:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_position(buf); break; ^~ main/multi.c:5335:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_position(buf); break; ^~~~~ main/multi.c:5337:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_reappear(buf); break; ^~ main/multi.c:5337:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_reappear(buf); break; ^~~~~ main/multi.c:5339:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_fire(buf); break; ^~ main/multi.c:5339:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_fire(buf); break; ^~~~~ main/multi.c:5343:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_remobj(buf); break; ^~ main/multi.c:5343:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_remobj(buf); break; ^~~~~ main/multi.c:5346:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_player_explode(buf); break; ^~ main/multi.c:5346:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_player_explode(buf); break; ^~~~~ main/multi.c:5348:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_message(buf); break; ^~ main/multi.c:5348:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_message(buf); break; ^~~~~ main/multi.c:5350:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_quit(buf); break; ^~ main/multi.c:5350:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_quit(buf); break; ^~~~~ main/multi.c:5354:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_controlcen_destroy(buf); break; ^~ main/multi.c:5354:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_controlcen_destroy(buf); break; ^~~~~ main/multi.c:5356:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_powcap_update(buf); break; ^~ main/multi.c:5356:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_powcap_update(buf); break; ^~~~~ main/multi.c:5360:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_drop_marker (buf); break; ^~ main/multi.c:5360:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_drop_marker (buf); break; ^~~~~ main/multi.c:5362:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_drop_weapon(buf); break; ^~ main/multi.c:5362:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_drop_weapon(buf); break; ^~~~~ main/multi.c:5364:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_drop_flag(buf); break; ^~ main/multi.c:5364:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_drop_flag(buf); break; ^~~~~ main/multi.c:5366:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_guided (buf); break; ^~ main/multi.c:5366:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_guided (buf); break; ^~~~~ main/multi.c:5368:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_stolen_items(buf); break; ^~ main/multi.c:5368:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_stolen_items(buf); break; ^~~~~ main/multi.c:5370:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_wall_status(buf); break; ^~ main/multi.c:5370:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_wall_status(buf); break; ^~~~~ main/multi.c:5372:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_heartbeat (buf); break; ^~ main/multi.c:5372:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_heartbeat (buf); break; ^~~~~ main/multi.c:5374:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_seismic (buf); break; ^~ main/multi.c:5374:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_seismic (buf); break; ^~~~~ main/multi.c:5376:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_light (buf); break; ^~ main/multi.c:5376:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_light (buf); break; ^~~~~ main/multi.c:5378:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_kill_goal_counts (buf); break; ^~ main/multi.c:5378:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_kill_goal_counts (buf); break; ^~~~~ main/multi.c:5380:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_escape(buf); break; ^~ main/multi.c:5380:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_escape(buf); break; ^~~~~ main/multi.c:5384:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_cloak(buf); break; ^~ main/multi.c:5384:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_cloak(buf); break; ^~~~~ main/multi.c:5386:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_decloak(buf); break; ^~ main/multi.c:5386:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_decloak(buf); break; ^~~~~ main/multi.c:5388:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_door_open(buf); break; ^~ main/multi.c:5388:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_door_open(buf); break; ^~~~~ main/multi.c:5390:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_explosion(buf); break; ^~ main/multi.c:5390:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_create_explosion(buf); break; ^~~~~ main/multi.c:5392:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_controlcen_fire(buf); break; ^~ main/multi.c:5392:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_controlcen_fire(buf); break; ^~~~~ main/multi.c:5394:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_powerup(buf); break; ^~ main/multi.c:5394:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_create_powerup(buf); break; ^~~~~ main/multi.c:5396:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_play_sound(buf); break; ^~ main/multi.c:5396:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_play_sound(buf); break; ^~~~~ main/multi.c:5398:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_capture_bonus(buf); break; ^~ main/multi.c:5398:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_capture_bonus(buf); break; ^~~~~ main/multi.c:5400:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_orb_bonus(buf); break; ^~ main/multi.c:5400:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_orb_bonus(buf); break; ^~~~~ main/multi.c:5402:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_got_flag(buf); break; ^~ main/multi.c:5402:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_got_flag(buf); break; ^~~~~ main/multi.c:5404:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_got_orb(buf); break; ^~ main/multi.c:5404:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_got_orb(buf); break; ^~~~~ main/multi.c:5406:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_play_by_play(buf); break; ^~ main/multi.c:5406:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_play_by_play(buf); break; ^~~~~ main/multi.c:5408:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_ranking (buf); break; ^~ main/multi.c:5408:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_ranking (buf); break; ^~~~~ main/multi.c:5414:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_claim_robot(buf); break; ^~ main/multi.c:5414:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_claim_robot(buf); break; ^~~~~ main/multi.c:5416:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_position(buf); break; ^~ main/multi.c:5416:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_robot_position(buf); break; ^~~~~ main/multi.c:5418:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_explode(buf); break; ^~ main/multi.c:5418:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_robot_explode(buf); break; ^~~~~ main/multi.c:5420:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_release_robot(buf); break; ^~ main/multi.c:5420:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_release_robot(buf); break; ^~~~~ main/multi.c:5422:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_fire(buf); break; ^~ main/multi.c:5422:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_robot_fire(buf); break; ^~~~~ main/multi.c:5424:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_score(buf); break; ^~ main/multi.c:5424:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_score(buf); break; ^~~~~ main/multi.c:5426:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_robot(buf); break; ^~ main/multi.c:5426:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_create_robot(buf); break; ^~~~~ main/multi.c:5428:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_trigger(buf); break; ^~ main/multi.c:5428:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_trigger(buf); break; ^~~~~ main/multi.c:5430:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_start_trigger(buf); break; ^~ main/multi.c:5430:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_start_trigger(buf); break; ^~~~~ main/multi.c:5432:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_flags(buf); break; ^~ main/multi.c:5432:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_flags(buf); break; ^~~~~ main/multi.c:5434:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_drop_blob(buf); break; ^~ main/multi.c:5434:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_drop_blob(buf); break; ^~~~~ main/multi.c:5436:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_active_door(buf); break; ^~ main/multi.c:5436:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_active_door(buf); break; ^~~~~ main/multi.c:5438:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_boss_actions(buf); break; ^~ main/multi.c:5438:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_boss_actions(buf); break; ^~~~~ main/multi.c:5440:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_robot_powerups(buf); break; ^~ main/multi.c:5440:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_create_robot_powerups(buf); break; ^~~~~ main/multi.c:5442:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_hostage_door_status(buf); break; ^~ main/multi.c:5442:63: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_hostage_door_status(buf); break; ^~~~~ main/multi.c:5444:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_save_game(buf); break; ^~ main/multi.c:5444:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_save_game(buf); break; ^~~~~ main/multi.c:5446:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_restore_game(buf); break; ^~ main/multi.c:5446:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_restore_game(buf); break; ^~~~~ main/multi.c:5448:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( !Endlevel_sequence ) multi_do_bounty( buf ); break; ^~ main/multi.c:5448:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( !Endlevel_sequence ) multi_do_bounty( buf ); break; ^~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/newmenu.c:35: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/object.c ... In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/paging.c ... Compiling main/physics.c ... Compiling main/piggy.c ... In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'DiskBitmapHeader_read': main/piggy.c:151:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, dbh->name, 8, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'DiskSoundHeader_read': main/piggy.c:166:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, dsh->name, 8, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'DiskBitmapHeader_d1_read': main/piggy.c:177:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, dbh->name, 8, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'piggy_read_sounds': main/piggy.c:1016:5: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, snd->data, snd->length, 1 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'piggy_bitmap_page_in': main/piggy.c:1107:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, &Piggy_bitmap_cache_data[Piggy_bitmap_cache_next+4], 1, zsize-4 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c:1149:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, &Piggy_bitmap_cache_data[Piggy_bitmap_cache_next], 1, bmp->bm_h*bmp->bm_w ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'load_bitmap_replacements': main/piggy.c:1608:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,Bitmap_replacement_data,1,bitmap_data_size); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'get_d1_colormap': main/piggy.c:1635:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( palette_file, d1_palette, 256, 3 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'bitmap_read_d1': main/piggy.c:1678:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(d1_Piggy_fp, data, 1, zsize); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/object.c: In function 'obj_get_signature': main/object.c:1096:26: warning: iteration 350 invokes undefined behavior [-Waggressive-loop-optimizations] if ((sig == Objects[i].signature) && (Objects[i].type != OBJ_NONE)) ~~~~~~~~~~^~~~~~~~~~ main/object.c:1094:3: note: within this loop for (i = 0; i <= MAX_OBJECTS; i++) ^~~ main/newdemo.c: In function 'newdemo_stop_recording': main/newdemo.c:3444:24: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf (newfile, "%s%d", filename, num); ^~ main/newdemo.c:3444:21: note: directive argument in the range [-2147483647, 2147483647] sprintf (newfile, "%s%d", filename, num); ^~~~~~ In file included from /usr/include/stdio.h:862, from main/newdemo.c:22: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 4107 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling main/player.c ... Compiling main/playsave.c ... main/piggy.c: In function 'piggy_init_pigfile': main/piggy.c:458:28: warning: '%d' directive writing between 1 and 2 bytes into a region of size between 0 and 15 [-Wformat-overflow=] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & DBM_NUM_FRAMES ); ^~ main/piggy.c:458:24: note: directive argument in the range [0, 63] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & DBM_NUM_FRAMES ); ^~~~~~~ In file included from /usr/include/stdio.h:862, from main/piggy.c:21: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 19 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'piggy_new_pigfile': main/piggy.c:566:29: warning: '%d' directive writing between 1 and 2 bytes into a region of size between 0 and 15 [-Wformat-overflow=] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & DBM_NUM_FRAMES ); ^~ main/piggy.c:566:25: note: directive argument in the range [0, 63] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & DBM_NUM_FRAMES ); ^~~~~~~ In file included from /usr/include/stdio.h:862, from main/piggy.c:21: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 19 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c: In function 'read_player_file': main/playsave.c:570:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, PlayerCfg.HighestLevels, sizeof(hli), PlayerCfg.NHighestLevels) != PlayerCfg.NHighestLevels) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:581:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, PlayerCfg.NetworkMessageMacro[i], len, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:594:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &PlayerCfg.KeySettings[0], sizeof(PlayerCfg.KeySettings[0]),1)!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:596:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &PlayerCfg.KeySettings[1], sizeof(PlayerCfg.KeySettings[1]),1)!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:599:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &PlayerCfg.KeySettings[2], sizeof(PlayerCfg.KeySettings[2]),1)!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:604:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, (ubyte *)&control_type_dos, sizeof(ubyte), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:606:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] else if (player_file_version >= 21 && PHYSFS_read(file, (ubyte *)&control_type_win, sizeof(ubyte), 1) != 1) ^~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:608:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] else if (PHYSFS_read(file, &dummy_joy_sens, sizeof(ubyte), 1) !=1 ) ^~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:699:2: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] nm_messagebox(TXT_ERROR, 1, TXT_OK, "%s\n\n%s", "Error reading PLR file", PHYSFS_getLastError()); ^~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/playsave.c: In function 'write_player_file': main/playsave.c:806:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if ((PHYSFS_write(file, PlayerCfg.HighestLevels, sizeof(hli), PlayerCfg.NHighestLevels) != PlayerCfg.NHighestLevels)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:810:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if ((PHYSFS_write(file, PlayerCfg.NetworkMessageMacro, MAX_MESSAGE_LEN, 4) != 4)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:827:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, PlayerCfg.KeySettings[0], sizeof(PlayerCfg.KeySettings[0]), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:829:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, PlayerCfg.KeySettings[1], sizeof(PlayerCfg.KeySettings[1]), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:832:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, "0", sizeof(ubyte), 1) != 1) // Skip obsolete Flightstick/Thrustmaster/Gravis map fields ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:834:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, PlayerCfg.KeySettings[2], sizeof(PlayerCfg.KeySettings[2]), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:837:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, "0", sizeof(ubyte), 1) != 1) // Skip obsolete Cyberman/Winjoy map fields ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:839:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &control_type_dos, sizeof(ubyte), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:841:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &control_type_win, sizeof(ubyte), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:843:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &old_avg_joy_sensitivity, sizeof(ubyte), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:848:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(file, &PlayerCfg.PrimaryOrder[i], sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:849:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(file, &PlayerCfg.SecondaryOrder[i], sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:882:2: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] nm_messagebox(TXT_ERROR, 1, TXT_OK, "%s\n\n%s", TXT_ERROR_WRITING_PLR, PHYSFS_getLastError()); ^~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ Compiling main/polyobj.c ... In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/polyobj.c: In function 'read_model_file': main/polyobj.c:277:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] Pof_file_end = PHYSFS_read(ifile, model_buf, 1, PHYSFS_fileLength(ifile)); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/polyobj.c: In function 'read_model_guns': main/polyobj.c:452:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] Pof_file_end = PHYSFS_read(ifile, model_buf, 1, PHYSFS_fileLength(ifile)); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/polyobj.c: In function 'polymodel_read': main/polyobj.c:768:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pm->submodel_parents, MAX_SUBMODELS, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/polyobj.c: In function 'polymodel_read_n': main/polyobj.c:802:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pm[i].submodel_parents, MAX_SUBMODELS, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/polyobj.c: In function 'polygon_model_data_read': main/polyobj.c:824:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pm->model_data, sizeof(ubyte), pm->model_data_size); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/powerup.c ... In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/render.c ... In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/render.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/render.c: In function 'render_segment': main/render.c:819:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Viewer->type!=OBJ_ROBOT) ^~ main/render.c:822:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (sn=0; sntype!=OBJ_ROBOT) ^~ main/render.c:2162:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (sn=0; sntype!=OBJ_ROBOT) ^~ main/render.c:2274:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (sn=0; snbm_data, THUMBNAIL_W * THUMBNAIL_H, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:640:7: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pal, 3, 256); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c: In function 'copy_file': main/state.c:730:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] bytes_read = PHYSFS_read(in_file, buf, 1, buf_size); ^~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:732:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] Error("Cannot read from file <%s>: %s", old_file, PHYSFS_getLastError()); ^~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/state.c:736:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(out_file, buf, 1, bytes_read) < bytes_read) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:737:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] Error("Cannot write to file <%s>: %s", new_file, PHYSFS_getLastError()); ^~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/state.c: In function 'state_save_all': main/state.c:822:6: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] Error("Cannot delete file <%s>: %s", temp_fname, PHYSFS_getLastError()); ^~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/state.c: In function 'state_save_all_sub': main/state.c:871:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, dgss_id, sizeof(char) * 4, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:875:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:880:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &state_game_id, sizeof(uint), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:881:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Players[Player_num].callsign, sizeof(char)*CALLSIGN_LEN+1, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:885:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, desc, sizeof(char) * DESC_LENGTH, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:921:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, cnv->cv_bitmap.bm_data, THUMBNAIL_W * THUMBNAIL_H, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:925:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, pal, 3, 256); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:931:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &color, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:936:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:941:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &mission_filename, 9 * sizeof(char), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:944:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Current_level_num, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:945:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Next_level_num, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:950:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:958:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:963:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Primary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:964:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Secondary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:967:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Difficulty_level, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:970:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.enabled, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:994:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1001:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, obj_rw, sizeof(object_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1007:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1008:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Walls, sizeof(wall), i); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1012:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1013:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, expl_wall_list, sizeof(*expl_wall_list), i); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1017:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1018:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, ActiveDoors, sizeof(active_door), i); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1022:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1023:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, CloakingWalls, sizeof(cloaking_wall), i); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1026:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_triggers, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1027:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Triggers, sizeof(trigger), Num_triggers); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1034:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Segments[i].sides[j].wall_num, sizeof(short), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1035:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Segments[i].sides[j].tmap_num, sizeof(short), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1036:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Segments[i].sides[j].tmap_num2, sizeof(short), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1041:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_destroyed, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1042:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Countdown_timer, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1043:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_robot_centers, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1044:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, RobotCenters, sizeof(matcen_info), Num_robot_centers); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1045:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &ControlCenterTriggers, sizeof(control_center_triggers), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1046:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_fuelcenters, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1047:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Station, sizeof(FuelCenter), Num_fuelcenters); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1050:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_been_hit, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1051:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_player_been_seen, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1052:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_next_fire_time, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1053:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_present, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1054:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Dead_controlcen_object_num, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1062:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Automap_visited, sizeof(ubyte), Highest_segment_index + 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1065:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Automap_visited, sizeof(ubyte), MAX_SEGMENTS_ORIGINAL); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1067:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &state_game_id, sizeof(uint), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1069:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.rapidfire, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1070:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); // was Lunacy ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1071:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); // was Lunacy, too... and one was Ugly robot stuff a long time ago... ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1075:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, MarkerObject, sizeof(MarkerObject) ,1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1076:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Players[0].callsign[0], sizeof(char), (NUM_MARKERS)*(CALLSIGN_LEN+1)); // PHYSFS_write(fp, MarkerOwner, sizeof(MarkerOwner), 1); MarkerOwner is obsolete ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1077:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, MarkerMessage, sizeof(MarkerMessage), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1079:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Afterburner_charge, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1082:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Primary_last_was_super, sizeof(Primary_last_was_super), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1083:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Secondary_last_was_super, sizeof(Secondary_last_was_super), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1086:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Flash_effect, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1091:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1092:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &PaletteRedAdd, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1093:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &PaletteGreenAdd, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1094:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &PaletteBlueAdd, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1097:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Light_subtracted, sizeof(Light_subtracted[0]), Highest_segment_index + 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1100:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Light_subtracted, sizeof(Light_subtracted[0]), MAX_SEGMENTS_ORIGINAL); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1101:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &First_secret_visit, sizeof(First_secret_visit), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1102:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Omega_charge, sizeof(Omega_charge), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1112:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1115:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.mission_title, sizeof(char), MISSION_NAME_LEN+1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1116:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.mission_name, sizeof(char), 9); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1117:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.levelnum, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1118:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.difficulty, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1119:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.game_status, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1120:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1121:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.max_numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1122:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.numconnected, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1123:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.level_time, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c: In function 'state_restore_all_sub': main/state.c:1251:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, id, sizeof(char) * 4, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1259:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &version, sizeof(int), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1276:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &saved_callsign, sizeof(char)*CALLSIGN_LEN+1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1285:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, desc, sizeof(char) * DESC_LENGTH, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1298:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, mission, sizeof(char) * 9, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1347:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1372:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1383:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Primary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1384:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Secondary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1411:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, obj_rw, sizeof(object_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1514:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, Automap_visited, sizeof(ubyte), Highest_segment_index + 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1517:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, Automap_visited, sizeof(ubyte), MAX_SEGMENTS_ORIGINAL); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1538:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, MarkerMessage, sizeof(MarkerMessage), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1563:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Primary_last_was_super, sizeof(Primary_last_was_super), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1564:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Secondary_last_was_super, sizeof(Secondary_last_was_super), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1587:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, Light_subtracted, sizeof(Light_subtracted[0]), Highest_segment_index + 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1590:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, Light_subtracted, sizeof(Light_subtracted[0]), MAX_SEGMENTS_ORIGINAL); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1639:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1690:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.mission_title, sizeof(char), MISSION_NAME_LEN+1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1691:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.mission_name, sizeof(char), 9); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1693:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.difficulty, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1694:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.game_status, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1695:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1696:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.max_numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1697:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.numconnected, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c: In function 'state_get_game_id': main/state.c:1741:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, id, sizeof(char) * 4, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1749:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &version, sizeof(int), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1763:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &saved_callsign, sizeof(char)*CALLSIGN_LEN+1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/text.c: In function 'load_text': main/text.c:105:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,text,1,len); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/titles.c ... Compiling main/vclip.c ... In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/wall.c ... main/titles.c: In function 'load_screen_text': main/titles.c:471:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(tfile,*buf+x,1,1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/weapon.c ... Compiling maths/fixc.c ... In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling maths/rand.c ... main/wall.c: In function 'wclip_read_n_d1': main/wall.c:1607:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, wc[i].filename, 13, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/wall.c: In function 'wclip_read_n': main/wall.c:1628:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, wc[i].filename, 13, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/wall.c: In function 'wall_read_n_swap': main/wall.c:1700:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, w, sizeof(wall), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/wall.c: In function 'active_door_read_n_swap': main/wall.c:1755:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, ad, sizeof(active_door), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/wall.c: In function 'cloaking_wall_read_n_swap': main/wall.c:1821:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, cw, sizeof(cloaking_wall), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/weapon.c: In function 'pick_up_primary': main/weapon.c:695:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (weapon_index!=LASER_INDEX) ^~ main/weapon.c:698:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 1; ^~~~~~ Compiling maths/tables.c ... Compiling maths/vecmat.c ... Compiling mem/mem.c ... Compiling misc/args.c ... In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling misc/error.c ... Compiling misc/hash.c ... In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling misc/hmp.c ... Compiling misc/ignorecase.c ... Compiling misc/physfsrwops.c ... In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ misc/hmp.c: In function 'hmp_open': misc/hmp.c:62:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if ((PHYSFS_read(fp, buf, 1, 8) != 8) || (memcmp(buf, "HMIMIDIP", 8))) ^~ In file included from 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 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_readString': include/physfsx.h: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, ^~~~~~~~~~~ misc/hmp.c:76:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &num_tracks, 4, 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/hmp.c:97:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &tempo, 4, 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/hmp.c:113:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if ((PHYSFSX_fseek(fp, 4, SEEK_CUR)) || (PHYSFS_read(fp, &data, 4, 1) != 1)) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/hmp.c:132:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if ((PHYSFSX_fseek(fp, 4, SEEK_CUR)) || (PHYSFS_read(fp, p, data, 1) != 1)) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling misc/physfsx.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:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_init': misc/physfsx.c:71:3: warning: 'PHYSFS_getUserDir' is deprecated [-Wdeprecated-declarations] const char *home = PHYSFS_getUserDir(); ^~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:792:25: note: declared here PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~ misc/physfsx.c:110:2: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(PHYSFS_getWriteDir(), 1); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:113:2: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(base_dir, 1); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:115:2: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(base_dir); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:121:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] Error("can't set write dir: %s\n", PHYSFS_getLastError()); ^~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsx.c:123:4: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(PHYSFS_getWriteDir(), 0); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:128:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(GameArg.SysHogDir,1); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:131:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(SHAREPATH, 1); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_addRelToSearchPath': misc/physfsx.c:178:2: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] return PHYSFS_addToSearchPath(pathname, add_to_end); ^~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_removeRelFromSearchPath': misc/physfsx.c:191:2: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] return PHYSFS_removeFromSearchPath(pathname); ^~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_addArchiveContent': misc/physfsx.c:481:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] if (PHYSFS_addToSearchPath(file[1], 0)) ^~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_removeArchiveContent': misc/physfsx.c:539:3: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(file[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:555:3: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(file[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c: In function 'physfsrwops_seek': misc/physfsrwops.c:42:27: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] PHYSFS_getLastError()); ^~~~~~~~~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c:64:13: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("Can't find end of file: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c:92:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c: In function 'physfsrwops_read': misc/physfsrwops.c:103:5: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_sint64 rc = PHYSFS_read(handle, ptr, size, maxnum); ^~~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/physfsrwops.c:107:13: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c: In function 'physfsrwops_write': misc/physfsrwops.c:117:5: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_sint64 rc = PHYSFS_write(handle, ptr, size, num); ^~~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ misc/physfsrwops.c:119:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c: In function 'physfsrwops_close': misc/physfsrwops.c:130:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c: In function 'create_rwops': misc/physfsrwops.c:144:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ Compiling misc/strio.c ... Compiling misc/strutil.c ... Compiling texmap/ntmap.c ... Compiling texmap/scanline.c ... In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/net_udp.c ... In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ texmap/ntmap.c: In function 'ntmap_scanline_lighted_linear': texmap/ntmap.c:649:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((dx < 0) || (xright < 0) || (xleft > xright)) // the (xleft > xright) term is not redundant with (dx < 0) because dx is computed using integers ^~ texmap/ntmap.c:653:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (dx < FIX_RECIP_TABLE_SIZE) ^~ Compiling main/vers_id.c ... In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/net_udp.c: In function 'net_udp_more_game_options': main/net_udp.c:2921:38: warning: '%d' directive output may be truncated writing between 1 and 6 bytes into a region of size 4 [-Wformat-truncation=] snprintf(packstring,sizeof(char)*4,"%d",Netgame.PacketsPerSec); ^~ main/net_udp.c:2921:37: note: directive argument in the range [-32768, 32767] snprintf(packstring,sizeof(char)*4,"%d",Netgame.PacketsPerSec); ^~~~ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 7 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c: In function 'net_udp_list_join_poll': main/net_udp.c:912:44: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] snprintf(levelname, sizeof(levelname), "%d", Active_udp_games[(i+(NLPage*UDP_NETGAMES_PPAGE))].levelnum); ^~ main/net_udp.c:912:43: note: directive argument in the range [0, 2147483647] snprintf(levelname, sizeof(levelname), "%d", Active_udp_games[(i+(NLPage*UDP_NETGAMES_PPAGE))].levelnum); ^~~~ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:910:45: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 7 [-Wformat-truncation=] snprintf(levelname, sizeof(levelname), "S%d", -Active_udp_games[(i+(NLPage*UDP_NETGAMES_PPAGE))].levelnum); ^~ main/net_udp.c:910:43: note: directive argument in the range [1, 2147483647] snprintf(levelname, sizeof(levelname), "S%d", -Active_udp_games[(i+(NLPage*UDP_NETGAMES_PPAGE))].levelnum); ^~~~~ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 12 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:926:46: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(status, sizeof(status), "BETWEEN "); ^ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output 9 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:923:47: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(status, sizeof(status), "OPEN "); ^ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output 9 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:921:47: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(status, sizeof(status), "CLOSED "); ^ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output 9 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:919:47: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(status, sizeof(status), "RESTRICT"); ^ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output 9 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:915:46: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(status, sizeof(status), "FORMING "); ^ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output 9 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:929:71: warning: '%s' directive output may be truncated writing up to 24 bytes into a region of size between 15 and 60 [-Wformat-truncation=] snprintf (menus[i+4].text,sizeof(char)*74,"%d.\t%s \t%s \t %d/%d \t%s \t %s \t%s",(i+(NLPage*UDP_NETGAMES_PPAGE))+1,GameName,(gamemode < sizeof(GMNamesShrt) / sizeof(GMNamesShrt[0])) ? GMNamesShrt[gamemode] : "INVALID",nplayers, Active_udp_games[(i+(NLPage*UDP_NETGAMES_PPAGE))].max_numplayers,MissName,levelname,status); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 20 or more bytes (assuming 103) into a destination of size 74 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Linking d2x-rebirth ... scons: done building targets. + mv d2x-rebirth d2x-rebirth-sdl + scons -c scons: Reading SConscript files ... D2X-Rebirth: compiling on *NIX ===== D2X-Rebirth v0.58.1 ===== D2X-Rebirth: LittleEndian machine detected D2X-Rebirth: building with OpenGL D2X-Rebirth: including SDL_mixer scons: done reading SConscript files. scons: Cleaning targets ... Removed 2d/2dsline.o Removed 2d/bitblt.o Removed 2d/bitmap.o Removed 2d/box.o Removed 2d/canvas.o Removed 2d/circle.o Removed 2d/disc.o Removed 2d/font.o Removed 2d/gpixel.o Removed 2d/line.o Removed 2d/palette.o Removed 2d/pcx.o Removed 2d/pixel.o Removed 2d/rect.o Removed 2d/rle.o Removed 2d/scalec.o Removed 3d/clipper.o Removed 3d/draw.o Removed 3d/globvars.o Removed 3d/instance.o Removed 3d/interp.o Removed 3d/matrix.o Removed 3d/points.o Removed 3d/rod.o Removed 3d/setup.o Removed arch/ogl/gr.o Removed arch/ogl/ogl.o Removed arch/sdl/digi.o Removed arch/sdl/digi_audio.o Removed arch/sdl/digi_mixer.o Removed arch/sdl/digi_mixer_music.o Removed arch/sdl/event.o Removed arch/sdl/init.o Removed arch/sdl/joy.o Removed arch/sdl/jukebox.o Removed arch/sdl/key.o Removed arch/sdl/mouse.o Removed arch/sdl/rbaudio.o Removed arch/sdl/timer.o Removed arch/sdl/window.o Removed iff/iff.o Removed libmve/decoder8.o Removed libmve/decoder16.o Removed libmve/mve_audio.o Removed libmve/mvelib.o Removed libmve/mveplay.o Removed main/ai.o Removed main/ai2.o Removed main/aipath.o Removed main/automap.o Removed main/bm.o Removed main/cntrlcen.o Removed main/collide.o Removed main/config.o Removed main/console.o Removed main/controls.o Removed main/credits.o Removed main/digiobj.o Removed main/dumpmine.o Removed main/effects.o Removed main/endlevel.o Removed main/escort.o Removed main/fireball.o Removed main/fuelcen.o Removed main/fvi.o Removed main/game.o Removed main/gamecntl.o Removed main/gamefont.o Removed main/gamemine.o Removed main/gamepal.o Removed main/gamerend.o Removed main/gamesave.o Removed main/gameseg.o Removed main/gameseq.o Removed main/gauges.o Removed main/hostage.o Removed main/hud.o Removed main/inferno.o Removed main/kconfig.o Removed main/kmatrix.o Removed main/laser.o Removed main/lighting.o Removed main/menu.o Removed main/mglobal.o Removed main/mission.o Removed main/morph.o Removed main/movie.o Removed main/multi.o Removed main/multibot.o Removed main/newdemo.o Removed main/newmenu.o Removed main/object.o Removed main/paging.o Removed main/physics.o Removed main/piggy.o Removed main/player.o Removed main/playsave.o Removed main/polyobj.o Removed main/powerup.o Removed main/render.o Removed main/robot.o Removed main/scores.o Removed main/segment.o Removed main/slew.o Removed main/songs.o Removed main/state.o Removed main/switch.o Removed main/terrain.o Removed main/texmerge.o Removed main/text.o Removed main/titles.o Removed main/vclip.o Removed main/wall.o Removed main/weapon.o Removed maths/fixc.o Removed maths/rand.o Removed maths/tables.o Removed maths/vecmat.o Removed mem/mem.o Removed misc/args.o Removed misc/error.o Removed misc/hash.o Removed misc/hmp.o Removed misc/ignorecase.o Removed misc/physfsrwops.o Removed misc/physfsx.o Removed misc/strio.o Removed misc/strutil.o Removed texmap/ntmap.o Removed texmap/scanline.o Removed main/net_udp.o Removed main/vers_id.o scons: done cleaning targets. + CFLAGS=-D__EXPORT__= + scons -j8 sharepath=/usr/share/games/descent2 sdlmixer=1 PREFIX=/usr/src/tmp/d2x-rebirth-buildroot/usr scons: Reading SConscript files ... D2X-Rebirth: compiling on *NIX ===== D2X-Rebirth v0.58.1 ===== D2X-Rebirth: LittleEndian machine detected D2X-Rebirth: building with OpenGL D2X-Rebirth: including SDL_mixer scons: done reading SConscript files. scons: Building targets ... Compiling 2d/2dsline.c ... Compiling 2d/bitblt.c ... Compiling 2d/bitmap.c ... Compiling 2d/box.c ... Compiling 2d/canvas.c ... Compiling 2d/circle.c ... Compiling 2d/disc.c ... Compiling 2d/font.c ... Compiling 2d/gpixel.c ... Compiling 2d/line.c ... Compiling 2d/palette.c ... Compiling 2d/pcx.c ... Compiling 2d/pixel.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from 2d/font.c:37: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c: In function 'gr_init_font': 2d/font.c:1025:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, file_id, 4, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1038:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, font_data, 1, datasize); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1079:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile,palette,3,256); //read the palette ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c: In function 'gr_remap_font': 2d/font.c:1121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, file_id, 4, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1131:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile, font_data, 1, datasize); //read raw data ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/font.c:1169:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fontfile,palette,3,256); //read the palette ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from 2d/font.c:37: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/palette.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 2d/rect.c ... 2d/palette.c: In function 'gr_use_palette_table': 2d/palette.c:106:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, gr_palette, 256*3, 1 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/palette.c:107:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, gr_fade_table, 256*34, 1 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/palette.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling 2d/rle.c ... In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 2d/pcx.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/pcx.c: In function 'PCXHeader_read_n': 2d/pcx.c:74:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &ph->ColorMap, 16*3, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/pcx.c:78:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &ph->filler, 60, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/pcx.c: In function 'PCX_PHYSFS_read': 2d/pcx.c:104:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] return PHYSFS_read(pcxphysfs->PCXfile, data, size, sizeof(*data)); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 2d/pcx.c: In function 'pcx_write_bitmap': 2d/pcx.c:217:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(PCXfile, &header, PCXHEADER_SIZE, 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ 2d/pcx.c:232:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(PCXfile, &data, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ 2d/pcx.c:242:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] retval = PHYSFS_write(PCXfile, palette, 768, 1); ^~~~~~ In file included from include/physfsx.h:17, from 2d/pcx.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ Compiling 2d/scalec.c ... Compiling 3d/clipper.c ... Compiling 3d/draw.c ... Compiling 3d/globvars.c ... Compiling 3d/instance.c ... Compiling 3d/interp.c ... Compiling 3d/matrix.c ... Compiling 3d/points.c ... Compiling 3d/rod.c ... Compiling 3d/setup.c ... Compiling arch/ogl/gr.c ... Compiling arch/ogl/ogl.c ... Compiling arch/sdl/digi.c ... In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from arch/ogl/gr.c:33: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/digi_audio.c ... arch/ogl/gr.c: In function 'write_bmp': arch/ogl/gr.c:1080:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(TGAFile,&TGA,sizeof(TGA_header),1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ arch/ogl/gr.c:1081:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(TGAFile,buf,w*h*3*sizeof(unsigned char),1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from arch/ogl/gr.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ 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:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi_audio.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/digi_mixer_music.c ... Compiling arch/sdl/event.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/digi_mixer.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/digi_mixer.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/init.c ... In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from arch/sdl/digi.c:11: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/sdl/digi.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/init.c:13: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/init.c:13: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling arch/sdl/joy.c ... Compiling arch/sdl/jukebox.c ... Compiling arch/sdl/key.c ... Compiling arch/sdl/mouse.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/joy.c:16: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from arch/sdl/jukebox.c:10: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ arch/sdl/jukebox.c: In function 'jukebox_load': arch/sdl/jukebox.c:174:3: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if (PHYSFS_isDirectory(GameCfg.CMLevelMusicPath)) // find files in relative directory ^~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ arch/sdl/jukebox.c:179:4: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(GameCfg.CMLevelMusicPath, 0); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ arch/sdl/jukebox.c:188:5: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(GameCfg.CMLevelMusicPath); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/jukebox.c:196:4: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(GameCfg.CMLevelMusicPath); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from arch/sdl/jukebox.c:10: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from 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 main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: include/physfsx.h: In function 'PHYSFSX_readByte': 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, ^~~~~~~~~~~ include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/kconfig.h:24, from main/playsave.h:24, from arch/sdl/mouse.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 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 main/piggy.h:23, from arch/ogl/ogl.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from arch/ogl/ogl.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from 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 main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from arch/sdl/digi_mixer_music.c:19: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ arch/sdl/joy.c: In function 'joy_init': In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ arch/sdl/joy.c:188:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d A%d", i + 1, j + 1); ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ arch/sdl/joy.c:188:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d A%d", i + 1, j + 1); ^~~~~~~~~ arch/sdl/joy.c:188:19: note: directive argument in the range [1, 129] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 17 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ arch/sdl/joy.c:194:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d B%d", i + 1, j + 1); ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ arch/sdl/joy.c:194:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d B%d", i + 1, j + 1); ^~~~~~~~~ arch/sdl/joy.c:194:19: note: directive argument in the range [1, 129] In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from /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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ arch/sdl/joy.c:202:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0202); ^~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ arch/sdl/joy.c:202:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0202); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ arch/sdl/joy.c:202:19: note: directive argument in the range [1, 5] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ arch/sdl/joy.c:204:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0177); ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ arch/sdl/joy.c:204:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0177); ^~~~~~~~~~~ arch/sdl/joy.c:204:19: note: directive argument in the range [1, 5] In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_fgetc': 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ arch/sdl/joy.c:206:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0200); ^~ arch/sdl/joy.c:206:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0200); ^~~~~~~~~~~ arch/sdl/joy.c:206:19: note: directive argument in the range [1, 5] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/sdl/joy.c:208:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0201); ^~ arch/sdl/joy.c:208:19: note: directive argument in the range [1, 2147483647] sprintf(temp, "J%d H%d%c", i + 1, j + 1, 0201); ^~~~~~~~~~~ arch/sdl/joy.c:208:19: note: directive argument in the range [1, 5] In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from arch/include/joy.h:12, from arch/sdl/joy.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/event.c:15: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/event.c:15: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 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/rbaudio.c ... Compiling arch/sdl/timer.c ... Compiling arch/sdl/window.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from arch/sdl/timer.c:11: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from arch/sdl/timer.c:11: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling iff/iff.c ... 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; ^~~~~ Compiling libmve/decoder8.c ... Compiling libmve/decoder16.c ... Compiling libmve/mve_audio.c ... Compiling libmve/mvelib.c ... Compiling libmve/mveplay.c ... In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from iff/iff.c:33: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ iff/iff.c: In function 'parse_body': iff/iff.c:170:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile, p, width, depth); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ iff/iff.c:206:6: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile, p, nn, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/ai.c ... iff/iff.c: In function 'write_body': iff/iff.c:764:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(ofile,new_span,newlen,1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ iff/iff.c:767:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(ofile,p,bitmap_header->w+odd,1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from iff/iff.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/ai2.c ... main/ai.c: In function 'ai_save_state': main/ai.c:1571:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Ai_initialized, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1572:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Overall_agitation, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1579:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, ail_rw, sizeof(ai_local_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1582:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Point_segs, sizeof(point_seg) * MAX_POINT_SEGS, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1589:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, aic_rw, sizeof(ai_cloak_info_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1596:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1601:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1606:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1607:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Boss_teleport_interval, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1608:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Boss_cloak_interval, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1609:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Boss_cloak_duration, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1614:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1615:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Gate_interval, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1629:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1630:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Boss_dying, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1631:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Boss_dying_sound_playing, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1636:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1637:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Escort_kill_object, sizeof(Escort_kill_object), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1642:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1643:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Escort_goal_object, sizeof(Escort_goal_object), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1644:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Escort_special_goal, sizeof(Escort_special_goal), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1645:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Escort_goal_index, sizeof(Escort_goal_index), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1646:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Stolen_items, sizeof(Stolen_items[0])*MAX_STOLEN_ITEMS, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1651:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &temp, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1654:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_boss_teleport_segs, sizeof(Num_boss_teleport_segs), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1655:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_boss_gate_segs, sizeof(Num_boss_gate_segs), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1658:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Boss_gate_segs, sizeof(Boss_gate_segs[0]), Num_boss_gate_segs); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c:1661:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Boss_teleport_segs, sizeof(Boss_teleport_segs[0]), Num_boss_teleport_segs); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/ai.c: In function 'ai_restore_state': main/ai.c:1766:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Stolen_items, sizeof(Stolen_items[0]) * MAX_STOLEN_ITEMS, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/ai2.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/ai2.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ 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:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/aipath.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/automap.c ... Compiling main/bm.c ... In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from main/automap.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/bm.c: In function 'bm_read_all': main/bm.c:164:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, Sounds, sizeof(ubyte), t ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/bm.c:165:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, AltSounds, sizeof(ubyte), t ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/bm.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/automap.c: In function 'automap_clear_visited': main/automap.c:367:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (unsigned i=0; i< sizeof(Automap_visited) / sizeof(Automap_visited[0]); i++ ) ^~~ main/automap.c:369:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' ClearMarkers(); ^~~~~~~~~~~~ Compiling main/cntrlcen.c ... In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/cntrlcen.c: In function 'control_center_triggers_read_n_swap': main/cntrlcen.c:553:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, cct, sizeof(control_center_triggers), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/cntrlcen.h:24, from main/cntrlcen.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/collide.c ... In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/collide.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/collide.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/collide.c: In function 'apply_damage_to_robot': main/collide.c:1333:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (isthief) ^~ main/collide.c:1337:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (multi_explode_robot_sub(robot-Objects, killer_objnum,Robot_info[robot->id].thief)) ^~ main/collide.c:1345:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (isthief) ^~ main/collide.c:1349:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 1; ^~~~~~ Compiling main/config.c ... Compiling main/console.c ... Compiling main/controls.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/config.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/config.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/controls.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/controls.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/credits.c ... In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/credits.c:33: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/credits.c:33: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/digiobj.c ... Compiling main/dumpmine.c ... In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/dumpmine.c:38: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/credits.c: In function 'credits_show': main/credits.c:240:21: warning: '.txb' directive writing 4 bytes into a region of size between 1 and 32 [-Wformat-overflow=] sprintf(nfile, "%s.txb", filename); ^~~~ In file included from /usr/include/stdio.h:862, from main/credits.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 36 bytes into a destination of size 32 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/digiobj.c:22: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/effects.c ... In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/console.c:17: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/console.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/endlevel.c ... In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/endlevel.c:40: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ At top level: main/endlevel.c:138:19: warning: 'movie_table_secret' defined but not used [-Wunused-const-variable=] static const char movie_table_secret[] = {'a','d','g','j','m','p'}; ^~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/effects.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/effects.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/escort.c ... Compiling main/fireball.c ... In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/fireball.c: In function 'object_create_explosion_sub': main/fireball.c:226:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (killer != ConsoleObject) // if someone else whacks you, cut force by 2x ^~ main/fireball.c:227:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' vforce2.x /= 2; vforce2.y /= 2; vforce2.z /= 2; ^~~~~~~ main/fireball.c: In function 'pick_connected_segment': main/fireball.c:433:2: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] memset(seg_queue,0,QUEUE_SIZE*2); ^~~~~~ main/fireball.c: In function 'expl_wall_read_n_swap': main/fireball.c:1447:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, ew, sizeof(expl_wall), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/fireball.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/fuelcen.c ... In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/escort.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/escort.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/fvi.c ... main/fuelcen.c: In function 'matcen_info_read_n_swap': main/fuelcen.c:840:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, mi, sizeof(*mi), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/fuelcen.c: In function 'fuelcen_read_n_swap': main/fuelcen.c:881:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, fc, sizeof(FuelCenter), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fuelcen.h:23, from main/fuelcen.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/fvi.h:25, from main/fvi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/game.c ... Compiling main/gamecntl.c ... Compiling main/gamefont.c ... Compiling main/gamemine.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:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamecntl.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/gamemine.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/gamemine.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/gamefont.c:29: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/gamefont.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gamepal.c ... In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/game.c:35: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/game.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gamepal.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gamepal.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/gamerend.c ... Compiling main/gamesave.c ... In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_readString': Compiling main/gameseg.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/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/gamerend.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/gamesave.c: In function 'load_game_data': main/gamesave.c:798:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(LoadFile,Save_pof_names,N_save_pof_names,FILENAME_LEN); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/gamesave.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/gamesave.c:984:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main/gamesave.c:987:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' for (j = 0; j <= Highest_segment_index; j++) ^~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseg.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseg.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/gameseg.c: In function 'trace_segs': main/gameseg.c:738:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (sidenum = 0, bit = 1; sidenum < 6; sidenum++, bit <<= 1) ^~~ main/gameseg.c:745:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if (biggest_side == -1) ^~ Compiling main/gameseq.c ... Compiling main/gauges.c ... main/gamerend.c: In function 'show_extra_views': main/gamerend.c:611:27: warning: '%d' directive writing between 1 and 11 bytes into a region of size 3 [-Wformat-overflow=] sprintf(label,"Marker %d",Marker_viewer_num[w]+1); ^~ main/gamerend.c:611:19: note: directive argument in the range [-2147483647, 2147483647] sprintf(label,"Marker %d",Marker_viewer_num[w]+1); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from main/gamerend.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 19 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gauges.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gauges.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/hostage.c ... Compiling main/hud.c ... In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/hostage.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/hud.c:18: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/hud.c:18: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/gameseq.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/gameseq.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/inferno.c ... In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/inferno.c:46: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/kconfig.c ... Compiling main/kmatrix.c ... Compiling main/laser.c ... In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kconfig.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kconfig.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/kmatrix.c:32: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/kmatrix.c:32: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/laser.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/laser.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/gameseq.c: In function 'DoEndGame': main/gameseq.c:1240:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else if (!(Game_mode & GM_MULTI)) //not multi ^~~~ main/gameseq.c:1251:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' key_flush(); ^~~~~~~~~ Compiling main/lighting.c ... In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/lighting.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/lighting.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/menu.c ... In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/menu.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/menu.c: In function 'list_dir_el': main/menu.c:1336:2: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if ((!strcmp((PHYSFS_getRealDir(fname)==NULL?"":PHYSFS_getRealDir(fname)), b->view_path)) && (PHYSFS_isDirectory(fname) || (ext && *i)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ main/menu.c: In function 'list_directory': main/menu.c:1358:2: warning: 'PHYSFS_enumerateFilesCallback' is deprecated [-Wdeprecated-declarations] PHYSFS_enumerateFilesCallback("", (PHYSFS_EnumFilesCallback) list_dir_el, b); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:2385:18: note: declared here PHYSFS_DECL void PHYSFS_enumerateFilesCallback(const char *dir, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/menu.c: In function 'select_file_handler': main/menu.c:1461:4: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if ((citem == 0) || PHYSFS_isDirectory(list[citem])) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ main/menu.c:1472:5: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(b->view_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main/menu.c: In function 'select_file_recursive': main/menu.c:1544:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] while (!PHYSFS_addToSearchPath(b->view_path, 0)) ^~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ main/menu.c:1560:3: warning: 'PHYSFS_getUserDir' is deprecated [-Wdeprecated-declarations] strncpy(b->view_path, PHYSFS_getUserDir(), PATH_MAX - 1); ^~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:792:25: note: declared here PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~ main/menu.c:1563:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] if (!PHYSFS_addToSearchPath(b->view_path, 0)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/menu.c:25: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ Compiling main/mglobal.c ... In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/mglobal.c:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/mglobal.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/mission.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/gameseq.h:24, from main/mission.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/mission.c: In function 'add_missions_to_list': main/mission.c:532:3: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] if (PHYSFS_isDirectory(path)) ^~ In file included from main/player.h:23, from main/gameseq.h:24, from main/mission.c:30: /usr/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ Compiling main/morph.c ... In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/morph.h:24, from main/morph.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/movie.c ... Compiling main/multi.c ... Compiling main/multibot.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/multi.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/movie.c: In function 'RunMovie': main/movie.c:394:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT, "Can't open movie <%s>: %s\n", filename, PHYSFS_getLastError()); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/movie.c: In function 'InitRobotMovie': main/movie.c:506:3: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT, "Can't open movie <%s>: %s\n", filename, PHYSFS_getLastError()); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/movie.c: In function 'init_subtitles': main/movie.c:574:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] read_count = PHYSFS_read(ifile, subtitle_raw_data, 1, size); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/movie.c: In function 'init_movie': main/movie.c:691:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT, "Can't open movielib <%s>: %s\n", filename, PHYSFS_getLastError()); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/movie.c: In function 'close_extra_robot_movie': main/movie.c:718:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT, "Can't close movielib <%s>: %s\n", filename, PHYSFS_getLastError()); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/movie.c:722:5: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] con_printf(CON_URGENT, "Can't close movielib <%s>: %s\n", filename, PHYSFS_getLastError()); ^~~~~~~~~~ In file included from main/player.h:23, from main/config.h:24, from main/movie.c:34: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/movie.c: In function 'close_extra_robot_movie.part.4': main/movie.c:714:43: warning: '.mvl' directive output may be truncated writing 4 bytes into a region of size between 1 and 13 [-Wformat-truncation=] snprintf(filename,FILENAME_LEN+2, "%s-%s.mvl", movielib_files[EXTRA_ROBOT_LIB], GameArg.GfxMovieHires?"h":"l"); ^~~~ In file included from /usr/include/stdio.h:862, from include/dxxerror.h:23, from include/physfsx.h:25, from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 7 and 19 bytes into a destination of size 15 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/movie.c:719:45: warning: '.mvl' directive output may be truncated writing 4 bytes into a region of size between 1 and 13 [-Wformat-truncation=] snprintf(filename, FILENAME_LEN+2, "%s-%s.mvl", movielib_files[EXTRA_ROBOT_LIB], GameArg.GfxMovieHires?"l":"h"); ^~~~ In file included from /usr/include/stdio.h:862, from include/dxxerror.h:23, from include/physfsx.h:25, from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/config.h:24, from main/movie.c:34: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 7 and 19 bytes into a destination of size 15 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/multi.c: In function 'init_hoard_data': main/multi.c:5189:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,palette,3,256); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5192:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,bm->bm_data,1,orb_w*orb_h); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5198:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,palette,3,256); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5201:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,bm->bm_data,1,64*64); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5213:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,palette,3,256); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5214:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,Orb_icons[i].bm_data,1,icon_w*icon_h); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5232:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,GameSounds[Num_sound_files+i].data,1,len); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/multi.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c: In function 'multi_process_data': main/multi.c:5335:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_position(buf); break; ^~ main/multi.c:5335:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_position(buf); break; ^~~~~ main/multi.c:5337:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_reappear(buf); break; ^~ main/multi.c:5337:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_reappear(buf); break; ^~~~~ main/multi.c:5339:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_fire(buf); break; ^~ main/multi.c:5339:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_fire(buf); break; ^~~~~ main/multi.c:5343:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_remobj(buf); break; ^~ main/multi.c:5343:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_remobj(buf); break; ^~~~~ main/multi.c:5346:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_player_explode(buf); break; ^~ main/multi.c:5346:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_player_explode(buf); break; ^~~~~ main/multi.c:5348:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_message(buf); break; ^~ main/multi.c:5348:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_message(buf); break; ^~~~~ main/multi.c:5350:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_quit(buf); break; ^~ main/multi.c:5350:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_quit(buf); break; ^~~~~ main/multi.c:5354:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_controlcen_destroy(buf); break; ^~ main/multi.c:5354:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_controlcen_destroy(buf); break; ^~~~~ main/multi.c:5356:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_powcap_update(buf); break; ^~ main/multi.c:5356:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_powcap_update(buf); break; ^~~~~ main/multi.c:5360:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_drop_marker (buf); break; ^~ main/multi.c:5360:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_drop_marker (buf); break; ^~~~~ main/multi.c:5362:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_drop_weapon(buf); break; ^~ main/multi.c:5362:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_drop_weapon(buf); break; ^~~~~ main/multi.c:5364:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_drop_flag(buf); break; ^~ main/multi.c:5364:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_drop_flag(buf); break; ^~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ main/multi.c:5366:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_guided (buf); break; ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5366:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_guided (buf); break; ^~~~~ main/multi.c:5368:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_stolen_items(buf); break; ^~ main/multi.c:5368:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_stolen_items(buf); break; ^~~~~ main/multi.c:5370:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_wall_status(buf); break; ^~ main/multi.c:5370:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_wall_status(buf); break; ^~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_writeU8': main/multi.c:5372:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_heartbeat (buf); break; ^~ include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/multi.c:5372:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_heartbeat (buf); break; ^~~~~ main/multi.c:5374:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_seismic (buf); break; ^~ main/multi.c:5374:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_seismic (buf); break; ^~~~~ main/multi.c:5376:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_light (buf); break; ^~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/multi.c:5376:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_light (buf); break; ^~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5378:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_kill_goal_counts (buf); break; ^~ main/multi.c:5378:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_kill_goal_counts (buf); break; ^~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/multibot.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/multi.c:5380:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_escape(buf); break; ^~ main/multi.c:5380:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_escape(buf); break; ^~~~~ main/multi.c:5384:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_cloak(buf); break; ^~ main/multi.c:5384:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_cloak(buf); break; ^~~~~ main/multi.c:5386:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_decloak(buf); break; ^~ main/multi.c:5386:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_decloak(buf); break; ^~~~~ main/multi.c:5388:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_door_open(buf); break; ^~ main/multi.c:5388:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_door_open(buf); break; ^~~~~ main/multi.c:5390:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_explosion(buf); break; ^~ main/multi.c:5390:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_create_explosion(buf); break; ^~~~~ main/multi.c:5392:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_controlcen_fire(buf); break; ^~ main/multi.c:5392:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_controlcen_fire(buf); break; ^~~~~ main/multi.c:5394:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_powerup(buf); break; ^~ main/multi.c:5394:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_create_powerup(buf); break; ^~~~~ main/multi.c:5396:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_play_sound(buf); break; ^~ main/multi.c:5396:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_play_sound(buf); break; ^~~~~ main/multi.c:5398:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_capture_bonus(buf); break; ^~ main/multi.c:5398:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_capture_bonus(buf); break; ^~~~~ main/multi.c:5400:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_orb_bonus(buf); break; ^~ main/multi.c:5400:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_orb_bonus(buf); break; ^~~~~ main/multi.c:5402:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_got_flag(buf); break; ^~ main/multi.c:5402:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_got_flag(buf); break; ^~~~~ main/multi.c:5404:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_got_orb(buf); break; ^~ main/multi.c:5404:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_got_orb(buf); break; ^~~~~ main/multi.c:5406:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_play_by_play(buf); break; ^~ main/multi.c:5406:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_play_by_play(buf); break; ^~~~~ main/multi.c:5408:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_ranking (buf); break; ^~ main/multi.c:5408:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_ranking (buf); break; ^~~~~ main/multi.c:5414:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_claim_robot(buf); break; ^~ main/multi.c:5414:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_claim_robot(buf); break; ^~~~~ main/multi.c:5416:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_position(buf); break; ^~ main/multi.c:5416:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_robot_position(buf); break; ^~~~~ main/multi.c:5418:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_explode(buf); break; ^~ main/multi.c:5418:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_robot_explode(buf); break; ^~~~~ main/multi.c:5420:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_release_robot(buf); break; ^~ main/multi.c:5420:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_release_robot(buf); break; ^~~~~ main/multi.c:5422:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_robot_fire(buf); break; ^~ main/multi.c:5422:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_robot_fire(buf); break; ^~~~~ main/multi.c:5424:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_score(buf); break; ^~ main/multi.c:5424:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_score(buf); break; ^~~~~ main/multi.c:5426:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_robot(buf); break; ^~ main/multi.c:5426:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_create_robot(buf); break; ^~~~~ main/multi.c:5428:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_trigger(buf); break; ^~ main/multi.c:5428:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_trigger(buf); break; ^~~~~ main/multi.c:5430:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_start_trigger(buf); break; ^~ main/multi.c:5430:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_start_trigger(buf); break; ^~~~~ main/multi.c:5432:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_flags(buf); break; ^~ main/multi.c:5432:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_flags(buf); break; ^~~~~ main/multi.c:5434:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_drop_blob(buf); break; ^~ main/multi.c:5434:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_drop_blob(buf); break; ^~~~~ main/multi.c:5436:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_active_door(buf); break; ^~ main/multi.c:5436:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_active_door(buf); break; ^~~~~ main/multi.c:5438:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_boss_actions(buf); break; ^~ main/multi.c:5438:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_boss_actions(buf); break; ^~~~~ main/multi.c:5440:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_create_robot_powerups(buf); break; ^~ main/multi.c:5440:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_create_robot_powerups(buf); break; ^~~~~ main/multi.c:5442:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_hostage_door_status(buf); break; ^~ main/multi.c:5442:63: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_hostage_door_status(buf); break; ^~~~~ main/multi.c:5444:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_save_game(buf); break; ^~ main/multi.c:5444:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_save_game(buf); break; ^~~~~ main/multi.c:5446:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Endlevel_sequence) multi_do_restore_game(buf); break; ^~ main/multi.c:5446:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Endlevel_sequence) multi_do_restore_game(buf); break; ^~~~~ main/multi.c:5448:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( !Endlevel_sequence ) multi_do_bounty( buf ); break; ^~ main/multi.c:5448:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( !Endlevel_sequence ) multi_do_bounty( buf ); break; ^~~~~ Compiling main/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:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/newdemo.c: In function 'newdemo_read': main/newdemo.c:257:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] num_read = PHYSFS_read(infile, buffer, elsize, nelem); ^~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/newdemo.c: In function 'newdemo_write': main/newdemo.c:284:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] num_written = PHYSFS_write(outfile, buffer, elsize, nelem); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/newdemo.c: In function 'newdemo_swap_endian': main/newdemo.c:3686:8: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] complete ? "" : (nd_playback_v_at_eof ? TXT_DEMO_CORRUPT : PHYSFS_getLastError())); ^~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newdemo.c:30: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/escort.c: In function 'do_escort_menu': main/escort.c:1822:21: warning: '%s' directive writing up to 31 bytes into a region of size between 4 and 35 [-Wformat-overflow=] sprintf(menu->msg, "Select Guide-Bot Command:\n\n\n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/escort.c:1835:17: , goal_str, tstr); ~~~~ main/escort.c:1833:12: note: format string is defined here "T. %s Messages" ^~ In file included from /usr/include/stdio.h:862, from main/escort.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 275 and 337 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling main/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:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/newmenu.c:35: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/paging.c ... In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/paging.c:29: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/paging.c:29: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/physics.c ... In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/object.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/object.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/newdemo.c: In function 'newdemo_stop_recording': main/newdemo.c:3444:24: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf (newfile, "%s%d", filename, num); ^~ main/newdemo.c:3444:21: note: directive argument in the range [-2147483647, 2147483647] sprintf (newfile, "%s%d", filename, num); ^~~~~~ In file included from /usr/include/stdio.h:862, from main/newdemo.c:22: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 4107 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling main/piggy.c ... In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/physics.c:28: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/physics.c:28: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'DiskBitmapHeader_read': main/piggy.c:151:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, dbh->name, 8, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'DiskSoundHeader_read': main/piggy.c:166:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, dsh->name, 8, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'DiskBitmapHeader_d1_read': main/piggy.c:177:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, dbh->name, 8, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'piggy_read_sounds': main/piggy.c:1016:5: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( fp, snd->data, snd->length, 1 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'piggy_bitmap_page_in': main/piggy.c:1107:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, &Piggy_bitmap_cache_data[Piggy_bitmap_cache_next+4], 1, zsize-4 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c:1149:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( Piggy_fp, &Piggy_bitmap_cache_data[Piggy_bitmap_cache_next], 1, bmp->bm_h*bmp->bm_w ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'load_bitmap_replacements': main/piggy.c:1608:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,Bitmap_replacement_data,1,bitmap_data_size); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'get_d1_colormap': main/piggy.c:1635:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read( palette_file, d1_palette, 256, 3 ); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'bitmap_read_d1': main/piggy.c:1678:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(d1_Piggy_fp, data, 1, zsize); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/bm.h:24, from main/piggy.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/piggy.c: In function 'piggy_init_pigfile': main/piggy.c:458:28: warning: '%d' directive writing between 1 and 2 bytes into a region of size between 0 and 15 [-Wformat-overflow=] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & DBM_NUM_FRAMES ); ^~ main/piggy.c:458:24: note: directive argument in the range [0, 63] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & DBM_NUM_FRAMES ); ^~~~~~~ In file included from /usr/include/stdio.h:862, from main/piggy.c:21: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 19 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/piggy.c: In function 'piggy_new_pigfile': main/piggy.c:566:29: warning: '%d' directive writing between 1 and 2 bytes into a region of size between 0 and 15 [-Wformat-overflow=] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & DBM_NUM_FRAMES ); ^~ main/piggy.c:566:25: note: directive argument in the range [0, 63] sprintf( temp_name, "%s#%d", temp_name_read, bmh.dflags & DBM_NUM_FRAMES ); ^~~~~~~ In file included from /usr/include/stdio.h:862, from main/piggy.c:21: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 19 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/object.c: In function 'obj_get_signature': main/object.c:1096:26: warning: iteration 350 invokes undefined behavior [-Waggressive-loop-optimizations] if ((sig == Objects[i].signature) && (Objects[i].type != OBJ_NONE)) ~~~~~~~~~~^~~~~~~~~~ main/object.c:1094:3: note: within this loop for (i = 0; i <= MAX_OBJECTS; i++) ^~~ Compiling main/player.c ... In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.h:25, from main/player.h:27, from main/player.c:8: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from main/player.h:23, from main/player.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/playsave.c ... In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/playsave.c:30: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c: In function 'read_player_file': main/playsave.c:570:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, PlayerCfg.HighestLevels, sizeof(hli), PlayerCfg.NHighestLevels) != PlayerCfg.NHighestLevels) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:581:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, PlayerCfg.NetworkMessageMacro[i], len, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:594:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &PlayerCfg.KeySettings[0], sizeof(PlayerCfg.KeySettings[0]),1)!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:596:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &PlayerCfg.KeySettings[1], sizeof(PlayerCfg.KeySettings[1]),1)!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:599:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &PlayerCfg.KeySettings[2], sizeof(PlayerCfg.KeySettings[2]),1)!=1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:604:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, (ubyte *)&control_type_dos, sizeof(ubyte), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:606:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] else if (player_file_version >= 21 && PHYSFS_read(file, (ubyte *)&control_type_win, sizeof(ubyte), 1) != 1) ^~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:608:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] else if (PHYSFS_read(file, &dummy_joy_sens, sizeof(ubyte), 1) !=1 ) ^~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/playsave.c:699:2: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] nm_messagebox(TXT_ERROR, 1, TXT_OK, "%s\n\n%s", "Error reading PLR file", PHYSFS_getLastError()); ^~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/playsave.c: In function 'write_player_file': main/playsave.c:806:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if ((PHYSFS_write(file, PlayerCfg.HighestLevels, sizeof(hli), PlayerCfg.NHighestLevels) != PlayerCfg.NHighestLevels)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:810:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if ((PHYSFS_write(file, PlayerCfg.NetworkMessageMacro, MAX_MESSAGE_LEN, 4) != 4)) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:827:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, PlayerCfg.KeySettings[0], sizeof(PlayerCfg.KeySettings[0]), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:829:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, PlayerCfg.KeySettings[1], sizeof(PlayerCfg.KeySettings[1]), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:832:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, "0", sizeof(ubyte), 1) != 1) // Skip obsolete Flightstick/Thrustmaster/Gravis map fields ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:834:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, PlayerCfg.KeySettings[2], sizeof(PlayerCfg.KeySettings[2]), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:837:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, "0", sizeof(ubyte), 1) != 1) // Skip obsolete Cyberman/Winjoy map fields ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:839:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &control_type_dos, sizeof(ubyte), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:841:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &control_type_win, sizeof(ubyte), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:843:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &old_avg_joy_sensitivity, sizeof(ubyte), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:848:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(file, &PlayerCfg.PrimaryOrder[i], sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:849:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(file, &PlayerCfg.SecondaryOrder[i], sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/playsave.c:882:2: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] nm_messagebox(TXT_ERROR, 1, TXT_OK, "%s\n\n%s", TXT_ERROR_WRITING_PLR, PHYSFS_getLastError()); ^~~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/playsave.c:30: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ Compiling main/polyobj.c ... Compiling main/powerup.c ... In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/powerup.c:31: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/polyobj.c: In function 'read_model_file': main/polyobj.c:277:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] Pof_file_end = PHYSFS_read(ifile, model_buf, 1, PHYSFS_fileLength(ifile)); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/polyobj.c: In function 'read_model_guns': main/polyobj.c:452:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] Pof_file_end = PHYSFS_read(ifile, model_buf, 1, PHYSFS_fileLength(ifile)); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/polyobj.c: In function 'polymodel_read': main/polyobj.c:768:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pm->submodel_parents, MAX_SUBMODELS, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/polyobj.c: In function 'polymodel_read_n': main/polyobj.c:802:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pm[i].submodel_parents, MAX_SUBMODELS, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/polyobj.c: In function 'polygon_model_data_read': main/polyobj.c:824:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pm->model_data, sizeof(ubyte), pm->model_data_size); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/polyobj.c:26: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/render.c ... 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:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/render.c:25: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/robot.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/robot.c: In function 'robot_info_read_n': main/robot.c:306:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, ri[i].pad, 3, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/robot.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/scores.c ... main/render.c: In function 'render_segment': main/render.c:819:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Viewer->type!=OBJ_ROBOT) ^~ main/render.c:822:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (sn=0; sntype!=OBJ_ROBOT) ^~ main/render.c:2162:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (sn=0; sntype!=OBJ_ROBOT) ^~ main/render.c:2274:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (sn=0; snbm_data, THUMBNAIL_W * THUMBNAIL_H, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:640:7: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pal, 3, 256); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c: In function 'copy_file': main/state.c:730:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] bytes_read = PHYSFS_read(in_file, buf, 1, buf_size); ^~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:732:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] Error("Cannot read from file <%s>: %s", old_file, PHYSFS_getLastError()); ^~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/state.c:736:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(out_file, buf, 1, bytes_read) < bytes_read) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:737:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] Error("Cannot write to file <%s>: %s", new_file, PHYSFS_getLastError()); ^~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/state.c: In function 'state_save_all': main/state.c:822:6: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] Error("Cannot delete file <%s>: %s", temp_fname, PHYSFS_getLastError()); ^~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ main/state.c: In function 'state_save_all_sub': main/state.c:871:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, dgss_id, sizeof(char) * 4, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:875:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:880:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &state_game_id, sizeof(uint), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:881:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Players[Player_num].callsign, sizeof(char)*CALLSIGN_LEN+1, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:885:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, desc, sizeof(char) * DESC_LENGTH, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:921:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, cnv->cv_bitmap.bm_data, THUMBNAIL_W * THUMBNAIL_H, 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:925:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, pal, 3, 256); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:931:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &color, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:936:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:941:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &mission_filename, 9 * sizeof(char), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:944:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Current_level_num, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:945:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Next_level_num, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:950:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:958:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:963:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Primary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:964:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Secondary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:967:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Difficulty_level, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:970:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.enabled, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:994:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1001:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, obj_rw, sizeof(object_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1007:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1008:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Walls, sizeof(wall), i); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1012:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1013:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, expl_wall_list, sizeof(*expl_wall_list), i); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1017:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1018:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, ActiveDoors, sizeof(active_door), i); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1022:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1023:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, CloakingWalls, sizeof(cloaking_wall), i); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1026:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_triggers, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1027:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Triggers, sizeof(trigger), Num_triggers); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1034:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Segments[i].sides[j].wall_num, sizeof(short), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1035:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Segments[i].sides[j].tmap_num, sizeof(short), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1036:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Segments[i].sides[j].tmap_num2, sizeof(short), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1041:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_destroyed, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1042:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Countdown_timer, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1043:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_robot_centers, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1044:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, RobotCenters, sizeof(matcen_info), Num_robot_centers); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1045:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &ControlCenterTriggers, sizeof(control_center_triggers), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1046:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Num_fuelcenters, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1047:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Station, sizeof(FuelCenter), Num_fuelcenters); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1050:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_been_hit, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1051:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_player_been_seen, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1052:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_next_fire_time, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1053:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Control_center_present, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1054:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Dead_controlcen_object_num, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1062:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Automap_visited, sizeof(ubyte), Highest_segment_index + 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1065:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Automap_visited, sizeof(ubyte), MAX_SEGMENTS_ORIGINAL); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1067:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &state_game_id, sizeof(uint), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1069:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &cheats.rapidfire, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1070:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); // was Lunacy ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1071:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &i, sizeof(int), 1); // was Lunacy, too... and one was Ugly robot stuff a long time ago... ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1075:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, MarkerObject, sizeof(MarkerObject) ,1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1076:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Players[0].callsign[0], sizeof(char), (NUM_MARKERS)*(CALLSIGN_LEN+1)); // PHYSFS_write(fp, MarkerOwner, sizeof(MarkerOwner), 1); MarkerOwner is obsolete ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1077:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, MarkerMessage, sizeof(MarkerMessage), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1079:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Afterburner_charge, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1082:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Primary_last_was_super, sizeof(Primary_last_was_super), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1083:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Secondary_last_was_super, sizeof(Secondary_last_was_super), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1086:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Flash_effect, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1091:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &tmptime32, sizeof(fix), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1092:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &PaletteRedAdd, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1093:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &PaletteGreenAdd, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1094:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &PaletteBlueAdd, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1097:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Light_subtracted, sizeof(Light_subtracted[0]), Highest_segment_index + 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1100:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, Light_subtracted, sizeof(Light_subtracted[0]), MAX_SEGMENTS_ORIGINAL); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1101:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &First_secret_visit, sizeof(First_secret_visit), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1102:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Omega_charge, sizeof(Omega_charge), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1112:4: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1115:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.mission_title, sizeof(char), MISSION_NAME_LEN+1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1116:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.mission_name, sizeof(char), 9); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1117:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.levelnum, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1118:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.difficulty, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1119:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.game_status, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1120:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1121:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.max_numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1122:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.numconnected, sizeof(ubyte), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c:1123:3: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_write(fp, &Netgame.level_time, sizeof(int), 1); ^~~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ main/state.c: In function 'state_restore_all_sub': main/state.c:1251:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, id, sizeof(char) * 4, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1259:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &version, sizeof(int), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1276:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &saved_callsign, sizeof(char)*CALLSIGN_LEN+1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1285:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, desc, sizeof(char) * DESC_LENGTH, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1298:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, mission, sizeof(char) * 9, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1347:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1372:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1383:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Primary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1384:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Secondary_weapon, sizeof(sbyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1411:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, obj_rw, sizeof(object_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1514:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, Automap_visited, sizeof(ubyte), Highest_segment_index + 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1517:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, Automap_visited, sizeof(ubyte), MAX_SEGMENTS_ORIGINAL); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1538:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, MarkerMessage, sizeof(MarkerMessage), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1563:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Primary_last_was_super, sizeof(Primary_last_was_super), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1564:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Secondary_last_was_super, sizeof(Secondary_last_was_super), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1587:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, Light_subtracted, sizeof(Light_subtracted[0]), Highest_segment_index + 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1590:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, Light_subtracted, sizeof(Light_subtracted[0]), MAX_SEGMENTS_ORIGINAL); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1639:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, pl_rw, sizeof(player_rw), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1690:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.mission_title, sizeof(char), MISSION_NAME_LEN+1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1691:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.mission_name, sizeof(char), 9); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1693:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.difficulty, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1694:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.game_status, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1695:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1696:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.max_numplayers, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1697:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &Netgame.numconnected, sizeof(ubyte), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c: In function 'state_get_game_id': main/state.c:1741:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, id, sizeof(char) * 4, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1749:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &version, sizeof(int), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/state.c:1763:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, &saved_callsign, sizeof(char)*CALLSIGN_LEN+1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/state.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/text.c ... Compiling main/titles.c ... In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/text.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/text.c: In function 'load_text': main/text.c:105:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(ifile,text,1,len); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/text.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/vclip.c ... main/titles.c: In function 'load_screen_text': main/titles.c:471:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(tfile,*buf+x,1,1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/robot.h:24, from main/polyobj.h:29, from main/titles.c:39: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/wall.c ... In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/vclip.h:25, from main/vclip.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/weapon.c ... In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling maths/fixc.c ... main/wall.c: In function 'wclip_read_n_d1': main/wall.c:1607:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, wc[i].filename, 13, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/wall.c: In function 'wclip_read_n': main/wall.c:1628:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, wc[i].filename, 13, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/wall.c: In function 'wall_read_n_swap': main/wall.c:1700:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, w, sizeof(wall), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/wall.c: In function 'active_door_read_n_swap': main/wall.c:1755:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, ad, sizeof(active_door), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/wall.c: In function 'cloaking_wall_read_n_swap': main/wall.c:1821:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(fp, cw, sizeof(cloaking_wall), n); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/wall.h:24, from main/wall.c:27: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/game.h:23, from main/weapon.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/game.h:23, from main/weapon.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling maths/rand.c ... main/weapon.c: In function 'pick_up_primary': main/weapon.c:695:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (weapon_index!=LASER_INDEX) ^~ main/weapon.c:698:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 1; ^~~~~~ Compiling maths/tables.c ... Compiling maths/vecmat.c ... Compiling mem/mem.c ... In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from mem/mem.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from mem/mem.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling misc/args.c ... Compiling misc/error.c ... In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/args.c:23: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/args.c:23: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling misc/hash.c ... Compiling misc/hmp.c ... Compiling misc/ignorecase.c ... In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/ignorecase.c:8: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/ignorecase.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling misc/physfsrwops.c ... In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from include/hmp.h:8, from misc/hmp.c:12: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/hmp.c: In function 'hmp_open': misc/hmp.c:62:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if ((PHYSFS_read(fp, buf, 1, 8) != 8) || (memcmp(buf, "HMIMIDIP", 8))) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/hmp.c:76:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &num_tracks, 4, 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/hmp.c:97:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &tempo, 4, 1) != 1) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/hmp.c:113:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if ((PHYSFSX_fseek(fp, 4, SEEK_CUR)) || (PHYSFS_read(fp, &data, 4, 1) != 1)) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/hmp.c:132:3: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if ((PHYSFSX_fseek(fp, 4, SEEK_CUR)) || (PHYSFS_read(fp, p, data, 1) != 1)) ^~ In file included from include/physfsx.h:17, from include/hmp.h:8, from misc/hmp.c:12: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling misc/physfsx.c ... Compiling misc/strio.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:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_init': misc/physfsx.c:71:3: warning: 'PHYSFS_getUserDir' is deprecated [-Wdeprecated-declarations] const char *home = PHYSFS_getUserDir(); ^~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:792:25: note: declared here PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~ misc/physfsx.c:110:2: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(PHYSFS_getWriteDir(), 1); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:113:2: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(base_dir, 1); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:115:2: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(base_dir); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:121:4: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] Error("can't set write dir: %s\n", PHYSFS_getLastError()); ^~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsx.c:123:4: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(PHYSFS_getWriteDir(), 0); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:128:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(GameArg.SysHogDir,1); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:131:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_addToSearchPath(SHAREPATH, 1); ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_addRelToSearchPath': misc/physfsx.c:178:2: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] return PHYSFS_addToSearchPath(pathname, add_to_end); ^~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_removeRelFromSearchPath': misc/physfsx.c:191:2: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] return PHYSFS_removeFromSearchPath(pathname); ^~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_addArchiveContent': misc/physfsx.c:481:3: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] if (PHYSFS_addToSearchPath(file[1], 0)) ^~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c: In function 'PHYSFSX_removeArchiveContent': misc/physfsx.c:539:3: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(file[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ misc/physfsx.c:555:3: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] PHYSFS_removeFromSearchPath(file[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/physfsx.c:17: /usr/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c: In function 'physfsrwops_seek': misc/physfsrwops.c:42:27: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] PHYSFS_getLastError()); ^~~~~~~~~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c:64:13: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("Can't find end of file: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c:92:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c: In function 'physfsrwops_read': misc/physfsrwops.c:103:5: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_sint64 rc = PHYSFS_read(handle, ptr, size, maxnum); ^~~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ misc/physfsrwops.c:107:13: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c: In function 'physfsrwops_write': misc/physfsrwops.c:117:5: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] PHYSFS_sint64 rc = PHYSFS_write(handle, ptr, size, num); ^~~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ misc/physfsrwops.c:119:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c: In function 'physfsrwops_close': misc/physfsrwops.c:130:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ misc/physfsrwops.c: In function 'create_rwops': misc/physfsrwops.c:144:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); ^~~~~~~~~~~~ In file included from include/physfsrwops.h:27, from misc/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ Compiling misc/strutil.c ... Compiling texmap/ntmap.c ... In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling texmap/scanline.c ... In file included from misc/strio.c:8: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from misc/strio.c:8: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/segment.h:23, from main/object.h:25, from main/render.h:26, from texmap/ntmap.c:34: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ Compiling main/net_udp.c ... texmap/ntmap.c: In function 'ntmap_scanline_lighted_linear': texmap/ntmap.c:649:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((dx < 0) || (xright < 0) || (xleft > xright)) // the (xleft > xright) term is not redundant with (dx < 0) because dx is computed using integers ^~ texmap/ntmap.c:653:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (dx < FIX_RECIP_TABLE_SIZE) ^~ Compiling main/vers_id.c ... In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE16': include/physfsx.h:36:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_readSXE32': include/physfsx.h:45:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, &val, sizeof(val), 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_readString': include/physfsx.h:72:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_gets': include/physfsx.h:86:4: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] PHYSFS_read(file, ptr, 1, 1); ^~~~~~~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_writeU8': include/physfsx.h:94:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, &val, 1, 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_writeString': include/physfsx.h:99:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s) + 1); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_puts': include/physfsx.h:104:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(file, s, 1, strlen(s)); ^~~~~~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_putc': include/physfsx.h:111:2: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] if (PHYSFS_write(file, &ch, 1, 1) < 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_fgetc': include/physfsx.h:121:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(fp, &c, 1, 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ In file included from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: include/physfsx.h: In function 'PHYSFSX_readByte': include/physfsx.h:263:2: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, &b, sizeof(b), 1) != 1) ^~ In file included from include/physfsx.h:17, from main/piggy.h:23, from main/gauges.h:26, from main/net_udp.c:24: /usr/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ main/net_udp.c: In function 'net_udp_more_game_options': main/net_udp.c:2921:38: warning: '%d' directive output may be truncated writing between 1 and 6 bytes into a region of size 4 [-Wformat-truncation=] snprintf(packstring,sizeof(char)*4,"%d",Netgame.PacketsPerSec); ^~ main/net_udp.c:2921:37: note: directive argument in the range [-32768, 32767] snprintf(packstring,sizeof(char)*4,"%d",Netgame.PacketsPerSec); ^~~~ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 7 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c: In function 'net_udp_list_join_poll': main/net_udp.c:912:44: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] snprintf(levelname, sizeof(levelname), "%d", Active_udp_games[(i+(NLPage*UDP_NETGAMES_PPAGE))].levelnum); ^~ main/net_udp.c:912:43: note: directive argument in the range [0, 2147483647] snprintf(levelname, sizeof(levelname), "%d", Active_udp_games[(i+(NLPage*UDP_NETGAMES_PPAGE))].levelnum); ^~~~ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:910:45: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 7 [-Wformat-truncation=] snprintf(levelname, sizeof(levelname), "S%d", -Active_udp_games[(i+(NLPage*UDP_NETGAMES_PPAGE))].levelnum); ^~ main/net_udp.c:910:43: note: directive argument in the range [1, 2147483647] snprintf(levelname, sizeof(levelname), "S%d", -Active_udp_games[(i+(NLPage*UDP_NETGAMES_PPAGE))].levelnum); ^~~~~ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 12 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:926:46: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(status, sizeof(status), "BETWEEN "); ^ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output 9 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:923:47: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(status, sizeof(status), "OPEN "); ^ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output 9 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:921:47: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(status, sizeof(status), "CLOSED "); ^ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output 9 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:919:47: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(status, sizeof(status), "RESTRICT"); ^ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output 9 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:915:46: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(status, sizeof(status), "FORMING "); ^ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output 9 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main/net_udp.c:929:71: warning: '%s' directive output may be truncated writing up to 24 bytes into a region of size between 15 and 60 [-Wformat-truncation=] snprintf (menus[i+4].text,sizeof(char)*74,"%d.\t%s \t%s \t %d/%d \t%s \t %s \t%s",(i+(NLPage*UDP_NETGAMES_PPAGE))+1,GameName,(gamemode < sizeof(GMNamesShrt) / sizeof(GMNamesShrt[0])) ? GMNamesShrt[gamemode] : "INVALID",nplayers, Active_udp_games[(i+(NLPage*UDP_NETGAMES_PPAGE))].max_numplayers,MissName,levelname,status); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from main/net_udp.c:13: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 20 or more bytes (assuming 103) into a destination of size 74 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Linking d2x-rebirth ... scons: done building targets. + mv d2x-rebirth d2x-rebirth-gl + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.38572 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/d2x-rebirth-buildroot + : + /bin/rm -rf -- /usr/src/tmp/d2x-rebirth-buildroot + cd d2x-rebirth_v0.58.1-src + install -dm 755 /usr/src/tmp/d2x-rebirth-buildroot/usr/games/ + install -m 755 d2x-rebirth-gl /usr/src/tmp/d2x-rebirth-buildroot/usr/games/ + install -m 755 d2x-rebirth-sdl /usr/src/tmp/d2x-rebirth-buildroot/usr/games/ + install -dm 755 /usr/src/tmp/d2x-rebirth-buildroot/usr/share/games/descent2 + install -m 644 D2XBDE01/D2XbDE01/end.txb D2XBDE01/D2XbDE01/intro.txb D2XBDE01/D2XbDE01/robot.txb /usr/src/tmp/d2x-rebirth-buildroot/usr/share/games/descent2 + install -m 644 D2XBDE01/D2XbDE01.txt /usr/src/tmp/d2x-rebirth-buildroot/usr/share/games/descent2 + install -dm 755 /usr/src/tmp/d2x-rebirth-buildroot/usr/share/games/descent2/missions + install -dm 755 /usr/src/tmp/d2x-rebirth-buildroot/usr/share/man/man1/ + install -m 644 libmve/mveplayer.1 /usr/src/tmp/d2x-rebirth-buildroot/usr/share/man/man1/ + install -dm 755 /usr/src/tmp/d2x-rebirth-buildroot/usr/share/pixmaps + install -m 644 /usr/src/RPM/SOURCES/d2x-rebirth.png /usr/src/tmp/d2x-rebirth-buildroot/usr/share/pixmaps + install -dm 755 /usr/src/tmp/d2x-rebirth-buildroot/usr/share/applications + cat + install -m 644 d2x-rebirth-sdl.desktop /usr/src/tmp/d2x-rebirth-buildroot/usr/share/applications + cat + install -m 644 d2x-rebirth-gl.desktop /usr/src/tmp/d2x-rebirth-buildroot/usr/share/applications + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/d2x-rebirth-buildroot (auto) Verifying and fixing files in /usr/src/tmp/d2x-rebirth-buildroot (binconfig,pkgconfig,libtool,desktop) /usr/share/applications/d2x-rebirth-gl.desktop: performed minor cleanup: 2d1 < Encoding=UTF-8 /usr/share/applications/d2x-rebirth-sdl.desktop: performed minor cleanup: 2d1 < Encoding=UTF-8 Checking contents of files in /usr/src/tmp/d2x-rebirth-buildroot/ (default) Compressing files in /usr/src/tmp/d2x-rebirth-buildroot (auto) Verifying ELF objects in /usr/src/tmp/d2x-rebirth-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/games/d2x-rebirth-sdl: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/games/d2x-rebirth-gl: uses non-LFS functions: fopen Hardlinking identical .pyc and .pyo files Processing files: d2x-rebirth-0.58.1-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.28763 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd d2x-rebirth_v0.58.1-src + DOCDIR=/usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-0.58.1 + export DOCDIR + rm -rf /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-0.58.1 + /bin/mkdir -p /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-0.58.1 + cp -prL CHANGELOG.txt COPYING.txt INSTALL.txt README.txt RELEASE-NOTES.txt MVEPlayer-Info.plist d2x-Info.plist d2xgl-Info.plist d2x.ini /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-0.58.1 + chmod -R go-w /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-0.58.1 + chmod -R a+rX /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-0.58.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ccS7wb 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.WX6gK9 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gr1KCD Processing files: d2x-rebirth-sdl-0.58.1-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.48529 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd d2x-rebirth_v0.58.1-src + DOCDIR=/usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-sdl-0.58.1 + export DOCDIR + rm -rf /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-sdl-0.58.1 + /bin/mkdir -p /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-sdl-0.58.1 + cp -prL COPYING.txt /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-sdl-0.58.1 + chmod -R go-w /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-sdl-0.58.1 + chmod -R a+rX /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-sdl-0.58.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.W8Dlgf 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.qFkJxv find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: d2x-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:lfG0r1WNvdNtSOVASlfdQqe01zBuVveC6SWNQgHsbPuoiQ9NWfI4ovUHCvaZIPju4LU0EAYFhZqypTXrw41jTYa2SJqp1noaqQVEEJrSFWkfMKw6bRv8J0XY0, libSDL_mixer-1.2.so.0 >= set:kfkileXZwtZ1uIUyGL3l2OOAvoSCnNGrcyylZDNwNYgGgEyZ9KmtlSptb, 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:ke1MDmIaXfJs3Zw6Z4CuXI6EzQffPT4ihILyQ06ggClu7SrnPeDuXgIZBJO8Xmcp7QoXr56A4l8ZsoPt9JDIg69EgDCfCU0, libpthread.so.0(GLIBC_2.0), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Conflicts: d2x-rebirth-gl Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gQUYBi Creating d2x-rebirth-sdl-debuginfo package Processing files: d2x-rebirth-gl-0.58.1-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.37640 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd d2x-rebirth_v0.58.1-src + DOCDIR=/usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-gl-0.58.1 + export DOCDIR + rm -rf /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-gl-0.58.1 + /bin/mkdir -p /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-gl-0.58.1 + cp -prL COPYING.txt /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-gl-0.58.1 + chmod -R go-w /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-gl-0.58.1 + chmod -R a+rX /usr/src/tmp/d2x-rebirth-buildroot/usr/share/doc/d2x-rebirth-gl-0.58.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.B9Lk6F 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.0J3q8c find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: d2x-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:lfG0r1WNvdNtSOVASlfdQqe01zBuVveC6SWNQgHsbPuoiQ9NWfI4ovUHCvaZIPju4LU0EAYFhZqypTXrw41jTYa2SJqp1noaqQVEEJrSFWkfMKw6bRv8J0XY0, libSDL_mixer-1.2.so.0 >= set:kfkileXZwtZ1uIUyGL3l2OOAvoSCnNGrcyylZDNwNYgGgEyZ9KmtlSptb, 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:ke1MDmIaXfJs3Zw6Z4CuXI6EzQffPT4ihILyQ06ggClu7SrnPeDuXgIZBJO8Xmcp7QoXr56A4l8ZsoPt9JDIg69EgDCfCU0, libpthread.so.0(GLIBC_2.0), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Conflicts: d2x-rebirth-sdl Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lHihAz Creating d2x-rebirth-gl-debuginfo package Processing files: d2x-rebirth-sdl-debuginfo-0.58.1-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wUQcoB find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.sHd7Xd find-requires: running scripts (debuginfo) Requires: d2x-rebirth-sdl = 0.58.1-alt2, /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: d2x-rebirth-gl-debuginfo-0.58.1-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CssGSD find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CnbZUU find-requires: running scripts (debuginfo) Requires: d2x-rebirth-gl = 0.58.1-alt2, /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 d2x-rebirth-sdl-debuginfo a strict dependency on d2x-rebirth-sdl Adding to d2x-rebirth-gl-debuginfo a strict dependency on d2x-rebirth-gl Adding to d2x-rebirth-sdl a strict dependency on d2x-rebirth Adding to d2x-rebirth-gl a strict dependency on d2x-rebirth Wrote: /usr/src/RPM/RPMS/i586/d2x-rebirth-0.58.1-alt2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/d2x-rebirth-sdl-0.58.1-alt2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/d2x-rebirth-gl-0.58.1-alt2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/d2x-rebirth-sdl-debuginfo-0.58.1-alt2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/d2x-rebirth-gl-debuginfo-0.58.1-alt2.i586.rpm 154.87user 12.91system 1:35.47elapsed 175%CPU (0avgtext+0avgdata 66468maxresident)k 0inputs+0outputs (0major+2243950minor)pagefaults 0swaps 168.96user 19.80system 1:56.77elapsed 161%CPU (0avgtext+0avgdata 112484maxresident)k 20560inputs+0outputs (0major+2671147minor)pagefaults 0swaps