<86>Sep 30 03:06:09 userdel[3927706]: delete user 'rooter' <86>Sep 30 03:06:09 userdel[3927706]: removed group 'rooter' owned by 'rooter' <86>Sep 30 03:06:09 userdel[3927706]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 30 03:06:09 groupadd[3927713]: group added to /etc/group: name=rooter, GID=645 <86>Sep 30 03:06:09 groupadd[3927713]: group added to /etc/gshadow: name=rooter <86>Sep 30 03:06:09 groupadd[3927713]: new group: name=rooter, GID=645 <86>Sep 30 03:06:09 useradd[3927722]: new user: name=rooter, UID=645, GID=645, home=/root, shell=/bin/bash <86>Sep 30 03:06:09 userdel[3927731]: delete user 'builder' <86>Sep 30 03:06:09 userdel[3927731]: removed group 'builder' owned by 'builder' <86>Sep 30 03:06:09 userdel[3927731]: removed shadow group 'builder' owned by 'builder' <86>Sep 30 03:06:09 groupadd[3927741]: group added to /etc/group: name=builder, GID=646 <86>Sep 30 03:06:09 groupadd[3927741]: group added to /etc/gshadow: name=builder <86>Sep 30 03:06:09 groupadd[3927741]: new group: name=builder, GID=646 <86>Sep 30 03:06:09 useradd[3927747]: new user: name=builder, UID=646, GID=646, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/amphetamine-0.8.10-alt6.src.rpm: The use of such a license name is ambiguous: GPL warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root <13>Sep 30 03:06:12 rpmi: xorg-proto-devel-2021.5-alt1 sisyphus+285490.100.1.1 1632124129 installed <13>Sep 30 03:06:12 rpmi: libglvnd-7:1.3.4-alt1 sisyphus+286013.100.1.1 1632749263 installed <13>Sep 30 03:06:12 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626058929 installed <13>Sep 30 03:06:12 rpmi: libICE-1.0.10-alt1 sisyphus+278827.100.1.1 1626220279 installed <13>Sep 30 03:06:12 rpmi: libSM-1.2.3-alt1 sisyphus+278820.100.1.1 1626219264 installed <13>Sep 30 03:06:12 rpmi: libexpat-2.2.10-alt1 sisyphus+276608.100.1.2 1625153355 installed <13>Sep 30 03:06:12 rpmi: libwayland-server-1.19.0-alt1 sisyphus+279023.100.1.1 1626353895 installed <13>Sep 30 03:06:12 rpmi: libICE-devel-1.0.10-alt1 sisyphus+278827.100.1.1 1626220279 installed <13>Sep 30 03:06:12 rpmi: libSM-devel-1.2.3-alt1 sisyphus+278820.100.1.1 1626219264 installed <13>Sep 30 03:06:12 rpmi: libflac8-1.3.3.0.79.37d1-alt2 sisyphus+278100.1400.1.1 1626058195 installed <13>Sep 30 03:06:12 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751601 installed <13>Sep 30 03:06:12 rpmi: libGLES-7:1.3.4-alt1 sisyphus+286013.100.1.1 1632749263 installed <13>Sep 30 03:06:12 rpmi: libOpenGL-7:1.3.4-alt1 sisyphus+286013.100.1.1 1632749263 installed <13>Sep 30 03:06:12 rpmi: libopus-1.3.1-alt3 sisyphus+278010.100.1.2 1625975522 installed <13>Sep 30 03:06:12 rpmi: libgsm-1.0.17-alt1 sisyphus+275359.100.2.1 1624907612 installed <13>Sep 30 03:06:12 rpmi: libsndfile-1.0.31-alt1 sisyphus+279495.100.1.1 1626550760 installed <13>Sep 30 03:06:12 rpmi: liblz4-1:1.9.3-alt1 sisyphus+278100.4000.1.1 1626059441 installed <13>Sep 30 03:06:12 rpmi: libsystemd-1:249.4-alt2 sisyphus+284628.100.1.1 1630859802 installed <13>Sep 30 03:06:12 rpmi: libdbus-1.12.20-alt1 sisyphus+281278.100.1.1 1627484261 installed <13>Sep 30 03:06:12 rpmi: libasyncns-0.8-alt2.qa1 sisyphus+275091.100.1.1 1624402241 installed <13>Sep 30 03:06:12 rpmi: libxshmfence-1.3-alt1 sisyphus+278248.100.1.1 1626080762 installed <13>Sep 30 03:06:12 rpmi: libX11-locales-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Sep 30 03:06:12 rpmi: libXdmcp-1.1.3-alt1 sisyphus+278816.100.1.1 1626219231 installed <13>Sep 30 03:06:12 rpmi: libXau-1.0.9-alt1 sisyphus+278247.100.1.1 1626080736 installed <13>Sep 30 03:06:12 rpmi: libxcb-1.14-alt1 sisyphus+277968.100.1.3 1625952322 installed <13>Sep 30 03:06:12 rpmi: libX11-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Sep 30 03:06:12 rpmi: libXext-1.3.4-alt1 sisyphus+278817.100.1.3 1626262596 installed <13>Sep 30 03:06:12 rpmi: libXt-1.2.1-alt1 sisyphus+265202.200.1.1 1611565457 installed <13>Sep 30 03:06:12 rpmi: libXpm-3.5.13-alt1 sisyphus+278339.100.1.2 1626171698 installed <13>Sep 30 03:06:12 rpmi: libXxf86vm-1.1.4-alt2 sisyphus+275334.100.2.2 1624577011 installed <13>Sep 30 03:06:12 rpmi: libXfixes-6.0.0-alt1 sisyphus+284644.300.1.1 1630910331 installed <13>Sep 30 03:06:12 rpmi: libXrender-0.9.10-alt1 sisyphus+278480.100.1.2 1626227740 installed <13>Sep 30 03:06:12 rpmi: libXrandr-1.5.2-alt1 sisyphus+275330.100.2.2 1624575558 installed <13>Sep 30 03:06:14 rpmi: libxcb-devel-1.14-alt1 sisyphus+277968.100.1.3 1625952322 installed <13>Sep 30 03:06:14 rpmi: libX11-devel-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Sep 30 03:06:14 rpmi: libpulseaudio-15.0-alt1 sisyphus+281243.100.1.2 1627477159 installed <13>Sep 30 03:06:14 rpmi: libwayland-client-1.19.0-alt1 sisyphus+279023.100.1.1 1626353895 installed <13>Sep 30 03:06:14 rpmi: libpciaccess-1:0.16-alt1 sisyphus+278288.100.1.1 1626084210 installed <13>Sep 30 03:06:14 rpmi: libdrm-1:2.4.107-alt2 sisyphus+283492.100.1.3 1629454692 installed <13>Sep 30 03:06:14 rpmi: libGLX-mesa-4:21.2.2-alt1 sisyphus+285669.100.1.1 1632300436 installed <13>Sep 30 03:06:14 rpmi: libGLX-7:1.3.4-alt1 sisyphus+286013.100.1.1 1632749263 installed <13>Sep 30 03:06:14 rpmi: libGL-7:1.3.4-alt1 sisyphus+286013.100.1.1 1632749263 installed <13>Sep 30 03:06:14 rpmi: libGLU-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174382 installed <13>Sep 30 03:06:14 rpmi: libgbm-4:21.2.2-alt1 sisyphus+285669.100.1.1 1632300436 installed <13>Sep 30 03:06:14 rpmi: libEGL-mesa-4:21.2.2-alt1 sisyphus+285669.100.1.1 1632300436 installed <13>Sep 30 03:06:14 rpmi: libEGL-7:1.3.4-alt1 sisyphus+286013.100.1.1 1632749263 installed <13>Sep 30 03:06:14 rpmi: libglvnd-devel-7:1.3.4-alt1 sisyphus+286013.100.1.1 1632749263 installed <13>Sep 30 03:06:14 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174382 installed <13>Sep 30 03:06:14 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Sep 30 03:06:15 rpmi: libstdc++11-devel-11.2.1-alt1 sisyphus+285602.200.1.1 1632233545 installed <13>Sep 30 03:06:16 rpmi: gcc11-c++-11.2.1-alt1 sisyphus+285602.200.1.1 1632233545 installed <13>Sep 30 03:06:16 rpmi: alsa-ucm-conf-1.2.5.1-alt1 sisyphus+274777.200.1.1 1624089157 installed <13>Sep 30 03:06:16 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>Sep 30 03:06:16 rpmi: libalsa-1:1.2.5.1-alt1 sisyphus+279749.100.1.1 1626687316 installed <13>Sep 30 03:06:16 rpmi: libSDL-1.2.14-alt10 sisyphus+284852.100.1.1 1631107838 installed <13>Sep 30 03:06:16 rpmi: libSDL-devel-1.2.14-alt10 sisyphus+284852.100.1.1 1631107838 installed <13>Sep 30 03:06:16 rpmi: gcc-c++-11-alt1 sisyphus+285602.400.1.1 1632238564 installed <13>Sep 30 03:06:16 rpmi: libXpm-devel-3.5.13-alt1 sisyphus+278339.100.1.2 1626171698 installed <13>Sep 30 03:06:16 rpmi: libXt-devel-1.2.1-alt1 sisyphus+265202.200.1.1 1611565457 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/amphetamine-0.8.10-alt6.nosrc.rpm (w1.gzdio) Installing amphetamine-0.8.10-alt6.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.94361 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf amphetamine-0.8.10 + echo 'Source #0 (amphetamine-0.8.10.tar.bz2):' Source #0 (amphetamine-0.8.10.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/amphetamine-0.8.10.tar.bz2 + /bin/tar -xf - + cd amphetamine-0.8.10 + echo 'Source #2 (amphetamine-icons.tar.bz2):' Source #2 (amphetamine-icons.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/amphetamine-icons.tar.bz2 + /bin/tar -xf - + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (amphetamine-0.8.10-eols_at_eofs.patch.bz2):' Patch #0 (amphetamine-0.8.10-eols_at_eofs.patch.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/amphetamine-0.8.10-eols_at_eofs.patch.bz2 + /usr/bin/patch -p1 patching file src/AmpHead.hpp patching file src/Appl.cpp patching file src/Appl.hpp patching file src/Bullet.cpp patching file src/Bullet.hpp patching file src/Clut.cpp patching file src/Clut.hpp patching file src/ConstVal.cpp patching file src/ConstVal.hpp patching file src/Creeper.cpp patching file src/Creeper.hpp patching file src/Element.cpp patching file src/Element.hpp patching file src/File.cpp patching file src/File.hpp patching file src/Gifload.cpp patching file src/Graphfil.cpp patching file src/Graphfil.hpp patching file src/Gui.cpp patching file src/Gui.hpp patching file src/Item.cpp patching file src/Item.hpp patching file src/Level.cpp patching file src/Level.hpp patching file src/Main.cpp patching file src/Monster.cpp patching file src/Monster.hpp patching file src/Monstrxx.cpp patching file src/Monstrxx.hpp patching file src/ObjInfo.cpp patching file src/ObjInfo.hpp patching file src/Object.cpp patching file src/Object.hpp patching file src/Player.cpp patching file src/Player.hpp patching file src/Pltform.cpp patching file src/Pltform.hpp patching file src/Shape.cpp patching file src/Shape.hpp patching file src/ShapeDes.hpp patching file src/ShapeLd.cpp patching file src/ShapeLd.hpp patching file src/SndSys.cpp patching file src/SndSys.hpp patching file src/SoundList.cpp patching file src/SoundList.hpp patching file src/Surface.cpp patching file src/Surface.hpp patching file src/System.cpp patching file src/System.hpp patching file src/Thing.cpp patching file src/Thing.hpp patching file src/Weapon.cpp patching file src/Weapon.hpp + sed -i -e s,/usr/local,/usr/share,g -e s,-O9,-O3, Makefile + sed -i -e s,/usr/local,/usr/share,g src/System.hpp + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.94361 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd amphetamine-0.8.10 + make -j8 make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Graphfil.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Graphfil.o src/Graphfil.cpp: In function 'Graphic_file* read_graphic_file(char*)': src/Graphfil.cpp:119:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 119 | gSystem->Error("Could not open texture", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/Graphfil.cpp:132:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 132 | gSystem->Error("Unknown graphic file format.", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Graphfil.cpp:136:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 136 | gSystem->Error("The graphic file reading code is really broken.", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Graphfil.cpp:141:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 141 | gSystem->Error("gApplication->system->Error reading texture", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Graphfil.cpp: In function 'Graphic_file_format check_format(FILE*, char*)': src/Graphfil.cpp:159:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 159 | gSystem->Error("gApplication->system->Error reading texture", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/File.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/File.o make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Appl.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Appl.o src/Appl.cpp: In constructor 'CApplication::CApplication()': src/Appl.cpp:29:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 29 | gSystem = new CSystem("Amphetamine"); | ^~~~~~~~~~~~~ src/Appl.cpp: In member function 'void CApplication::RunLevel()': src/Appl.cpp:247:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 247 | sprintf(fps, "%02d", saveFrameCount); | ~~~^ ~~~~~~~~~~~~~~ | | | | int long int | %02ld src/Appl.cpp:250:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 250 | sprintf(fps, "%02d", frameCount); | ~~~^ ~~~~~~~~~~ | | | | int long int | %02ld make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Gifload.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Gifload.o src/Gifload.cpp: In function 'void* wtmalloc(size_t)': src/Gifload.cpp:57:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 57 | gSystem->Error("could not allocate %x bytes", size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Gifload.cpp: In function 'void* wtrealloc(void*, size_t)': src/Gifload.cpp:69:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | gSystem->Error("could not reallocate %x bytes", size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Gifload.cpp: In function 'void wtfree(void*)': src/Gifload.cpp:78:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | gSystem->Error("wtfree(NULL)", 0); | ^~~~~~~~~~~~~~ src/Gifload.cpp: At global scope: src/Gifload.cpp:140:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 140 | char *id87 = "GIF87a"; | ^~~~~~~~ src/Gifload.cpp:141:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 141 | char *id89 = "GIF89a"; | ^~~~~~~~ src/Gifload.cpp: In function 'Graphic_file* LoadGIF(FILE*, char*)': src/Gifload.cpp:152:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 152 | register unsigned char ch, ch1; | ^~ src/Gifload.cpp:152:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 152 | register unsigned char ch, ch1; | ^~~ src/Gifload.cpp:153:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 153 | register byte *ptr, *ptr1; | ^~~ src/Gifload.cpp:153:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 153 | register byte *ptr, *ptr1; | ^~~~ src/Gifload.cpp:154:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 154 | register int i; | ^ src/Gifload.cpp:168:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 168 | gSystem->Error("not enough memory to read gif file",0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Gifload.cpp:172:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 172 | gSystem->Error("not enough memory to read gif file",0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Gifload.cpp:176:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 176 | gSystem->Error("GIF data read failed",0); | ^~~~~~~~~~~~~~~~~~~~~~ src/Gifload.cpp:180:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 180 | gSystem->Error("not a GIF file",0); | ^~~~~~~~~~~~~~~~ src/Gifload.cpp:204:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 204 | gSystem->Error("corrupt GIF file (bad screen descriptor)",0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Gifload.cpp:229:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 229 | gSystem->Error("corrupt GIF89a file",0); | ^~~~~~~~~~~~~~~~~~~~~ src/Gifload.cpp:248:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 248 | gSystem->Error("invalid GIF89 extension",0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/Gifload.cpp:320:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 320 | gSystem->Error("corrupt GIF file (unblock)",0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Gifload.cpp:376:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 376 | gSystem->Error("Corrupt GIF file (OutCount)!", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Element.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Element.o src/Element.cpp: In member function 'void CBackgroundElement::OnAllocate()': src/Element.cpp:282:34: warning: narrowing conversion of '((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::xs' from 'double' to 'short int' [-Wnarrowing] 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; | ^~ src/Element.cpp:282:38: warning: narrowing conversion of '((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::ys' from 'double' to 'short int' [-Wnarrowing] 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; | ^~ src/Element.cpp:282:45: warning: narrowing conversion of '(((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::xe - ((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::xs)' from 'double' to 'short int' [-Wnarrowing] 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; | ~~~^~~~ src/Element.cpp:282:54: warning: narrowing conversion of '(((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::ye - ((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::ys)' from 'double' to 'short int' [-Wnarrowing] 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; | ~~~^~~~ In file included from src/Element.hpp:4, from src/Element.cpp:1: src/Element.cpp: In member function 'virtual void CElement::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:344:9: note: in expansion of macro 'READDATA' 344 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:345:9: note: in expansion of macro 'READDATA' 345 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:349:9: note: in expansion of macro 'READDATA' 349 | READDATA(bitData); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:350:9: note: in expansion of macro 'READDATA' 350 | READDATA(lastState); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:351:9: note: in expansion of macro 'READDATA' 351 | READDATA(iconID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:352:9: note: in expansion of macro 'READDATA' 352 | READDATA(brightness); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:353:9: note: in expansion of macro 'READDATA' 353 | READDATA(brightness2); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:354:9: note: in expansion of macro 'READDATA' 354 | READDATA(key); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:355:9: note: in expansion of macro 'READDATA' 355 | READDATA(refNum); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:356:9: note: in expansion of macro 'READDATA' 356 | READDATA(data); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:360:9: note: in expansion of macro 'READDATA' 360 | READDATA(elemThings); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:362:17: note: in expansion of macro 'READDATA' 362 | READDATA(elementThings->teleportBlinkTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:363:17: note: in expansion of macro 'READDATA' 363 | READDATA(elementThings->savePortBlinkTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:364:17: note: in expansion of macro 'READDATA' 364 | READDATA(elementThings->exitPortBlinkTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:365:17: note: in expansion of macro 'READDATA' 365 | READDATA(elementThings->passiveHasChanged); | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Creeper.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Creeper.o make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Bullet.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Bullet.o In file included from src/Thing.hpp:4, from src/Bullet.hpp:4, from src/Bullet.cpp:1: src/Bullet.cpp: In member function 'virtual void CBullet::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:494:9: note: in expansion of macro 'READDATA' 494 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:495:9: note: in expansion of macro 'READDATA' 495 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:496:9: note: in expansion of macro 'READDATA' 496 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:507:25: note: in expansion of macro 'READDATA' 507 | READDATA(tailX[n]); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:508:25: note: in expansion of macro 'READDATA' 508 | READDATA(tailY[n]); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:512:9: note: in expansion of macro 'READDATA' 512 | READDATA(tailStep); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:513:9: note: in expansion of macro 'READDATA' 513 | READDATA(targetposition); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:514:9: note: in expansion of macro 'READDATA' 514 | READDATA(directionUnitx); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:515:9: note: in expansion of macro 'READDATA' 515 | READDATA(directionUnity); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:516:9: note: in expansion of macro 'READDATA' 516 | READDATA(action); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:517:9: note: in expansion of macro 'READDATA' 517 | READDATA(detonationStartTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:518:9: note: in expansion of macro 'READDATA' 518 | READDATA(noDetonation); | ^~~~~~~~ src/Bullet.cpp: In member function 'virtual void CSorceryBullet::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:543:9: note: in expansion of macro 'READDATA' 543 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:544:9: note: in expansion of macro 'READDATA' 544 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:545:9: note: in expansion of macro 'READDATA' 545 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:549:9: note: in expansion of macro 'READDATA' 549 | READDATA(numBounces); | ^~~~~~~~ src/Bullet.cpp: In member function 'virtual void CBombBullet::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:573:9: note: in expansion of macro 'READDATA' 573 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:574:9: note: in expansion of macro 'READDATA' 574 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:575:9: note: in expansion of macro 'READDATA' 575 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:579:9: note: in expansion of macro 'READDATA' 579 | READDATA(detonate); | ^~~~~~~~ src/Bullet.cpp: In member function 'virtual void CSineBullet::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:605:9: note: in expansion of macro 'READDATA' 605 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:606:9: note: in expansion of macro 'READDATA' 606 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:607:9: note: in expansion of macro 'READDATA' 607 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:611:9: note: in expansion of macro 'READDATA' 611 | READDATA(distance); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:612:9: note: in expansion of macro 'READDATA' 612 | READDATA(radius); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:613:9: note: in expansion of macro 'READDATA' 613 | READDATA(period); | ^~~~~~~~ src/Bullet.cpp: In member function 'virtual void CGuidedBullet::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:640:9: note: in expansion of macro 'READDATA' 640 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:641:9: note: in expansion of macro 'READDATA' 641 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:642:9: note: in expansion of macro 'READDATA' 642 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:646:9: note: in expansion of macro 'READDATA' 646 | READDATA(initAbstSign); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:647:9: note: in expansion of macro 'READDATA' 647 | READDATA(lastfx); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:648:9: note: in expansion of macro 'READDATA' 648 | READDATA(lastfy); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:649:9: note: in expansion of macro 'READDATA' 649 | READDATA(lastf); | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Gui.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Gui.o src/Gui.cpp: In constructor 'CGUI::CGUI(CGraphicSurface*)': src/Gui.cpp:42:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 42 | if (!guis) gSystem->Error("Error while reading the file kFileGUIs", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:49:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 49 | if (!(healthPanel && oxygenPanel && weaponPanel && backgroundPanel)) gSystem->Error("Cannot allocate panels", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/Gui.cpp: In member function 'void CGUI::LoadMessages()': src/Gui.cpp:697:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 697 | GetStringConstant(f, "msgPickedUpHealth", messages->msgHealth); | ^~~~~~~~~~~~~~~~~~~ src/Gui.cpp:698:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 698 | GetStringConstant(f, "msgPickedUpOxygen", messages->msgOxygen); | ^~~~~~~~~~~~~~~~~~~ src/Gui.cpp:700:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 700 | GetStringConstant(f, "msgPickedUpPhiol", messages->msgPhiol); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:701:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 701 | GetStringConstant(f, "msgPickedUpBM", messages->msgBM); | ^~~~~~~~~~~~~~~ src/Gui.cpp:702:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 702 | GetStringConstant(f, "msgPickedUpBow", messages->msgBow); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:703:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 703 | GetStringConstant(f, "msgPickedUpScie", messages->msgScie); | ^~~~~~~~~~~~~~~~~ src/Gui.cpp:704:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 704 | GetStringConstant(f, "msgPickedUpHands", messages->msgHands); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:705:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 705 | GetStringConstant(f, "msgPickedUpBombs", messages->msgBombs); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:706:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 706 | GetStringConstant(f, "msgPickedUpStaff", messages->msgStaff); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:708:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 708 | GetStringConstant(f, "msgPickedUpPhiolMun", messages->msgPhiolMun); | ^~~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:709:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 709 | GetStringConstant(f, "msgPickedUpBMMun", messages->msgBMMun); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:710:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 710 | GetStringConstant(f, "msgPickedUpBowMun", messages->msgBowMun); | ^~~~~~~~~~~~~~~~~~~ src/Gui.cpp:711:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 711 | GetStringConstant(f, "msgPickedUpHandMun", messages->msgHandsMun); | ^~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:712:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 712 | GetStringConstant(f, "msgPickedUpBombMun", messages->msgBombsMun); | ^~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:713:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 713 | GetStringConstant(f, "msgPickedUpStaffMun", messages->msgStaffMun); | ^~~~~~~~~~~~~~~~~~~~~ src/Gui.cpp: In function 'void LoadGUIParameters()': src/Gui.cpp:731:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 731 | gGUIConst->kHealthPanelHeight = GetLongConstant(f, "kHealthPanelHeight"); | ^~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:732:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 732 | gGUIConst->kHealthPanelPosX = GetLongConstant(f, "kHealthPanelPosX"); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:733:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 733 | gGUIConst->kHealthPanelPosY = GetLongConstant(f, "kHealthPanelPosY"); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:734:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 734 | gGUIConst->kHealthPanelRefreshRate = GetLongConstant(f, "kHealthPanelRefreshRate"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:735:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 735 | gGUIConst->kHealthPanelWidth = GetLongConstant(f, "kHealthPanelWidth"); | ^~~~~~~~~~~~~~~~~~~ src/Gui.cpp:736:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 736 | gGUIConst->kOxygenPanelHeight = GetLongConstant(f, "kOxygenPanelHeight"); | ^~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:737:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 737 | gGUIConst->kOxygenPanelPosX = GetLongConstant(f, "kOxygenPanelPosX"); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:738:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 738 | gGUIConst->kOxygenPanelPosY = GetLongConstant(f, "kOxygenPanelPosY"); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:739:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 739 | gGUIConst->kOxygenPanelRefreshRate = GetLongConstant(f, "kOxygenPanelRefreshRate"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:740:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 740 | gGUIConst->kOxygenPanelWidth = GetLongConstant(f, "kOxygenPanelWidth"); | ^~~~~~~~~~~~~~~~~~~ src/Gui.cpp:741:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 741 | gGUIConst->kWeaponPanelHeight = GetLongConstant(f, "kWeaponPanelHeight"); | ^~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:742:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 742 | gGUIConst->kWeaponPanelPosX = GetLongConstant(f, "kWeaponPanelPosX"); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:743:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 743 | gGUIConst->kWeaponPanelPosY = GetLongConstant(f, "kWeaponPanelPosY"); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:744:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 744 | gGUIConst->kWeaponPanelWidth = GetLongConstant(f, "kWeaponPanelWidth"); | ^~~~~~~~~~~~~~~~~~~ src/Gui.cpp:745:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 745 | gGUIConst->kWeaponStatusWidth = GetLongConstant(f, "kWeaponStatusWidth"); | ^~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:747:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 747 | gGUIConst->kUserMenuEntryDY = GetLongConstant(f, "kUserMenuEntryDY"); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:748:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 748 | gGUIConst->kUserMenuEntryPosX = GetLongConstant(f, "kUserMenuEntryPosX"); | ^~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:749:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 749 | gGUIConst->kUserMenuEntryPosY = GetLongConstant(f, "kUserMenuEntryPosY"); | ^~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:750:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 750 | gGUIConst->kUserMenuHeight = GetLongConstant(f, "kUserMenuHeight"); | ^~~~~~~~~~~~~~~~~ src/Gui.cpp:751:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 751 | gGUIConst->kUserMenuPosX = GetLongConstant(f, "kUserMenuPosX"); | ^~~~~~~~~~~~~~~ src/Gui.cpp:752:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 752 | gGUIConst->kUserMenuPosY = GetLongConstant(f, "kUserMenuPosY"); | ^~~~~~~~~~~~~~~ src/Gui.cpp:753:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 753 | gGUIConst->kUserMenuWidth = GetLongConstant(f, "kUserMenuWidth"); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:754:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 754 | gGUIConst->kHelpMenuEntryDY = GetLongConstant(f, "kHelpMenuEntryDY"); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:756:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 756 | gGUIConst->kInfoTextLeft = GetLongConstant(f, "kInfoTextLeft"); | ^~~~~~~~~~~~~~~ src/Gui.cpp:757:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 757 | gGUIConst->kInfoTextTop = GetLongConstant(f, "kInfoTextTop"); | ^~~~~~~~~~~~~~ src/Gui.cpp:758:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 758 | gGUIConst->kInfoTextTime = GetLongConstant(f, "kInfoTextTime"); | ^~~~~~~~~~~~~~~ src/Gui.cpp:760:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 760 | GetStringConstant(f, "kUserMainPageTitle", gGUIConst->kUserMainPageTitle); | ^~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:761:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 761 | GetStringConstant(f, "kUserMenuEntry1", gGUIConst->kUserMenuEntry1); | ^~~~~~~~~~~~~~~~~ src/Gui.cpp:762:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 762 | GetStringConstant(f, "kUserMenuEntry2", gGUIConst->kUserMenuEntry2); | ^~~~~~~~~~~~~~~~~ src/Gui.cpp:763:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 763 | GetStringConstant(f, "kUserMenuEntry3", gGUIConst->kUserMenuEntry3); | ^~~~~~~~~~~~~~~~~ src/Gui.cpp:764:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 764 | GetStringConstant(f, "kUserMenuEntry4", gGUIConst->kUserMenuEntry4); | ^~~~~~~~~~~~~~~~~ src/Gui.cpp:765:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 765 | GetStringConstant(f, "kUserMenuEntry5", gGUIConst->kUserMenuEntry5); | ^~~~~~~~~~~~~~~~~ src/Gui.cpp:767:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 767 | GetStringConstant(f, "kNewGamePageTitle", gGUIConst->kNewGamePageTitle); | ^~~~~~~~~~~~~~~~~~~ src/Gui.cpp:768:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 768 | GetStringConstant(f, "kNewGameEntry1", gGUIConst->kNewGameEntry1); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:769:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 769 | GetStringConstant(f, "kNewGameEntry2", gGUIConst->kNewGameEntry2); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:770:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 770 | GetStringConstant(f, "kNewGameEntry3", gGUIConst->kNewGameEntry3); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:771:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 771 | GetStringConstant(f, "kNewGameEntry4", gGUIConst->kNewGameEntry4); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:773:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 773 | GetStringConstant(f, "kNoSavedGame", gGUIConst->kNoSavedGame); | ^~~~~~~~~~~~~~ src/Gui.cpp:774:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 774 | GetStringConstant(f, "kSavePageTitle", gGUIConst->kSavePageTitle); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:775:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 775 | GetStringConstant(f, "kLoadPageTitle", gGUIConst->kLoadPageTitle); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:776:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 776 | GetStringConstant(f, "kHelpPageTitle", gGUIConst->kHelpPageTitle); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:778:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 778 | GetStringConstant(f, "kSavedGame0", gGUIConst->kSavedGames[0]); | ^~~~~~~~~~~~~ src/Gui.cpp:779:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 779 | GetStringConstant(f, "kSavedGame1", gGUIConst->kSavedGames[1]); | ^~~~~~~~~~~~~ src/Gui.cpp:780:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 780 | GetStringConstant(f, "kSavedGame2", gGUIConst->kSavedGames[2]); | ^~~~~~~~~~~~~ src/Gui.cpp:781:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 781 | GetStringConstant(f, "kSavedGame3", gGUIConst->kSavedGames[3]); | ^~~~~~~~~~~~~ src/Gui.cpp:782:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 782 | GetStringConstant(f, "kSavedGame4", gGUIConst->kSavedGames[4]); | ^~~~~~~~~~~~~ src/Gui.cpp:783:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 783 | GetStringConstant(f, "kSavedGame5", gGUIConst->kSavedGames[5]); | ^~~~~~~~~~~~~ src/Gui.cpp:785:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 785 | gGUIConst->kKeyHitDelay = GetLongConstant(f, "kKeyHitDelay"); | ^~~~~~~~~~~~~~ src/Gui.cpp:787:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 787 | gGUIConst->kCreditsEntryDY = GetLongConstant(f, "kCreditsEntryDY"); | ^~~~~~~~~~~~~~~~~ src/Gui.cpp:788:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 788 | GetStringConstant(f, "kCreditsPageTitle", gGUIConst->kCreditsPageTitle); | ^~~~~~~~~~~~~~~~~~~ src/Gui.cpp:789:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 789 | GetStringConstant(f, "kCreditsEntry1", gGUIConst->kCreditsEntry1); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:790:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 790 | GetStringConstant(f, "kCreditsEntry2", gGUIConst->kCreditsEntry2); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:791:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 791 | GetStringConstant(f, "kCreditsEntry3", gGUIConst->kCreditsEntry3); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:792:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 792 | GetStringConstant(f, "kCreditsEntry4", gGUIConst->kCreditsEntry4); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:793:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 793 | GetStringConstant(f, "kCreditsEntry5", gGUIConst->kCreditsEntry5); | ^~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/ConstVal.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/ConstVal.o src/ConstVal.cpp: In function 'void LoadParameters()': src/ConstVal.cpp:26:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 26 | gConst->kVelocityUnit = GetDoubleConstant(paramFile, "kVelocityUnit"); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:27:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 27 | gConst->kPlayerAcceleration = GetDoubleConstant(paramFile, "kPlayerAcceleration"); | ^~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:28:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 28 | gConst->kPlayerLiquidAccel = GetDoubleConstant(paramFile, "kPlayerLiquidAccel"); | ^~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:29:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 29 | gConst->kRunScaleFactor = GetDoubleConstant(paramFile, "kRunScaleFactor"); | ^~~~~~~~~~~~~~~~~ src/ConstVal.cpp:30:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 30 | gConst->kJumpVelocity = GetDoubleConstant(paramFile, "kJumpVelocity"); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:31:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | gConst->kJumpAccelerationTime = GetLongConstant(paramFile, "kJumpAccelerationTime"); | ^~~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:32:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 32 | gConst->kTeleportTime = GetLongConstant(paramFile, "kTeleportTime"); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:33:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 33 | gConst->kPlayerWidth = GetLongConstant(paramFile, "kPlayerWidth"); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:34:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 34 | gConst->kBulletWidth = GetLongConstant(paramFile, "kBulletWidth"); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:35:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 35 | gConst->kFirehandNumOfBullets = GetLongConstant(paramFile, "kFirehandNumOfBullets"); | ^~~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:36:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 36 | gConst->kFirehandAngle = (double)GetLongConstant(paramFile, "kFirehandAngle") * 3.141 / 180; | ^~~~~~~~~~~~~~~~ src/ConstVal.cpp:37:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 37 | gConst->kStaffLoadTime = GetLongConstant(paramFile, "kStaffLoadTime"); | ^~~~~~~~~~~~~~~~ src/ConstVal.cpp:38:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 38 | gConst->kInitialOxygen = GetLongConstant(paramFile, "kInitialOxygen"); | ^~~~~~~~~~~~~~~~ src/ConstVal.cpp:39:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 39 | gConst->kOxygenDecrease = GetDoubleConstant(paramFile, "kOxygenDecrease"); | ^~~~~~~~~~~~~~~~~ src/ConstVal.cpp:40:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 40 | gConst->kLavaDamage = GetLongConstant(paramFile, "kLavaDamage"); | ^~~~~~~~~~~~~ src/ConstVal.cpp:41:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 41 | gConst->kPlayersFirstWeaponShape = GetLongConstant(paramFile, "kPlayersFirstWeaponShape"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:42:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 42 | gConst->kPickupTime = GetLongConstant(paramFile, "kPickupTime"); | ^~~~~~~~~~~~~ src/ConstVal.cpp:44:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 44 | gConst->kBulletTailLength = GetLongConstant(paramFile, "kBulletTailLength"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:45:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 45 | gConst->kBulletTailDistance = GetLongConstant(paramFile, "kBulletTailDistance"); | ^~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:46:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 46 | gConst->kDetonationFrameTime = GetDoubleConstant(paramFile, "kDetonationFrameTime"); | ^~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:47:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 47 | gConst->kWalkFrameTime = GetLongConstant(paramFile, "kWalkFrameTime"); | ^~~~~~~~~~~~~~~~ src/ConstVal.cpp:48:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | gConst->kShootFrameTime = GetLongConstant(paramFile, "kShootFrameTime"); | ^~~~~~~~~~~~~~~~~ src/ConstVal.cpp:49:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 49 | gConst->kWeaponChangeTime = GetLongConstant(paramFile, "kWeaponChangeTime"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:50:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | gConst->kActionDelayTime = GetLongConstant(paramFile, "kActionDelayTime"); | ^~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:51:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | gConst->kDieFrameTime = GetLongConstant(paramFile, "kDieFrameTime"); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:52:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | gConst->kDriftSpeed = GetLongConstant(paramFile, "kDriftSpeed"); | ^~~~~~~~~~~~~ src/ConstVal.cpp:53:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 53 | gConst->kWeaponCarryHeight = GetLongConstant(paramFile, "kWeaponCarryHeight"); | ^~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:55:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | gConst->kTeleportBlinkTime = GetLongConstant(paramFile, "kTeleportBlinkTime"); | ^~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:56:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 56 | gConst->kSavePortBlinkTime = GetLongConstant(paramFile, "kSavePortBlinkTime"); | ^~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:57:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 57 | gConst->kExitPortBlinkTime = GetLongConstant(paramFile, "kExitPortBlinkTime"); | ^~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:59:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 59 | gConst->kGravitation = GetDoubleConstant(paramFile, "kGravitation"); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:60:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 60 | gConst->kNormalFriction = GetDoubleConstant(paramFile, "kNormalFriction"); | ^~~~~~~~~~~~~~~~~ src/ConstVal.cpp:61:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 61 | gConst->kLiquidFriction = GetDoubleConstant(paramFile, "kLiquidFriction"); | ^~~~~~~~~~~~~~~~~ src/ConstVal.cpp:62:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 62 | gConst->kMaxFallingSpeed = GetDoubleConstant(paramFile, "kMaxFallingSpeed"); | ^~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:64:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 64 | gConst->kJumperJumpAcceleration = GetDoubleConstant(paramFile, "kJumperJumpAcceleration"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:66:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | gConst->kNumOfBounces = GetLongConstant(paramFile, "kNumOfBounces"); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:67:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | gConst->kSineWeaponRad = GetLongConstant(paramFile, "kSineWeaponRad"); | ^~~~~~~~~~~~~~~~ src/ConstVal.cpp:68:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | gConst->kMaxTurnAngle = (double)GetLongConstant(paramFile, "kMaxTurnAngle") * 3.141 / 180.0; | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:69:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | gConst->kWargFastSpeedup = (double)GetLongConstant(paramFile, "kWargFastSpeedup"); | ^~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:70:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | gConst->kWargNearWeaponRadix = GetLongConstant(paramFile, "kWargNearWeaponRadix"); | ^~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:71:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 71 | gConst->kWargJumpAcceleration = GetDoubleConstant(paramFile, "kWargJumpAcceleration"); | ^~~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:72:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | gConst->kDelayAfterWargDeath = GetLongConstant(paramFile, "kDelayAfterWargDeath"); | ^~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:74:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 74 | gConst->kActivateDistance = GetLongConstant(paramFile, "kActivateDistance"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:75:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | gConst->kTreatDistance = GetLongConstant(paramFile, "kTreatDistance"); | ^~~~~~~~~~~~~~~~ src/ConstVal.cpp:76:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 76 | gConst->kBrightnessLevels[0] = GetLongConstant(paramFile, "kLight"); | ^~~~~~~~ src/ConstVal.cpp:77:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | gConst->kBrightnessLevels[1] = GetLongConstant(paramFile, "kMedium"); | ^~~~~~~~~ src/ConstVal.cpp:78:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | gConst->kBrightnessLevels[2] = GetLongConstant(paramFile, "kDark"); | ^~~~~~~ src/ConstVal.cpp:79:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | gConst->kBrightnessLevels[3] = GetLongConstant(paramFile, "kVeryDark"); | ^~~~~~~~~~~ src/ConstVal.cpp:81:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 81 | gConst->kWeaponSF[0] = GetDoubleConstant(paramFile, "kWeaponSF1"); | ^~~~~~~~~~~~ src/ConstVal.cpp:82:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | gConst->kWeaponSF[1] = GetDoubleConstant(paramFile, "kWeaponSF2"); | ^~~~~~~~~~~~ src/ConstVal.cpp:83:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 83 | gConst->kWeaponSF[2] = GetDoubleConstant(paramFile, "kWeaponSF3"); | ^~~~~~~~~~~~ src/ConstVal.cpp:84:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | gConst->kWeaponSF[3] = GetDoubleConstant(paramFile, "kWeaponSF4"); | ^~~~~~~~~~~~ src/ConstVal.cpp:85:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | gConst->kHealthSF[0] = GetDoubleConstant(paramFile, "kHealthSF1"); | ^~~~~~~~~~~~ src/ConstVal.cpp:86:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 86 | gConst->kHealthSF[1] = GetDoubleConstant(paramFile, "kHealthSF2"); | ^~~~~~~~~~~~ src/ConstVal.cpp:87:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | gConst->kHealthSF[2] = GetDoubleConstant(paramFile, "kHealthSF3"); | ^~~~~~~~~~~~ src/ConstVal.cpp:88:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 88 | gConst->kHealthSF[3] = GetDoubleConstant(paramFile, "kHealthSF4"); | ^~~~~~~~~~~~ src/ConstVal.cpp:89:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 89 | gConst->kSpeedSF[0] = GetDoubleConstant(paramFile, "kSpeedSF1"); | ^~~~~~~~~~~ src/ConstVal.cpp:90:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 90 | gConst->kSpeedSF[1] = GetDoubleConstant(paramFile, "kSpeedSF2"); | ^~~~~~~~~~~ src/ConstVal.cpp:91:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | gConst->kSpeedSF[2] = GetDoubleConstant(paramFile, "kSpeedSF3"); | ^~~~~~~~~~~ src/ConstVal.cpp:92:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 92 | gConst->kSpeedSF[3] = GetDoubleConstant(paramFile, "kSpeedSF4"); | ^~~~~~~~~~~ src/ConstVal.cpp:94:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 94 | gConst->kFlickeringPeriod = GetLongConstant(paramFile, "kFlickeringPeriod"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:95:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | gConst->kLightningRadiant = GetLongConstant(paramFile, "kLightningRadiant"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:96:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 96 | gConst->kBkgndScrollFactor = GetDoubleConstant(paramFile, "kBkgndScrollFactor"); | ^~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:97:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 97 | gConst->kCoronaFadeSpeed = GetDoubleConstant(paramFile, "kCoronaFadeSpeed"); | ^~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:99:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | gConst->kBlessureInvulnerabilityTime = GetLongConstant(paramFile, "kBlessureInvulnerabilityTime"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:100:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 100 | gConst->kMonsterTouchBlessure = GetLongConstant(paramFile, "kMonsterTouchBlessure"); | ^~~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:101:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | gConst->kItemExplosionRad = GetLongConstant(paramFile, "kItemExplosionRad"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:102:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 102 | gConst->kItemExplosionStartShape = GetLongConstant(paramFile, "kItemExplosionStartShape"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:104:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 104 | gConst->kHealthPanelColor = GetLongConstant(paramFile, "kHealthPanelColor"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:105:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 105 | gConst->kOxygenPanelColor = GetLongConstant(paramFile, "kOxygenPanelColor"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:106:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 106 | gConst->kShadowmodeDarkening = GetLongConstant(paramFile, "kShadowmodeDarkening"); | ^~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:107:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 107 | gConst->kFadeTime = GetLongConstant(paramFile, "kFadeTime"); | ^~~~~~~~~~~ src/ConstVal.cpp:108:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 108 | gConst->kStartupTime = GetLongConstant(paramFile, "kStartupTime"); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:110:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 110 | gConst->kTextYDistance = GetLongConstant(paramFile, "kTextYDistance"); | ^~~~~~~~~~~~~~~~ src/ConstVal.cpp:111:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 111 | gConst->kCameraSpeed = GetLongConstant(paramFile, "kCameraSpeed"); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:113:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 113 | gConst->kSoundMaxDistance = GetLongConstant(paramFile, "kSoundMaxDistance"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:114:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 114 | gConst->kSoundMinDistance = GetLongConstant(paramFile, "kSoundMinDistance"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:116:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 116 | GetStringConstant(paramFile, "kFilePalette", gConst->kFilePalette); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:117:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 117 | GetStringConstant(paramFile, "kFileLevel", gConst->kFileLevel); | ^~~~~~~~~~~~ src/ConstVal.cpp:118:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 118 | GetStringConstant(paramFile, "kFileMonster", gConst->kFileMonster); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:119:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 119 | GetStringConstant(paramFile, "kFileWeapon", gConst->kFileWeapon); | ^~~~~~~~~~~~~ src/ConstVal.cpp:120:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 120 | GetStringConstant(paramFile, "kFileInfo", gConst->kFileInfo); | ^~~~~~~~~~~ src/ConstVal.cpp:121:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 121 | GetStringConstant(paramFile, "kFilePlatform", gConst->kFilePlatform); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:122:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 122 | GetStringConstant(paramFile, "kFileObjects", gConst->kFileObjects); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:123:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 123 | GetStringConstant(paramFile, "kFileShapes", gConst->kFileShapes); | ^~~~~~~~~~~~~ src/ConstVal.cpp:124:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 124 | GetStringConstant(paramFile, "kFileBackground1", gConst->kFileBackground1); | ^~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:125:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 125 | GetStringConstant(paramFile, "kFileBackground2", gConst->kFileBackground2); | ^~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:126:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 126 | GetStringConstant(paramFile, "kFileCluts", gConst->kFileCluts); | ^~~~~~~~~~~~ src/ConstVal.cpp:127:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | GetStringConstant(paramFile, "kFileGUIs", gConst->kFileGUIs); | ^~~~~~~~~~~ src/ConstVal.cpp:128:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 128 | GetStringConstant(paramFile, "kFileConfig", gConst->kFileConfig); | ^~~~~~~~~~~~~ src/ConstVal.cpp:129:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 129 | GetStringConstant(paramFile, "kFileStartup", gConst->kFileStartup); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:132:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 132 | GetStringConstant(paramFile, "kMonsterName1", gConst->kMonsterNames[0]); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:133:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 133 | GetStringConstant(paramFile, "kMonsterName2", gConst->kMonsterNames[1]); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:134:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 134 | GetStringConstant(paramFile, "kMonsterName3", gConst->kMonsterNames[2]); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:135:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 135 | GetStringConstant(paramFile, "kMonsterName4", gConst->kMonsterNames[3]); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:136:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 136 | GetStringConstant(paramFile, "kMonsterName5", gConst->kMonsterNames[4]); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:137:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 137 | GetStringConstant(paramFile, "kMonsterName6", gConst->kMonsterNames[5]); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:138:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 138 | GetStringConstant(paramFile, "kMonsterName7", gConst->kMonsterNames[6]); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:139:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 139 | GetStringConstant(paramFile, "kMonsterName8", gConst->kMonsterNames[7]); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:140:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 140 | GetStringConstant(paramFile, "kMonsterName9", gConst->kMonsterNames[8]); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:141:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 141 | GetStringConstant(paramFile, "kMonsterName10", gConst->kMonsterNames[9]); | ^~~~~~~~~~~~~~~~ src/ConstVal.cpp:142:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 142 | GetStringConstant(paramFile, "kMonsterName11", gConst->kMonsterNames[10]); | ^~~~~~~~~~~~~~~~ src/ConstVal.cpp:144:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 144 | gConst->kMonsterNameSpeed = GetLongConstant(paramFile, "kMonsterNameSpeed"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:145:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 145 | gConst->kMonsterNameX = GetLongConstant(paramFile, "kMonsterNameX"); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:148:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 148 | gConst->kShowFPS = GetLongConstant(paramFile, "kShowFPS"); | ^~~~~~~~~~ src/ConstVal.cpp:164:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 164 | gConfigData->leftKey = GetLongConstant(paramFile, "LeftKey"); | ^~~~~~~~~ src/ConstVal.cpp:165:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 165 | GetStringConstant(paramFile, "LeftKeyText", gConfigData->leftKeyText); | ^~~~~~~~~~~~~ src/ConstVal.cpp:166:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 166 | gConfigData->rightKey = GetLongConstant(paramFile, "RightKey"); | ^~~~~~~~~~ src/ConstVal.cpp:167:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 167 | GetStringConstant(paramFile, "RightKeyText", gConfigData->rightKeyText); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:168:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 168 | gConfigData->jumpKey = GetLongConstant(paramFile, "JumpKey"); | ^~~~~~~~~ src/ConstVal.cpp:169:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | GetStringConstant(paramFile, "JumpKeyText", gConfigData->jumpKeyText); | ^~~~~~~~~~~~~ src/ConstVal.cpp:170:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 170 | gConfigData->runKey = GetLongConstant(paramFile, "RunKey"); | ^~~~~~~~ src/ConstVal.cpp:171:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 171 | GetStringConstant(paramFile, "RunKeyText", gConfigData->runKeyText); | ^~~~~~~~~~~~ src/ConstVal.cpp:172:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 172 | gConfigData->shootKey = GetLongConstant(paramFile, "ShootKey"); | ^~~~~~~~~~ src/ConstVal.cpp:173:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 173 | GetStringConstant(paramFile, "ShootKeyText", gConfigData->shootKeyText); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:174:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 174 | gConfigData->nextWeaponKey = GetLongConstant(paramFile, "NextWeaponKey"); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:175:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 175 | GetStringConstant(paramFile, "NextWeaponKeyText", gConfigData->nextWeaponKeyText); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:176:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 176 | gConfigData->prevWeaponKey = GetLongConstant(paramFile, "PrevWeaponKey"); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:177:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 177 | GetStringConstant(paramFile, "PrevWeaponKeyText", gConfigData->prevWeaponKeyText); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:178:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 178 | gConfigData->activateKey = GetLongConstant(paramFile, "ActivateKey"); | ^~~~~~~~~~~~~ src/ConstVal.cpp:179:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 179 | GetStringConstant(paramFile, "ActivateKeyText", gConfigData->activateKeyText); | ^~~~~~~~~~~~~~~~~ src/ConstVal.cpp:181:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 181 | gConfigData->weapon1Key = GetLongConstant(paramFile, "Weapon1Key"); | ^~~~~~~~~~~~ src/ConstVal.cpp:182:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 182 | gConfigData->weapon2Key = GetLongConstant(paramFile, "Weapon2Key"); | ^~~~~~~~~~~~ src/ConstVal.cpp:183:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 183 | gConfigData->weapon3Key = GetLongConstant(paramFile, "Weapon3Key"); | ^~~~~~~~~~~~ src/ConstVal.cpp:184:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 184 | gConfigData->weapon4Key = GetLongConstant(paramFile, "Weapon4Key"); | ^~~~~~~~~~~~ src/ConstVal.cpp:185:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 185 | gConfigData->weapon5Key = GetLongConstant(paramFile, "Weapon5Key"); | ^~~~~~~~~~~~ src/ConstVal.cpp:186:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 186 | gConfigData->weapon6Key = GetLongConstant(paramFile, "Weapon6Key"); | ^~~~~~~~~~~~ src/ConstVal.cpp:187:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 187 | gConfigData->weapon7Key = GetLongConstant(paramFile, "Weapon7Key"); | ^~~~~~~~~~~~ src/ConstVal.cpp:188:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 188 | gConfigData->weapon8Key = GetLongConstant(paramFile, "Weapon8Key"); | ^~~~~~~~~~~~ src/ConstVal.cpp:190:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 190 | gConfigData->soundVolume = GetLongConstant(paramFile, "SoundVolume"); | ^~~~~~~~~~~~~ src/ConstVal.cpp:192:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 192 | gConfigData->screenWidth = GetLongConstant(paramFile, "ScreenWidth"); | ^~~~~~~~~~~~~ src/ConstVal.cpp:193:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 193 | gConfigData->screenHeight = GetLongConstant(paramFile, "ScreenHeight"); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:195:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 195 | gConfigData->disableCoronas = GetLongConstant(paramFile, "DisableCoronas"); | ^~~~~~~~~~~~~~~~ src/ConstVal.cpp:196:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 196 | gConfigData->disableLightning = GetLongConstant(paramFile, "DisableLightning"); | ^~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:197:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 197 | gConfigData->disableShapeModes = GetLongConstant(paramFile, "DisableShapeModes"); | ^~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Clut.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Clut.o In file included from src/Clut.hpp:4, from src/Clut.cpp:1: src/Clut.cpp: In member function 'void CClutManager::BuildLuminosityTable()': src/Clut.cpp:159:70: warning: format not a string literal and no format arguments [-Wformat-security] 159 | if (!fClut) MSG("!!! File not found: "); MSG(gConst->kFileCluts); MSG("\n"); | ~~~~~~~~^~~~~~~~~~ src/AmpHead.hpp:186:52: note: in definition of macro 'MSG' 186 | #define MSG(message) if (logFile) fprintf(logFile, message); fflush(logFile) | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Item.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Item.o In file included from src/Thing.hpp:4, from src/Item.hpp:4, from src/Item.cpp:1: src/Item.cpp: In member function 'virtual void CItem::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:271:9: note: in expansion of macro 'READDATA' 271 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:272:9: note: in expansion of macro 'READDATA' 272 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:273:9: note: in expansion of macro 'READDATA' 273 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:277:9: note: in expansion of macro 'READDATA' 277 | READDATA(isCorona); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:278:9: note: in expansion of macro 'READDATA' 278 | READDATA(detonationStartTime); | ^~~~~~~~ src/Item.cpp: In member function 'virtual void CPortableItem::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:304:9: note: in expansion of macro 'READDATA' 304 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:305:9: note: in expansion of macro 'READDATA' 305 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:306:9: note: in expansion of macro 'READDATA' 306 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:310:9: note: in expansion of macro 'READDATA' 310 | READDATA(pickedUp); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:311:9: note: in expansion of macro 'READDATA' 311 | READDATA(type); | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Main.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Main.o make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Level.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Level.o src/Level.cpp: In constructor 'CLevel::CLevel(short int, char*)': src/Level.cpp:42:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 42 | if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFileLevel))) gSystem->Error("File kFileLevel not found or not able to open it", 0); // by LL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp: In member function 'void CLevel::WriteLevel(char*)': src/Level.cpp:222:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 222 | gSystem->Error("Cannot open the saving file", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp: In member function 'short int CLevel::ReadLevel(char*)': src/Level.cpp:299:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 299 | if (!f) gSystem->Error("Cannot open the saving file", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp: In member function 'void CLevel::GetSavedGameTitle(char*, char*)': src/Level.cpp:273:21: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 273 | if (f) fread(&versionNumber, sizeof(versionNumber), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:274:21: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 274 | if (f) fread(&key, sizeof(key), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:279:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 279 | fread(&time, sizeof(time), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp: In member function 'short int CLevel::ReadLevel(char*)': src/Level.cpp:302:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 302 | fread(&versionNumber, sizeof(versionNumber), 1, f); if (versionNumber != kVersionNumber) return 0; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:303:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 303 | fread(&key, sizeof(key), 1, f); if (key != kVersionKey) return 0; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:304:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 304 | fread(&theTime, sizeof(theTime), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:305:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 305 | fread(&ticks, sizeof(ticks), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:306:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 306 | fread(&gApplication->difficulty, sizeof(gApplication->difficulty), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:307:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 307 | fread(&fileSize, sizeof(fileSize), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:308:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 308 | fread(&gApplication->levelNumber, sizeof(gApplication->levelNumber), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:315:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 315 | fread(&size, sizeof(size), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:316:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 316 | fread(&typeID, sizeof(typeID), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:333:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 333 | fread(&size, sizeof(size), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:334:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 334 | fread(&typeID, sizeof(typeID), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:335:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 335 | fread(&thingNumber, sizeof(thingNumber), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Monster.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Monster.o In file included from src/Thing.hpp:4, from src/Monster.hpp:4, from src/Monster.cpp:1: src/Monster.cpp: In member function 'virtual void CMonster::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:349:9: note: in expansion of macro 'READDATA' 349 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:350:9: note: in expansion of macro 'READDATA' 350 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:351:9: note: in expansion of macro 'READDATA' 351 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:359:9: note: in expansion of macro 'READDATA' 359 | READDATA(speed); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:360:9: note: in expansion of macro 'READDATA' 360 | READDATA(lastWalkTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:361:9: note: in expansion of macro 'READDATA' 361 | READDATA(lastShootTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:362:9: note: in expansion of macro 'READDATA' 362 | READDATA(walkFrame); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:363:9: note: in expansion of macro 'READDATA' 363 | READDATA(status); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:364:9: note: in expansion of macro 'READDATA' 364 | READDATA(lastCollisionCode); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:365:9: note: in expansion of macro 'READDATA' 365 | READDATA(flying); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:366:9: note: in expansion of macro 'READDATA' 366 | READDATA(teleportDeltaTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:367:9: note: in expansion of macro 'READDATA' 367 | READDATA(teleportCounter); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:368:9: note: in expansion of macro 'READDATA' 368 | READDATA(lastBlessureTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:369:9: note: in expansion of macro 'READDATA' 369 | READDATA(dieFrameTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:370:9: note: in expansion of macro 'READDATA' 370 | READDATA(dieFrame); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:371:9: note: in expansion of macro 'READDATA' 371 | READDATA(doDarken); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:372:9: note: in expansion of macro 'READDATA' 372 | READDATA(health); | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Monstrxx.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Monstrxx.o In file included from src/Thing.hpp:4, from src/Monster.hpp:4, from src/Monstrxx.hpp:4, from src/Monstrxx.cpp:1: src/Monstrxx.cpp: In member function 'virtual void CWalker::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:447:9: note: in expansion of macro 'READDATA' 447 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:448:9: note: in expansion of macro 'READDATA' 448 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:449:9: note: in expansion of macro 'READDATA' 449 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:453:9: note: in expansion of macro 'READDATA' 453 | READDATA(nextShootTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:454:9: note: in expansion of macro 'READDATA' 454 | READDATA(currentShootDelay); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:455:9: note: in expansion of macro 'READDATA' 455 | READDATA(lastShoot); | ^~~~~~~~ src/Monstrxx.cpp: In member function 'virtual void CJumper::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:483:9: note: in expansion of macro 'READDATA' 483 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:484:9: note: in expansion of macro 'READDATA' 484 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:485:9: note: in expansion of macro 'READDATA' 485 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:489:9: note: in expansion of macro 'READDATA' 489 | READDATA(nextShootTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:490:9: note: in expansion of macro 'READDATA' 490 | READDATA(currentShootDelay); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:491:9: note: in expansion of macro 'READDATA' 491 | READDATA(lastShoot); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:492:9: note: in expansion of macro 'READDATA' 492 | READDATA(inJump); | ^~~~~~~~ src/Monstrxx.cpp: In member function 'virtual void CFlyer::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:520:9: note: in expansion of macro 'READDATA' 520 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:521:9: note: in expansion of macro 'READDATA' 521 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:522:9: note: in expansion of macro 'READDATA' 522 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:526:9: note: in expansion of macro 'READDATA' 526 | READDATA(nextShootTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:527:9: note: in expansion of macro 'READDATA' 527 | READDATA(currentShootDelay); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:528:9: note: in expansion of macro 'READDATA' 528 | READDATA(lastShoot); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:529:9: note: in expansion of macro 'READDATA' 529 | READDATA(rescueMeX); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:530:9: note: in expansion of macro 'READDATA' 530 | READDATA(rescueMeY); | ^~~~~~~~ src/Monstrxx.cpp: In member function 'virtual void CWarg::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:561:9: note: in expansion of macro 'READDATA' 561 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:562:9: note: in expansion of macro 'READDATA' 562 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:563:9: note: in expansion of macro 'READDATA' 563 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:571:9: note: in expansion of macro 'READDATA' 571 | READDATA(nextShootTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:572:9: note: in expansion of macro 'READDATA' 572 | READDATA(currentShootDelay); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:573:9: note: in expansion of macro 'READDATA' 573 | READDATA(lastShoot); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:574:9: note: in expansion of macro 'READDATA' 574 | READDATA(inJump); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:575:9: note: in expansion of macro 'READDATA' 575 | READDATA(speedup); | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Object.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Object.o In file included from src/Object.cpp:1: src/Object.cpp: In member function 'virtual void CObject::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:314:9: note: in expansion of macro 'READDATA' 314 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:315:9: note: in expansion of macro 'READDATA' 315 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:317:9: note: in expansion of macro 'READDATA' 317 | READDATA(xs); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:318:9: note: in expansion of macro 'READDATA' 318 | READDATA(ys); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:319:9: note: in expansion of macro 'READDATA' 319 | READDATA(xe); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:320:9: note: in expansion of macro 'READDATA' 320 | READDATA(ye); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:321:9: note: in expansion of macro 'READDATA' 321 | READDATA(xm); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:322:9: note: in expansion of macro 'READDATA' 322 | READDATA(ym); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:323:9: note: in expansion of macro 'READDATA' 323 | READDATA(weight); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:324:9: note: in expansion of macro 'READDATA' 324 | READDATA(forceVectorX); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:325:9: note: in expansion of macro 'READDATA' 325 | READDATA(forceVectorY); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:326:9: note: in expansion of macro 'READDATA' 326 | READDATA(environmentForceX); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:327:9: note: in expansion of macro 'READDATA' 327 | READDATA(environmentForceY); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:328:9: note: in expansion of macro 'READDATA' 328 | READDATA(gravitation); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:329:9: note: in expansion of macro 'READDATA' 329 | READDATA(resForceX); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:330:9: note: in expansion of macro 'READDATA' 330 | READDATA(resForceY); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:331:9: note: in expansion of macro 'READDATA' 331 | READDATA(background); | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Pltform.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Pltform.o In file included from src/Thing.hpp:4, from src/Pltform.hpp:4, from src/Pltform.cpp:1: src/Pltform.cpp: In member function 'virtual void CPlatform::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:259:9: note: in expansion of macro 'READDATA' 259 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:260:9: note: in expansion of macro 'READDATA' 260 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:261:9: note: in expansion of macro 'READDATA' 261 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:265:9: note: in expansion of macro 'READDATA' 265 | READDATA(origHeight); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:266:9: note: in expansion of macro 'READDATA' 266 | READDATA(action); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:267:9: note: in expansion of macro 'READDATA' 267 | READDATA(startx); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:268:9: note: in expansion of macro 'READDATA' 268 | READDATA(starty); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:269:9: note: in expansion of macro 'READDATA' 269 | READDATA(endx); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:270:9: note: in expansion of macro 'READDATA' 270 | READDATA(endy); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:271:9: note: in expansion of macro 'READDATA' 271 | READDATA(maxDistance); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:272:9: note: in expansion of macro 'READDATA' 272 | READDATA(delayTime); | ^~~~~~~~ src/Pltform.cpp:276:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 276 | fread(info, sizeof(tPlatformInfo), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/ObjInfo.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/ObjInfo.o src/ObjInfo.cpp: In member function 'void CObjInfo::LoadMonsters(short int)': src/ObjInfo.cpp:45:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 45 | if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFileMonster))) gSystem->Error("Cannot find file kFileMonster or unable to open it", 0); // by LL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ObjInfo.cpp: In member function 'void CObjInfo::LoadItems(short int)': src/ObjInfo.cpp:78:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFileObjects))) gSystem->Error("Cannot find file kFileObjects or uable to open it", 0); // by LL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ObjInfo.cpp: In member function 'void CObjInfo::LoadWeapons(short int)': src/ObjInfo.cpp:95:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFileWeapon))) gSystem->Error("Cannot find file kFileWeapon or unable to open it", 0); // by LL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ObjInfo.cpp: In member function 'void CObjInfo::LoadPlatforms(short int)': src/ObjInfo.cpp:123:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 123 | if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFilePlatform))) gSystem->Error("Cannot find file kFilePlatform or unable to open it", 0); // by LL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/ObjInfo.hpp:4, from src/ObjInfo.cpp:1: src/ObjInfo.cpp: In member function 'void CObjInfo::LoadMonsters(short int)': src/ObjInfo.cpp:55:71: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] 55 | TRANS_PUT_NUM(monsterInfo[n]->additionalData[m]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ src/File.hpp:25:41: note: in definition of macro 'SWAP_PUT_SHORT' 25 | #define SWAP_PUT_SHORT(x) ((x) = (x << 8) | (((unsigned short)x) >> 8)) | ^ src/ObjInfo.cpp:55:25: note: in expansion of macro 'TRANS_PUT_NUM' 55 | TRANS_PUT_NUM(monsterInfo[n]->additionalData[m]); | ^~~~~~~~~~~~~ src/ObjInfo.cpp:53:37: note: within this loop 53 | for (short m = 0; m < 3; m ++) { | ~~^~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/ShapeLd.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/ShapeLd.o src/ShapeLd.cpp: In member function 'void CShapeManager::LoadShapes()': src/ShapeLd.cpp:31:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | if (!plane) gSystem->Error("Cannot find kFileShapes or cannot open it. Perhaps lack of memory?", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ShapeLd.cpp: In member function 'void CShapeManager::LoadBackground(char*)': src/ShapeLd.cpp:66:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | if (!backgroundPicture) gSystem->Error("Cannot open background file. Lack of memory?", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Player.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Player.o In file included from src/Thing.hpp:4, from src/Monster.hpp:4, from src/Player.hpp:4, from src/Player.cpp:1: src/Player.cpp: In member function 'virtual void CPlayer::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:510:9: note: in expansion of macro 'READDATA' 510 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:511:9: note: in expansion of macro 'READDATA' 511 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:512:9: note: in expansion of macro 'READDATA' 512 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:520:9: note: in expansion of macro 'READDATA' 520 | READDATA(jumpTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:521:9: note: in expansion of macro 'READDATA' 521 | READDATA(currentWeapon); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:522:9: note: in expansion of macro 'READDATA' 522 | READDATA(lastWeaponChanging); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:523:9: note: in expansion of macro 'READDATA' 523 | READDATA(lastPickupTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:524:9: note: in expansion of macro 'READDATA' 524 | READDATA(lastActionTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:525:9: note: in expansion of macro 'READDATA' 525 | READDATA(teleportRefNum); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:526:9: note: in expansion of macro 'READDATA' 526 | READDATA(currentJob); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:528:9: note: in expansion of macro 'READDATA' 528 | READDATA(oxygen); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:529:9: note: in expansion of macro 'READDATA' 529 | READDATA(lastOxygenDecTime); | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Surface.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Surface.o make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Shape.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Shape.o make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Thing.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Thing.o In file included from src/Thing.hpp:4, from src/Thing.cpp:1: src/Thing.cpp: In member function 'virtual void CThing::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:148:9: note: in expansion of macro 'READDATA' 148 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:149:9: note: in expansion of macro 'READDATA' 149 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:150:9: note: in expansion of macro 'READDATA' 150 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:154:9: note: in expansion of macro 'READDATA' 154 | READDATA(lookDirection); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:155:9: note: in expansion of macro 'READDATA' 155 | READDATA(weightless); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:156:9: note: in expansion of macro 'READDATA' 156 | READDATA(dx); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:157:9: note: in expansion of macro 'READDATA' 157 | READDATA(dy); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:158:9: note: in expansion of macro 'READDATA' 158 | READDATA(modus); | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/SoundList.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/SoundList.o make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/SndSys.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/SndSys.o make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Weapon.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Weapon.o In file included from src/Thing.hpp:4, from src/ObjInfo.hpp:5, from src/Weapon.hpp:4, from src/Weapon.cpp:1: src/Weapon.cpp: In member function 'virtual void CWeapon::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:370:9: note: in expansion of macro 'READDATA' 370 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:372:9: note: in expansion of macro 'READDATA' 372 | READDATA(munition); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:373:9: note: in expansion of macro 'READDATA' 373 | READDATA(lastShoot); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:374:9: note: in expansion of macro 'READDATA' 374 | READDATA(lastShootFrame); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:375:9: note: in expansion of macro 'READDATA' 375 | READDATA(weaponStatus); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:376:9: note: in expansion of macro 'READDATA' 376 | READDATA(repetition); | ^~~~~~~~ src/Weapon.cpp: In member function 'virtual void CHandWeapon::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:400:9: note: in expansion of macro 'READDATA' 400 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:404:9: note: in expansion of macro 'READDATA' 404 | READDATA(animationFrame); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:405:9: note: in expansion of macro 'READDATA' 405 | READDATA(numAnimFrames); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:406:9: note: in expansion of macro 'READDATA' 406 | READDATA(shootFrameTime); | ^~~~~~~~ src/Weapon.cpp: In member function 'virtual void CBomb::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:429:9: note: in expansion of macro 'READDATA' 429 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:433:9: note: in expansion of macro 'READDATA' 433 | READDATA(status); | ^~~~~~~~ src/Weapon.cpp: In member function 'virtual void CStaff::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:460:9: note: in expansion of macro 'READDATA' 460 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:464:9: note: in expansion of macro 'READDATA' 464 | READDATA(staffLoadTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:465:9: note: in expansion of macro 'READDATA' 465 | READDATA(lastLoad); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:466:9: note: in expansion of macro 'READDATA' 466 | READDATA(inLoad); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:467:9: note: in expansion of macro 'READDATA' 467 | READDATA(dx); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:468:9: note: in expansion of macro 'READDATA' 468 | READDATA(dy); | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/System.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/System.o In file included from src/System.hpp:9, from src/System.cpp:9: src/System.cpp: In constructor 'CSystem::CSystem(char*)': src/AmpHead.hpp:186:42: warning: format not a string literal and no format arguments [-Wformat-security] 186 | #define MSG(message) if (logFile) fprintf(logFile, message); fflush(logFile) | ~~~~~~~^~~~~~~~~~~~~~~~~~ src/System.cpp:182:8: note: in expansion of macro 'MSG' 182 | MSG(SDL_GetError()); | ^~~ src/System.cpp: In member function 'tGraphicBuffer* CSystem::AllocateBuffer(short int, short int)': src/System.cpp:303:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 303 | if (port == NULL) Error("Error while creating an SDL Surface", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/System.cpp: In member function 'void CSystem::LoadPalette(char*)': src/System.cpp:344:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 344 | if (!gf) Error("Cannot find or open the palette file (*.pal)", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/System.hpp:9, from src/System.cpp:9: src/System.cpp: In member function 'void CSystem::Error(char*, short int)': src/AmpHead.hpp:186:42: warning: format not a string literal and no format arguments [-Wformat-security] 186 | #define MSG(message) if (logFile) fprintf(logFile, message); fflush(logFile) | ~~~~~~~^~~~~~~~~~~~~~~~~~ src/System.cpp:485:9: note: in expansion of macro 'MSG' 485 | MSG(message); fprintf(logFile, " %d\n", errorNo); fflush(logFile); | ^~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -L/usr/lib -L/usr/share/lib -L/usr/X11R6/lib -o amph src/Element.o src/File.o src/Gifload.o src/Graphfil.o src/Gui.o src/Appl.o src/Bullet.o src/Clut.o src/ConstVal.o src/Creeper.o src/Item.o src/Level.o src/Main.o src/Monster.o src/Monstrxx.o src/Object.o src/ObjInfo.o src/Player.o src/Pltform.o src/Shape.o src/ShapeLd.o src/Surface.o src/Thing.o src/Weapon.o src/System.o src/SndSys.o src/SoundList.o -lm -lSDL -lpthread -lXpm -lXt make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.16245 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/amphetamine-buildroot + : + /bin/rm -rf -- /usr/src/tmp/amphetamine-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd amphetamine-0.8.10 + mkdir -p /usr/src/tmp/amphetamine-buildroot/usr/share/games /usr/src/tmp/amphetamine-buildroot/usr/lib/menu + tar -C /usr/src/tmp/amphetamine-buildroot/usr/share/games -jxf /usr/src/RPM/SOURCES/amphetamine-data-0.8.6.tar.bz2 + install -pD -c -s amph /usr/src/tmp/amphetamine-buildroot/usr/games/amph WARNING: strip is called in %install by 'install -s' (ignored) + install -pD amph.xpm /usr/src/tmp/amphetamine-buildroot/usr/share/icons/hicolor/32x32/apps/amphetamine.xpm + install -pD amphetamine-icons/amph-16.png /usr/src/tmp/amphetamine-buildroot/usr/share/icons/hicolor/48x48/apps/amphetamine.png + install -pD amphetamine-icons/amph-32.png /usr/src/tmp/amphetamine-buildroot/usr/share/icons/hicolor/32x32/apps/amphetamine.png + install -pD amphetamine-icons/amph-48.png /usr/src/tmp/amphetamine-buildroot/usr/share/icons/hicolor/16x16/apps/amphetamine.png + install -pD /usr/src/RPM/SOURCES/amphetamine.desktop /usr/src/tmp/amphetamine-buildroot/usr/share/applications/amphetamine.desktop + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/amphetamine-buildroot (auto) Verifying and fixing files in /usr/src/tmp/amphetamine-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/amphetamine-buildroot/ (default) Compressing files in /usr/src/tmp/amphetamine-buildroot (auto) Adjusting library links in /usr/src/tmp/amphetamine-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/amphetamine-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Processing files: amphetamine-0.8.10-alt6 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.41775 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd amphetamine-0.8.10 + DOCDIR=/usr/src/tmp/amphetamine-buildroot/usr/share/doc/amphetamine-0.8.10 + export DOCDIR + rm -rf /usr/src/tmp/amphetamine-buildroot/usr/share/doc/amphetamine-0.8.10 + /bin/mkdir -p /usr/src/tmp/amphetamine-buildroot/usr/share/doc/amphetamine-0.8.10 + cp -prL BUGS ChangeLog NEWS README /usr/src/tmp/amphetamine-buildroot/usr/share/doc/amphetamine-0.8.10 + chmod -R go-w /usr/src/tmp/amphetamine-buildroot/usr/share/doc/amphetamine-0.8.10 + chmod -R a+rX /usr/src/tmp/amphetamine-buildroot/usr/share/doc/amphetamine-0.8.10 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bo2NlB find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CWJYgD find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib64/ld-linux-x86-64.so.2, libSDL-1.2.so.0()(64bit) >= set:lgUOpc4s8Fi13rlU7AiovOTHe3hdeDLXZfTqwOl7qxrTUcOahoMPYtZ4cnYoX1nlku2, libXpm.so.4()(64bit) >= set:kjuEi, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tLTpyC Creating amphetamine-debuginfo package Processing files: amphetamine-debuginfo-0.8.10-alt6 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7WUXgB find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fW0wsC find-requires: running scripts (debuginfo) Requires: amphetamine = 0.8.10-alt6, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libSDL-1.2.so.0), debug64(libXpm.so.4), debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libm.so.6), debug64(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/x86_64/amphetamine-0.8.10-alt6.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/amphetamine-debuginfo-0.8.10-alt6.x86_64.rpm (w2.lzdio) 27.44user 3.48system 0:11.38elapsed 271%CPU (0avgtext+0avgdata 65708maxresident)k 0inputs+0outputs (0major+522325minor)pagefaults 0swaps /.out/amphetamine-0.8.10-alt6.x86_64.rpm: The use of such a license name is ambiguous: GPL /.out/amphetamine-debuginfo-0.8.10-alt6.x86_64.rpm: The use of such a license name is ambiguous: GPL 38.00user 10.88system 0:27.26elapsed 179%CPU (0avgtext+0avgdata 105056maxresident)k 616inputs+0outputs (30558major+800131minor)pagefaults 0swaps --- amphetamine-0.8.10-alt6.x86_64.rpm.repo 2017-07-26 10:43:59.000000000 +0000 +++ amphetamine-0.8.10-alt6.x86_64.rpm.hasher 2021-09-30 03:06:32.340523141 +0000 @@ -82,3 +82,2 @@ Requires: libgcc_s.so.1(GCC_3.0)(64bit) -Requires: libm.so.6(GLIBC_2.15)(64bit) Requires: libm.so.6(GLIBC_2.2.5)(64bit) @@ -91,3 +90,3 @@ Provides: amphetamine = 0.8.10-alt6 -File: /usr/games/amph 100755 root:root 43824e227559a412495fe4951bc69668 +File: /usr/games/amph 100755 root:root e73c258230c036a8977d6494ed933e3c File: /usr/share/applications/amphetamine.desktop 100755 root:root 1dc5da9d2bcd9ef5b436d6cff6824152 @@ -164,2 +163,2 @@ File: /usr/share/icons/hicolor/48x48/apps/amphetamine.png 100755 root:root abd1238820835f8cc4ec5f6494de9341 -RPMIdentity: 46c10b8aac32e1cca594c91fde6e686a1831ff25622634d47b8f55d4f22d985dde48b631449447a93379e1bcb5e2651cbafa79ebb2111643356b6b9eb4467c1d +RPMIdentity: 840dfc9c521816bdea820201ab015a8919069005d484ec1ad45935e5fafc0ce83d8cf713d440b0eead79a0692ab704f62a15236c545a2ea1a06897bdc6014b11 error: open of /archive/repo/sisyphus/task/_279/286134/files/x86_64/RPMS/amphetamine-debuginfo-0.8.10-alt6.x86_64.rpm failed: No such file or directory