<86>Aug 1 09:08:35 userdel[1373338]: delete user 'rooter' <86>Aug 1 09:08:35 userdel[1373338]: removed group 'rooter' owned by 'rooter' <86>Aug 1 09:08:35 userdel[1373338]: removed shadow group 'rooter' owned by 'rooter' <86>Aug 1 09:08:35 groupadd[1373343]: group added to /etc/group: name=rooter, GID=621 <86>Aug 1 09:08:35 groupadd[1373343]: group added to /etc/gshadow: name=rooter <86>Aug 1 09:08:35 groupadd[1373343]: new group: name=rooter, GID=621 <86>Aug 1 09:08:35 useradd[1373347]: new user: name=rooter, UID=621, GID=621, home=/root, shell=/bin/bash <86>Aug 1 09:08:35 userdel[1373353]: delete user 'builder' <86>Aug 1 09:08:35 userdel[1373353]: removed group 'builder' owned by 'builder' <86>Aug 1 09:08:35 userdel[1373353]: removed shadow group 'builder' owned by 'builder' <86>Aug 1 09:08:35 groupadd[1373359]: group added to /etc/group: name=builder, GID=622 <86>Aug 1 09:08:35 groupadd[1373359]: group added to /etc/gshadow: name=builder <86>Aug 1 09:08:35 groupadd[1373359]: new group: name=builder, GID=622 <86>Aug 1 09:08:35 useradd[1373363]: new user: name=builder, UID=622, GID=622, home=/usr/src, shell=/bin/bash 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>Aug 1 09:08:38 rpmi: xorg-proto-devel-2021.4-alt1 p9+272150.100.1.1 1621427342 installed <13>Aug 1 09:08:38 rpmi: libogg-1.3.4-alt1 p9+249556.100.1.1 1586300646 installed <13>Aug 1 09:08:38 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Aug 1 09:08:39 rpmi: libglvnd-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>Aug 1 09:08:39 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Aug 1 09:08:39 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103337 installed <13>Aug 1 09:08:39 rpmi: libwayland-server-1.18.0-alt1 p9+260591.100.12.1 1606212861 installed <13>Aug 1 09:08:39 rpmi: libOpenGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>Aug 1 09:08:39 rpmi: libICE-devel-1.0.9-alt1 1409902721 installed <13>Aug 1 09:08:39 rpmi: libSM-devel-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Aug 1 09:08:39 rpmi: libflac8-1.3.3-alt1 p9+249557.100.1.1 1586302007 installed <13>Aug 1 09:08:39 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>Aug 1 09:08:39 rpmi: libopus-1.3.1-alt3 p9+247689.300.3.1 1584537501 installed <13>Aug 1 09:08:39 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Aug 1 09:08:39 rpmi: libsndfile-1.0.30-alt2 p9+262916.200.2.1 1607353719 installed <13>Aug 1 09:08:39 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228299 installed <13>Aug 1 09:08:39 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237675 installed <13>Aug 1 09:08:39 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237923 installed <13>Aug 1 09:08:39 rpmi: libsystemd-1:246.14-alt1 p9+279856.100.1.1 1626804758 installed <13>Aug 1 09:08:39 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553687 installed <13>Aug 1 09:08:39 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Aug 1 09:08:39 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Aug 1 09:08:39 rpmi: libX11-locales-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Aug 1 09:08:39 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Aug 1 09:08:39 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Aug 1 09:08:39 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Aug 1 09:08:39 rpmi: libX11-3:1.7.2-alt1 p9+273972.100.2.1 1623924397 installed <13>Aug 1 09:08:39 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Aug 1 09:08:39 rpmi: libXt-1.1.4-alt1 1369984722 installed <13>Aug 1 09:08:39 rpmi: libXpm-3.5.12-alt1 sisyphus+223149.400.2.1 1551268289 installed <13>Aug 1 09:08:39 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Aug 1 09:08:39 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Aug 1 09:08:39 rpmi: libXrender-0.9.10-alt1 p9+261891.200.2.1 1606149111 installed <13>Aug 1 09:08:39 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Aug 1 09:08:41 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Aug 1 09:08:41 rpmi: libX11-devel-3:1.7.2-alt1 p9+273972.100.2.1 1623924397 installed <13>Aug 1 09:08:41 rpmi: libpulseaudio-14.2-alt5 p9+275574.200.4.1 1625043993 installed <13>Aug 1 09:08:41 rpmi: libwayland-client-1.18.0-alt1 p9+260591.100.12.1 1606212861 installed <13>Aug 1 09:08:41 rpmi: libpciaccess-1:0.14-alt1 1528969252 installed <13>Aug 1 09:08:41 rpmi: libdrm-1:2.4.105-alt2 p9+271012.100.1.1 1619786697 installed <13>Aug 1 09:08:41 rpmi: libGLX-mesa-4:21.0.3-alt1 p9+271012.200.3.1 1621244977 installed <13>Aug 1 09:08:41 rpmi: libGLX-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>Aug 1 09:08:41 rpmi: libGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>Aug 1 09:08:42 rpmi: libGLU-4:9.0.1-alt1 p9+251991.3000.19.1 1590835916 installed <13>Aug 1 09:08:42 rpmi: libgbm-4:21.0.3-alt1 p9+271012.200.3.1 1621244977 installed <13>Aug 1 09:08:42 rpmi: libEGL-mesa-4:21.0.3-alt1 p9+271012.200.3.1 1621244977 installed <13>Aug 1 09:08:42 rpmi: libEGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>Aug 1 09:08:42 rpmi: libglvnd-devel-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>Aug 1 09:08:42 rpmi: libGL-devel-4:21.0.3-alt1 p9+271012.200.3.1 1621244977 installed <13>Aug 1 09:08:42 rpmi: libGLU-devel-4:9.0.1-alt1 p9+251991.3000.19.1 1590835916 installed <13>Aug 1 09:08:42 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Aug 1 09:08:42 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Aug 1 09:08:43 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Aug 1 09:08:43 rpmi: alsa-ucm-conf-1.2.4-alt1 p9+250722.2300.14.1 1614269485 installed <13>Aug 1 09:08:43 rpmi: alsa-topology-conf-1.2.4-alt1 p9+250722.2200.14.1 1614269467 installed <13>Aug 1 09:08:43 rpmi: libalsa-1:1.2.4-alt1 p9+250722.2400.14.1 1614269556 installed <13>Aug 1 09:08:43 rpmi: libSDL-1.2.14-alt8 p9+232634.100.1.1 1560964518 installed <13>Aug 1 09:08:44 rpmi: libSDL-devel-1.2.14-alt8 p9+232634.100.1.1 1560964518 installed <13>Aug 1 09:08:44 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed <13>Aug 1 09:08:44 rpmi: libXpm-devel-3.5.12-alt1 sisyphus+223149.400.2.1 1551268289 installed <13>Aug 1 09:08:44 rpmi: libXt-devel-1.1.4-alt1 1369984722 installed Building target platforms: i586 Building for target i586 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: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.62346 + 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.62346 + 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/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/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:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gSystem->Error("Could not open texture", 0); ^ src/Graphfil.cpp:132:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gSystem->Error("Unknown graphic file format.", 0); ^ src/Graphfil.cpp:136:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gSystem->Error("The graphic file reading code is really broken.", 0); ^ src/Graphfil.cpp:141:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gSystem->Error("gApplication->system->Error reading texture", 0); ^ src/Graphfil.cpp: In function 'Graphic_file_format check_format(FILE*, char*)': src/Graphfil.cpp:159:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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/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/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:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gSystem->Error("could not allocate %x bytes", size); ^ src/Gifload.cpp: In function 'void* wtrealloc(void*, size_t)': src/Gifload.cpp:69:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gSystem->Error("could not reallocate %x bytes", size); ^ src/Gifload.cpp: In function 'void wtfree(void*)': src/Gifload.cpp:78:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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] char *id87 = "GIF87a"; ^~~~~~~~ src/Gifload.cpp:141:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *id89 = "GIF89a"; ^~~~~~~~ src/Gifload.cpp: In function 'Graphic_file* LoadGIF(FILE*, char*)': src/Gifload.cpp:168:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gSystem->Error("not enough memory to read gif file",0); ^ src/Gifload.cpp:172:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gSystem->Error("not enough memory to read gif file",0); ^ src/Gifload.cpp:176:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gSystem->Error("GIF data read failed",0); ^ src/Gifload.cpp:180:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gSystem->Error("not a GIF file",0); ^ src/Gifload.cpp:204:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gSystem->Error("corrupt GIF file (bad screen descriptor)",0); ^ src/Gifload.cpp:229:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gSystem->Error("corrupt GIF89a file",0); ^ src/Gifload.cpp:248:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gSystem->Error("invalid GIF89 extension",0); ^ src/Gifload.cpp:320:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gSystem->Error("corrupt GIF file (unblock)",0); ^ src/Gifload.cpp:376:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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/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:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gSystem = new CSystem("Amphetamine"); ^ src/Appl.cpp: In member function 'void CApplication::RunLevel()': src/Appl.cpp:247:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(fps, "%02d", saveFrameCount); ^~~~~~ ~~~~~~~~~~~~~~ src/Appl.cpp:250:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(fps, "%02d", frameCount); ^~~~~~ ~~~~~~~~~~ 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:25: warning: narrowing conversion of '((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::xs' from 'double' to 'short int' inside { } [-Wnarrowing] short params[5] = {-1, xs, ys, xe - xs, ye - ys}; ^~ src/Element.cpp:282:29: warning: narrowing conversion of '((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::ys' from 'double' to 'short int' inside { } [-Wnarrowing] short params[5] = {-1, xs, ys, xe - xs, ye - ys}; ^~ src/Element.cpp:282:36: warning: narrowing conversion of '(((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::xe - ((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::xs)' from 'double' to 'short int' inside { } [-Wnarrowing] short params[5] = {-1, xs, ys, xe - xs, ye - ys}; ~~~^~~~ src/Element.cpp:282:45: warning: narrowing conversion of '(((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::ye - ((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::ys)' from 'double' to 'short int' inside { } [-Wnarrowing] 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:344:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:345:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:349:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:350:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:351:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:352:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:353:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:354:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:355:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:356:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:360:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:362:3: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:363:3: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:364:3: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:365:3: note: in expansion of macro 'READDATA' 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/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:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!guis) gSystem->Error("Error while reading the file kFileGUIs", 0); ^ src/Gui.cpp:49:113: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!(healthPanel && oxygenPanel && weaponPanel && backgroundPanel)) gSystem->Error("Cannot allocate panels", 0); ^ src/Gui.cpp: In member function 'void CGUI::LoadMessages()': src/Gui.cpp:697:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpHealth", messages->msgHealth); ^ src/Gui.cpp:698:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpOxygen", messages->msgOxygen); ^ src/Gui.cpp:700:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpPhiol", messages->msgPhiol); ^ src/Gui.cpp:701:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpBM", messages->msgBM); ^ src/Gui.cpp:702:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpBow", messages->msgBow); ^ src/Gui.cpp:703:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpScie", messages->msgScie); ^ src/Gui.cpp:704:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpHands", messages->msgHands); ^ src/Gui.cpp:705:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpBombs", messages->msgBombs); ^ src/Gui.cpp:706:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpStaff", messages->msgStaff); ^ src/Gui.cpp:708:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpPhiolMun", messages->msgPhiolMun); ^ src/Gui.cpp:709:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpBMMun", messages->msgBMMun); ^ src/Gui.cpp:710:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpBowMun", messages->msgBowMun); ^ src/Gui.cpp:711:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpHandMun", messages->msgHandsMun); ^ src/Gui.cpp:712:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpBombMun", messages->msgBombsMun); ^ src/Gui.cpp:713:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpStaffMun", messages->msgStaffMun); ^ src/Gui.cpp: In function 'void LoadGUIParameters()': src/Gui.cpp:731:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kHealthPanelHeight = GetLongConstant(f, "kHealthPanelHeight"); ^ src/Gui.cpp:732:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kHealthPanelPosX = GetLongConstant(f, "kHealthPanelPosX"); ^ src/Gui.cpp:733:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kHealthPanelPosY = GetLongConstant(f, "kHealthPanelPosY"); ^ src/Gui.cpp:734:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kHealthPanelRefreshRate = GetLongConstant(f, "kHealthPanelRefreshRate"); ^ src/Gui.cpp:735:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kHealthPanelWidth = GetLongConstant(f, "kHealthPanelWidth"); ^ src/Gui.cpp:736:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kOxygenPanelHeight = GetLongConstant(f, "kOxygenPanelHeight"); ^ src/Gui.cpp:737:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kOxygenPanelPosX = GetLongConstant(f, "kOxygenPanelPosX"); ^ src/Gui.cpp:738:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kOxygenPanelPosY = GetLongConstant(f, "kOxygenPanelPosY"); ^ src/Gui.cpp:739:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kOxygenPanelRefreshRate = GetLongConstant(f, "kOxygenPanelRefreshRate"); ^ src/Gui.cpp:740:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kOxygenPanelWidth = GetLongConstant(f, "kOxygenPanelWidth"); ^ src/Gui.cpp:741:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kWeaponPanelHeight = GetLongConstant(f, "kWeaponPanelHeight"); ^ src/Gui.cpp:742:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kWeaponPanelPosX = GetLongConstant(f, "kWeaponPanelPosX"); ^ src/Gui.cpp:743:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kWeaponPanelPosY = GetLongConstant(f, "kWeaponPanelPosY"); ^ src/Gui.cpp:744:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kWeaponPanelWidth = GetLongConstant(f, "kWeaponPanelWidth"); ^ src/Gui.cpp:745:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kWeaponStatusWidth = GetLongConstant(f, "kWeaponStatusWidth"); ^ src/Gui.cpp:747:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kUserMenuEntryDY = GetLongConstant(f, "kUserMenuEntryDY"); ^ src/Gui.cpp:748:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kUserMenuEntryPosX = GetLongConstant(f, "kUserMenuEntryPosX"); ^ src/Gui.cpp:749:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kUserMenuEntryPosY = GetLongConstant(f, "kUserMenuEntryPosY"); ^ src/Gui.cpp:750:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kUserMenuHeight = GetLongConstant(f, "kUserMenuHeight"); ^ src/Gui.cpp:751:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kUserMenuPosX = GetLongConstant(f, "kUserMenuPosX"); ^ src/Gui.cpp:752:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kUserMenuPosY = GetLongConstant(f, "kUserMenuPosY"); ^ src/Gui.cpp:753:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kUserMenuWidth = GetLongConstant(f, "kUserMenuWidth"); ^ src/Gui.cpp:754:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kHelpMenuEntryDY = GetLongConstant(f, "kHelpMenuEntryDY"); ^ src/Gui.cpp:756:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kInfoTextLeft = GetLongConstant(f, "kInfoTextLeft"); ^ src/Gui.cpp:757:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kInfoTextTop = GetLongConstant(f, "kInfoTextTop"); ^ src/Gui.cpp:758:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kInfoTextTime = GetLongConstant(f, "kInfoTextTime"); ^ src/Gui.cpp:760:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kUserMainPageTitle", gGUIConst->kUserMainPageTitle); ^ src/Gui.cpp:761:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kUserMenuEntry1", gGUIConst->kUserMenuEntry1); ^ src/Gui.cpp:762:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kUserMenuEntry2", gGUIConst->kUserMenuEntry2); ^ src/Gui.cpp:763:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kUserMenuEntry3", gGUIConst->kUserMenuEntry3); ^ src/Gui.cpp:764:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kUserMenuEntry4", gGUIConst->kUserMenuEntry4); ^ src/Gui.cpp:765:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kUserMenuEntry5", gGUIConst->kUserMenuEntry5); ^ src/Gui.cpp:767:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kNewGamePageTitle", gGUIConst->kNewGamePageTitle); ^ src/Gui.cpp:768:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kNewGameEntry1", gGUIConst->kNewGameEntry1); ^ src/Gui.cpp:769:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kNewGameEntry2", gGUIConst->kNewGameEntry2); ^ src/Gui.cpp:770:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kNewGameEntry3", gGUIConst->kNewGameEntry3); ^ src/Gui.cpp:771:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kNewGameEntry4", gGUIConst->kNewGameEntry4); ^ src/Gui.cpp:773:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kNoSavedGame", gGUIConst->kNoSavedGame); ^ src/Gui.cpp:774:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kSavePageTitle", gGUIConst->kSavePageTitle); ^ src/Gui.cpp:775:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kLoadPageTitle", gGUIConst->kLoadPageTitle); ^ src/Gui.cpp:776:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kHelpPageTitle", gGUIConst->kHelpPageTitle); ^ src/Gui.cpp:778:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kSavedGame0", gGUIConst->kSavedGames[0]); ^ src/Gui.cpp:779:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kSavedGame1", gGUIConst->kSavedGames[1]); ^ src/Gui.cpp:780:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kSavedGame2", gGUIConst->kSavedGames[2]); ^ src/Gui.cpp:781:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kSavedGame3", gGUIConst->kSavedGames[3]); ^ src/Gui.cpp:782:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kSavedGame4", gGUIConst->kSavedGames[4]); ^ src/Gui.cpp:783:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kSavedGame5", gGUIConst->kSavedGames[5]); ^ src/Gui.cpp:785:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kKeyHitDelay = GetLongConstant(f, "kKeyHitDelay"); ^ src/Gui.cpp:787:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gGUIConst->kCreditsEntryDY = GetLongConstant(f, "kCreditsEntryDY"); ^ src/Gui.cpp:788:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kCreditsPageTitle", gGUIConst->kCreditsPageTitle); ^ src/Gui.cpp:789:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kCreditsEntry1", gGUIConst->kCreditsEntry1); ^ src/Gui.cpp:790:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kCreditsEntry2", gGUIConst->kCreditsEntry2); ^ src/Gui.cpp:791:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kCreditsEntry3", gGUIConst->kCreditsEntry3); ^ src/Gui.cpp:792:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kCreditsEntry4", gGUIConst->kCreditsEntry4); ^ src/Gui.cpp:793:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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/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/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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:271:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:272:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:273:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:277:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:278:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:304:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:305:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:306:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:310:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:311:2: note: in expansion of macro 'READDATA' 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/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:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kVelocityUnit = GetDoubleConstant(paramFile, "kVelocityUnit"); ^ src/ConstVal.cpp:27:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kPlayerAcceleration = GetDoubleConstant(paramFile, "kPlayerAcceleration"); ^ src/ConstVal.cpp:28:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kPlayerLiquidAccel = GetDoubleConstant(paramFile, "kPlayerLiquidAccel"); ^ src/ConstVal.cpp:29:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kRunScaleFactor = GetDoubleConstant(paramFile, "kRunScaleFactor"); ^ src/ConstVal.cpp:30:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kJumpVelocity = GetDoubleConstant(paramFile, "kJumpVelocity"); ^ src/ConstVal.cpp:31:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kJumpAccelerationTime = GetLongConstant(paramFile, "kJumpAccelerationTime"); ^ src/ConstVal.cpp:32:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kTeleportTime = GetLongConstant(paramFile, "kTeleportTime"); ^ src/ConstVal.cpp:33:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kPlayerWidth = GetLongConstant(paramFile, "kPlayerWidth"); ^ src/ConstVal.cpp:34:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kBulletWidth = GetLongConstant(paramFile, "kBulletWidth"); ^ src/ConstVal.cpp:35:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kFirehandNumOfBullets = GetLongConstant(paramFile, "kFirehandNumOfBullets"); ^ src/ConstVal.cpp:36:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kFirehandAngle = (double)GetLongConstant(paramFile, "kFirehandAngle") * 3.141 / 180; ^ src/ConstVal.cpp:37:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kStaffLoadTime = GetLongConstant(paramFile, "kStaffLoadTime"); ^ src/ConstVal.cpp:38:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kInitialOxygen = GetLongConstant(paramFile, "kInitialOxygen"); ^ src/ConstVal.cpp:39:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kOxygenDecrease = GetDoubleConstant(paramFile, "kOxygenDecrease"); ^ src/ConstVal.cpp:40:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kLavaDamage = GetLongConstant(paramFile, "kLavaDamage"); ^ src/ConstVal.cpp:41:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kPlayersFirstWeaponShape = GetLongConstant(paramFile, "kPlayersFirstWeaponShape"); ^ src/ConstVal.cpp:42:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kPickupTime = GetLongConstant(paramFile, "kPickupTime"); ^ src/ConstVal.cpp:44:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kBulletTailLength = GetLongConstant(paramFile, "kBulletTailLength"); ^ src/ConstVal.cpp:45:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kBulletTailDistance = GetLongConstant(paramFile, "kBulletTailDistance"); ^ src/ConstVal.cpp:46:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kDetonationFrameTime = GetDoubleConstant(paramFile, "kDetonationFrameTime"); ^ src/ConstVal.cpp:47:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kWalkFrameTime = GetLongConstant(paramFile, "kWalkFrameTime"); ^ src/ConstVal.cpp:48:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kShootFrameTime = GetLongConstant(paramFile, "kShootFrameTime"); ^ src/ConstVal.cpp:49:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kWeaponChangeTime = GetLongConstant(paramFile, "kWeaponChangeTime"); ^ src/ConstVal.cpp:50:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kActionDelayTime = GetLongConstant(paramFile, "kActionDelayTime"); ^ src/ConstVal.cpp:51:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kDieFrameTime = GetLongConstant(paramFile, "kDieFrameTime"); ^ src/ConstVal.cpp:52:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kDriftSpeed = GetLongConstant(paramFile, "kDriftSpeed"); ^ src/ConstVal.cpp:53:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kWeaponCarryHeight = GetLongConstant(paramFile, "kWeaponCarryHeight"); ^ src/ConstVal.cpp:55:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kTeleportBlinkTime = GetLongConstant(paramFile, "kTeleportBlinkTime"); ^ src/ConstVal.cpp:56:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kSavePortBlinkTime = GetLongConstant(paramFile, "kSavePortBlinkTime"); ^ src/ConstVal.cpp:57:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kExitPortBlinkTime = GetLongConstant(paramFile, "kExitPortBlinkTime"); ^ src/ConstVal.cpp:59:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kGravitation = GetDoubleConstant(paramFile, "kGravitation"); ^ src/ConstVal.cpp:60:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kNormalFriction = GetDoubleConstant(paramFile, "kNormalFriction"); ^ src/ConstVal.cpp:61:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kLiquidFriction = GetDoubleConstant(paramFile, "kLiquidFriction"); ^ src/ConstVal.cpp:62:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kMaxFallingSpeed = GetDoubleConstant(paramFile, "kMaxFallingSpeed"); ^ src/ConstVal.cpp:64:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kJumperJumpAcceleration = GetDoubleConstant(paramFile, "kJumperJumpAcceleration"); ^ src/ConstVal.cpp:66:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kNumOfBounces = GetLongConstant(paramFile, "kNumOfBounces"); ^ src/ConstVal.cpp:67:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kSineWeaponRad = GetLongConstant(paramFile, "kSineWeaponRad"); ^ src/ConstVal.cpp:68:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kMaxTurnAngle = (double)GetLongConstant(paramFile, "kMaxTurnAngle") * 3.141 / 180.0; ^ src/ConstVal.cpp:69:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kWargFastSpeedup = (double)GetLongConstant(paramFile, "kWargFastSpeedup"); ^ src/ConstVal.cpp:70:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kWargNearWeaponRadix = GetLongConstant(paramFile, "kWargNearWeaponRadix"); ^ src/ConstVal.cpp:71:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kWargJumpAcceleration = GetDoubleConstant(paramFile, "kWargJumpAcceleration"); ^ src/ConstVal.cpp:72:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kDelayAfterWargDeath = GetLongConstant(paramFile, "kDelayAfterWargDeath"); ^ src/ConstVal.cpp:74:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kActivateDistance = GetLongConstant(paramFile, "kActivateDistance"); ^ src/ConstVal.cpp:75:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kTreatDistance = GetLongConstant(paramFile, "kTreatDistance"); ^ src/ConstVal.cpp:76:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kBrightnessLevels[0] = GetLongConstant(paramFile, "kLight"); ^ src/ConstVal.cpp:77:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kBrightnessLevels[1] = GetLongConstant(paramFile, "kMedium"); ^ src/ConstVal.cpp:78:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kBrightnessLevels[2] = GetLongConstant(paramFile, "kDark"); ^ src/ConstVal.cpp:79:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kBrightnessLevels[3] = GetLongConstant(paramFile, "kVeryDark"); ^ src/ConstVal.cpp:81:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kWeaponSF[0] = GetDoubleConstant(paramFile, "kWeaponSF1"); ^ src/ConstVal.cpp:82:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kWeaponSF[1] = GetDoubleConstant(paramFile, "kWeaponSF2"); ^ src/ConstVal.cpp:83:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kWeaponSF[2] = GetDoubleConstant(paramFile, "kWeaponSF3"); ^ src/ConstVal.cpp:84:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kWeaponSF[3] = GetDoubleConstant(paramFile, "kWeaponSF4"); ^ src/ConstVal.cpp:85:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kHealthSF[0] = GetDoubleConstant(paramFile, "kHealthSF1"); ^ src/ConstVal.cpp:86:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kHealthSF[1] = GetDoubleConstant(paramFile, "kHealthSF2"); ^ src/ConstVal.cpp:87:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kHealthSF[2] = GetDoubleConstant(paramFile, "kHealthSF3"); ^ src/ConstVal.cpp:88:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kHealthSF[3] = GetDoubleConstant(paramFile, "kHealthSF4"); ^ src/ConstVal.cpp:89:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kSpeedSF[0] = GetDoubleConstant(paramFile, "kSpeedSF1"); ^ src/ConstVal.cpp:90:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kSpeedSF[1] = GetDoubleConstant(paramFile, "kSpeedSF2"); ^ src/ConstVal.cpp:91:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kSpeedSF[2] = GetDoubleConstant(paramFile, "kSpeedSF3"); ^ src/ConstVal.cpp:92:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kSpeedSF[3] = GetDoubleConstant(paramFile, "kSpeedSF4"); ^ src/ConstVal.cpp:94:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kFlickeringPeriod = GetLongConstant(paramFile, "kFlickeringPeriod"); ^ src/ConstVal.cpp:95:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kLightningRadiant = GetLongConstant(paramFile, "kLightningRadiant"); ^ src/ConstVal.cpp:96:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kBkgndScrollFactor = GetDoubleConstant(paramFile, "kBkgndScrollFactor"); ^ src/ConstVal.cpp:97:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kCoronaFadeSpeed = GetDoubleConstant(paramFile, "kCoronaFadeSpeed"); ^ src/ConstVal.cpp:99:98: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kBlessureInvulnerabilityTime = GetLongConstant(paramFile, "kBlessureInvulnerabilityTime"); ^ src/ConstVal.cpp:100:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kMonsterTouchBlessure = GetLongConstant(paramFile, "kMonsterTouchBlessure"); ^ src/ConstVal.cpp:101:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kItemExplosionRad = GetLongConstant(paramFile, "kItemExplosionRad"); ^ src/ConstVal.cpp:102:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kItemExplosionStartShape = GetLongConstant(paramFile, "kItemExplosionStartShape"); ^ src/ConstVal.cpp:104:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kHealthPanelColor = GetLongConstant(paramFile, "kHealthPanelColor"); ^ src/ConstVal.cpp:105:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kOxygenPanelColor = GetLongConstant(paramFile, "kOxygenPanelColor"); ^ src/ConstVal.cpp:106:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kShadowmodeDarkening = GetLongConstant(paramFile, "kShadowmodeDarkening"); ^ src/ConstVal.cpp:107:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kFadeTime = GetLongConstant(paramFile, "kFadeTime"); ^ src/ConstVal.cpp:108:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kStartupTime = GetLongConstant(paramFile, "kStartupTime"); ^ src/ConstVal.cpp:110:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kTextYDistance = GetLongConstant(paramFile, "kTextYDistance"); ^ src/ConstVal.cpp:111:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kCameraSpeed = GetLongConstant(paramFile, "kCameraSpeed"); ^ src/ConstVal.cpp:113:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kSoundMaxDistance = GetLongConstant(paramFile, "kSoundMaxDistance"); ^ src/ConstVal.cpp:114:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kSoundMinDistance = GetLongConstant(paramFile, "kSoundMinDistance"); ^ src/ConstVal.cpp:116:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFilePalette", gConst->kFilePalette); ^ src/ConstVal.cpp:117:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileLevel", gConst->kFileLevel); ^ src/ConstVal.cpp:118:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileMonster", gConst->kFileMonster); ^ src/ConstVal.cpp:119:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileWeapon", gConst->kFileWeapon); ^ src/ConstVal.cpp:120:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileInfo", gConst->kFileInfo); ^ src/ConstVal.cpp:121:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFilePlatform", gConst->kFilePlatform); ^ src/ConstVal.cpp:122:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileObjects", gConst->kFileObjects); ^ src/ConstVal.cpp:123:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileShapes", gConst->kFileShapes); ^ src/ConstVal.cpp:124:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileBackground1", gConst->kFileBackground1); ^ src/ConstVal.cpp:125:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileBackground2", gConst->kFileBackground2); ^ src/ConstVal.cpp:126:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileCluts", gConst->kFileCluts); ^ src/ConstVal.cpp:127:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileGUIs", gConst->kFileGUIs); ^ src/ConstVal.cpp:128:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileConfig", gConst->kFileConfig); ^ src/ConstVal.cpp:129:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileStartup", gConst->kFileStartup); ^ src/ConstVal.cpp:132:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName1", gConst->kMonsterNames[0]); ^ src/ConstVal.cpp:133:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName2", gConst->kMonsterNames[1]); ^ src/ConstVal.cpp:134:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName3", gConst->kMonsterNames[2]); ^ src/ConstVal.cpp:135:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName4", gConst->kMonsterNames[3]); ^ src/ConstVal.cpp:136:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName5", gConst->kMonsterNames[4]); ^ src/ConstVal.cpp:137:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName6", gConst->kMonsterNames[5]); ^ src/ConstVal.cpp:138:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName7", gConst->kMonsterNames[6]); ^ src/ConstVal.cpp:139:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName8", gConst->kMonsterNames[7]); ^ src/ConstVal.cpp:140:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName9", gConst->kMonsterNames[8]); ^ src/ConstVal.cpp:141:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName10", gConst->kMonsterNames[9]); ^ src/ConstVal.cpp:142:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName11", gConst->kMonsterNames[10]); ^ src/ConstVal.cpp:144:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kMonsterNameSpeed = GetLongConstant(paramFile, "kMonsterNameSpeed"); ^ src/ConstVal.cpp:145:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kMonsterNameX = GetLongConstant(paramFile, "kMonsterNameX"); ^ src/ConstVal.cpp:148:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConst->kShowFPS = GetLongConstant(paramFile, "kShowFPS"); ^ src/ConstVal.cpp:164:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->leftKey = GetLongConstant(paramFile, "LeftKey"); ^ src/ConstVal.cpp:165:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "LeftKeyText", gConfigData->leftKeyText); ^ src/ConstVal.cpp:166:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->rightKey = GetLongConstant(paramFile, "RightKey"); ^ src/ConstVal.cpp:167:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "RightKeyText", gConfigData->rightKeyText); ^ src/ConstVal.cpp:168:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->jumpKey = GetLongConstant(paramFile, "JumpKey"); ^ src/ConstVal.cpp:169:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "JumpKeyText", gConfigData->jumpKeyText); ^ src/ConstVal.cpp:170:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->runKey = GetLongConstant(paramFile, "RunKey"); ^ src/ConstVal.cpp:171:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "RunKeyText", gConfigData->runKeyText); ^ src/ConstVal.cpp:172:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->shootKey = GetLongConstant(paramFile, "ShootKey"); ^ src/ConstVal.cpp:173:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "ShootKeyText", gConfigData->shootKeyText); ^ src/ConstVal.cpp:174:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->nextWeaponKey = GetLongConstant(paramFile, "NextWeaponKey"); ^ src/ConstVal.cpp:175:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "NextWeaponKeyText", gConfigData->nextWeaponKeyText); ^ src/ConstVal.cpp:176:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->prevWeaponKey = GetLongConstant(paramFile, "PrevWeaponKey"); ^ src/ConstVal.cpp:177:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "PrevWeaponKeyText", gConfigData->prevWeaponKeyText); ^ src/ConstVal.cpp:178:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->activateKey = GetLongConstant(paramFile, "ActivateKey"); ^ src/ConstVal.cpp:179:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "ActivateKeyText", gConfigData->activateKeyText); ^ src/ConstVal.cpp:181:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->weapon1Key = GetLongConstant(paramFile, "Weapon1Key"); ^ src/ConstVal.cpp:182:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->weapon2Key = GetLongConstant(paramFile, "Weapon2Key"); ^ src/ConstVal.cpp:183:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->weapon3Key = GetLongConstant(paramFile, "Weapon3Key"); ^ src/ConstVal.cpp:184:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->weapon4Key = GetLongConstant(paramFile, "Weapon4Key"); ^ src/ConstVal.cpp:185:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->weapon5Key = GetLongConstant(paramFile, "Weapon5Key"); ^ src/ConstVal.cpp:186:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->weapon6Key = GetLongConstant(paramFile, "Weapon6Key"); ^ src/ConstVal.cpp:187:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->weapon7Key = GetLongConstant(paramFile, "Weapon7Key"); ^ src/ConstVal.cpp:188:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->weapon8Key = GetLongConstant(paramFile, "Weapon8Key"); ^ src/ConstVal.cpp:190:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->soundVolume = GetLongConstant(paramFile, "SoundVolume"); ^ src/ConstVal.cpp:192:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->screenWidth = GetLongConstant(paramFile, "ScreenWidth"); ^ src/ConstVal.cpp:193:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->screenHeight = GetLongConstant(paramFile, "ScreenHeight"); ^ src/ConstVal.cpp:195:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->disableCoronas = GetLongConstant(paramFile, "DisableCoronas"); ^ src/ConstVal.cpp:196:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConfigData->disableLightning = GetLongConstant(paramFile, "DisableLightning"); ^ src/ConstVal.cpp:197:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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/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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:494:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:495:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:496:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:507:4: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:508:4: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:512:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:513:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:514:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:515:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:516:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:517:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:518:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:543:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:544:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:545:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:549:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:573:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:574:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:575:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:579:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:605:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:606:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:607:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:611:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:612:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:613:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:640:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:641:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:642:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:646:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:647:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:648:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:649:2: note: in expansion of macro 'READDATA' 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/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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:349:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:350:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:351:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:359:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:360:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:361:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:362:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:363:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:364:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:365:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:366:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:367:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:368:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:369:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:370:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:371:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:372:2: note: in expansion of macro 'READDATA' 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/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:135: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gSystem->Error("Cannot open the saving file", 0); ^ src/Level.cpp: In member function 'short int CLevel::ReadLevel(char*)': src/Level.cpp:299:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] if (f) fread(&versionNumber, sizeof(versionNumber), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:274:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] if (f) fread(&key, sizeof(key), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:279:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&time, sizeof(time), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp: In member function 'short int CLevel::ReadLevel(char*)': src/Level.cpp:302:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&versionNumber, sizeof(versionNumber), 1, f); if (versionNumber != kVersionNumber) return 0; ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:303:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&key, sizeof(key), 1, f); if (key != kVersionKey) return 0; ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:304:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&theTime, sizeof(theTime), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:305:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&ticks, sizeof(ticks), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:306:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&gApplication->difficulty, sizeof(gApplication->difficulty), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:307:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&fileSize, sizeof(fileSize), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:308:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&gApplication->levelNumber, sizeof(gApplication->levelNumber), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:315:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&size, sizeof(size), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:316:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&typeID, sizeof(typeID), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:333:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&size, sizeof(size), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:334:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&typeID, sizeof(typeID), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:335:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] 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/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:56: warning: format not a string literal and no format arguments [-Wformat-security] if (!fClut) MSG("!!! File not found: "); MSG(gConst->kFileCluts); MSG("\n"); ~~~~~~~~^~~~~~~~~~ src/AmpHead.hpp:186:52: note: in definition of macro 'MSG' #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/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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:447:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:448:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:449:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:453:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:454:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:455:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:483:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:484:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:485:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:489:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:490:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:491:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:492:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:520:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:521:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:522:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:526:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:527:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:528:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:529:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:530:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:561:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:562:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:563:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:571:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:572:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:573:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:574:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:575:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:314:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:315:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:317:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:318:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:319:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:320:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:321:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:322:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:323:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:324:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:325:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:326:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:327:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:328:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:329:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:330:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:331:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:259:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:260:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:261:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:265:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:266:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:267:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:268:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:269:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:270:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:271:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:272:2: note: in expansion of macro 'READDATA' READDATA(delayTime); ^~~~~~~~ src/Pltform.cpp:276:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] 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/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:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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/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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:148:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:149:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:150:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:154:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:155:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:156:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:157:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:158:2: note: in expansion of macro 'READDATA' 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/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/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:138: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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:137: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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:136: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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:140: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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:50: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] TRANS_PUT_NUM(monsterInfo[n]->additionalData[m]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ src/File.hpp:25:35: note: in definition of macro 'SWAP_PUT_SHORT' #define SWAP_PUT_SHORT(x) ((x) = (x << 8) | (((unsigned short)x) >> 8)) ^ src/ObjInfo.cpp:55:4: note: in expansion of macro 'TRANS_PUT_NUM' TRANS_PUT_NUM(monsterInfo[n]->additionalData[m]); ^~~~~~~~~~~~~ src/ObjInfo.cpp:53:23: note: within this loop 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/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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:510:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:511:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:512:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:520:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:521:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:522:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:523:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:524:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:525:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:526:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:528:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:529:2: note: in expansion of macro 'READDATA' 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/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/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/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/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:59: warning: format not a string literal and no format arguments [-Wformat-security] #define MSG(message) if (logFile) fprintf(logFile, message); fflush(logFile) ^ src/System.cpp:182:8: note: in expansion of macro 'MSG' MSG(SDL_GetError()); ^~~ src/System.cpp: In member function 'tGraphicBuffer* CSystem::AllocateBuffer(short int, short int)': src/System.cpp:303:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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:59: warning: format not a string literal and no format arguments [-Wformat-security] #define MSG(message) if (logFile) fprintf(logFile, message); fflush(logFile) ^ src/System.cpp:485:2: note: in expansion of macro 'MSG' 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++ -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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:370:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:372:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:373:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:374:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:375:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:376:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:400:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:404:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:405:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:406:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:429:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:433:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:460:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:464:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:465:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:466:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:467:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:468:2: note: in expansion of macro 'READDATA' 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++ -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.79815 + 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: 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) verify-elf: WARNING: ./usr/games/amph: uses non-LFS functions: fopen Hardlinking identical .pyc and .pyo files Processing files: amphetamine-0.8.10-alt6 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.99581 + 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.Ko8jK3 find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.60sFId find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib/ld-linux.so.2, libSDL-1.2.so.0 >= set:lgUOpc4s8Fi13rlU7AiovOTHe3hdeDLXZfTqwOl7qxrTUcOahoMPYtZ4cnYoX1nlku2, libXpm.so.4 >= set:kjuEi, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), 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.jJTFkR 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.LT0gHV find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.pb1LWg find-requires: running scripts (debuginfo) Requires: amphetamine = 0.8.10-alt6, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libSDL-1.2.so.0), debug(libXpm.so.4), debug(libc.so.6), debug(libgcc_s.so.1), debug(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/i586/amphetamine-0.8.10-alt6.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/amphetamine-debuginfo-0.8.10-alt6.i586.rpm (w2.lzdio) 24.34user 3.25system 0:14.27elapsed 193%CPU (0avgtext+0avgdata 41884maxresident)k 0inputs+0outputs (0major+455720minor)pagefaults 0swaps 35.43user 9.38system 0:30.60elapsed 146%CPU (0avgtext+0avgdata 118200maxresident)k 0inputs+0outputs (0major+766948minor)pagefaults 0swaps --- amphetamine-0.8.10-alt6.i586.rpm.repo 2017-07-26 10:44:03.000000000 +0000 +++ amphetamine-0.8.10-alt6.i586.rpm.hasher 2021-08-01 09:09:02.902365041 +0000 @@ -90,3 +90,3 @@ Provides: amphetamine = 0.8.10-alt6 -File: /usr/games/amph 100755 root:root 6e318687ab7e06e2f31277c7c653b18e +File: /usr/games/amph 100755 root:root ae4da53219d444cbc45a3394acacfd74 File: /usr/share/applications/amphetamine.desktop 100755 root:root 1dc5da9d2bcd9ef5b436d6cff6824152 @@ -163,2 +163,2 @@ File: /usr/share/icons/hicolor/48x48/apps/amphetamine.png 100755 root:root abd1238820835f8cc4ec5f6494de9341 -RPMIdentity: 1533058a04f11e793fe9e072028ba06cda8d71b94ece34f5fa6deff6652c7a5df2f30e460b822fa8780c6bdcd37ee0747eaac0f7359f198f244dee803803a418 +RPMIdentity: faa8adb9ce4597b6ae4f17a59fabb773562688f3119f9a7b9aba40b10954a8012adfd30679005332a9e98010206260402fa9e7d6aee2d43800e94aa351554489 error: open of /archive/repo/p9/task/_274/281308/files/i586/RPMS/amphetamine-debuginfo-0.8.10-alt6.i586.rpm failed: No such file or directory