<86>Mar 29 08:59:37 userdel[2528937]: delete user 'rooter' <86>Mar 29 08:59:37 userdel[2528937]: removed group 'rooter' owned by 'rooter' <86>Mar 29 08:59:37 userdel[2528937]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 29 08:59:37 groupadd[2528947]: group added to /etc/group: name=rooter, GID=648 <86>Mar 29 08:59:37 groupadd[2528947]: group added to /etc/gshadow: name=rooter <86>Mar 29 08:59:37 groupadd[2528947]: new group: name=rooter, GID=648 <86>Mar 29 08:59:37 useradd[2528967]: new user: name=rooter, UID=648, GID=648, home=/root, shell=/bin/bash <86>Mar 29 08:59:37 userdel[2528986]: delete user 'builder' <86>Mar 29 08:59:37 userdel[2528986]: removed group 'builder' owned by 'builder' <86>Mar 29 08:59:37 userdel[2528986]: removed shadow group 'builder' owned by 'builder' <86>Mar 29 08:59:37 groupadd[2528997]: group added to /etc/group: name=builder, GID=649 <86>Mar 29 08:59:37 groupadd[2528997]: group added to /etc/gshadow: name=builder <86>Mar 29 08:59:37 groupadd[2528997]: new group: name=builder, GID=649 <86>Mar 29 08:59:37 useradd[2529007]: new user: name=builder, UID=649, GID=649, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/amphetamine-0.8.10-alt6.src.rpm: The use of such a license name is ambiguous: GPL warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root <13>Mar 29 08:59:42 rpmi: xorg-proto-devel-2020.1-alt1 sisyphus+250406.100.1.1 1587554810 installed <13>Mar 29 08:59:42 rpmi: libglvnd-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Mar 29 08:59:42 rpmi: libogg-1.3.4-alt1 sisyphus+247109.100.1.1 1582849994 installed <13>Mar 29 08:59:42 rpmi: libICE-1.0.10-alt1 sisyphus+247690.100.1.1 1584000387 installed <13>Mar 29 08:59:42 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Mar 29 08:59:42 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Mar 29 08:59:42 rpmi: libwayland-server-1.19.0-alt1 sisyphus+265427.100.1.1 1611852858 installed <13>Mar 29 08:59:42 rpmi: libICE-devel-1.0.10-alt1 sisyphus+247690.100.1.1 1584000387 installed <13>Mar 29 08:59:42 rpmi: libSM-devel-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Mar 29 08:59:42 rpmi: libflac8-1.3.3.0.62.ce6d-alt1 sisyphus+262142.100.1.1 1605801639 installed <13>Mar 29 08:59:42 rpmi: libvorbis-1.3.7-alt1 sisyphus+256535.100.1.1 1597965510 installed <13>Mar 29 08:59:42 rpmi: libGLES-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Mar 29 08:59:42 rpmi: libOpenGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Mar 29 08:59:42 rpmi: libopus-1.3.1-alt3 sisyphus+248017.100.1.1 1584520433 installed <13>Mar 29 08:59:42 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Mar 29 08:59:42 rpmi: libsndfile-1.0.30-alt2 sisyphus+263035.100.1.1 1607353107 installed <13>Mar 29 08:59:42 rpmi: liblz4-1:1.9.3-alt1 sisyphus+262305.100.1.1 1606099167 installed <13>Mar 29 08:59:42 rpmi: libgpg-error-1.41-alt4 sisyphus+264254.200.1.1 1609440111 installed <13>Mar 29 08:59:42 rpmi: libgcrypt20-1.9.2-alt1 sisyphus+266496.100.1.1 1613559234 installed <13>Mar 29 08:59:42 rpmi: libsystemd-1:247.3-alt2 sisyphus+266129.100.1.3 1613012672 installed <13>Mar 29 08:59:42 rpmi: libdbus-1.12.18-alt1 sisyphus+252758.100.1.1 1591203693 installed <13>Mar 29 08:59:42 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Mar 29 08:59:42 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Mar 29 08:59:42 rpmi: libX11-locales-3:1.7.0-alt1 sisyphus+264667.100.1.2 1610655150 installed <13>Mar 29 08:59:42 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Mar 29 08:59:42 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Mar 29 08:59:42 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Mar 29 08:59:42 rpmi: libX11-3:1.7.0-alt1 sisyphus+264667.100.1.2 1610655170 installed <13>Mar 29 08:59:42 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Mar 29 08:59:42 rpmi: libXt-1.2.1-alt1 sisyphus+265202.200.1.1 1611565459 installed <13>Mar 29 08:59:42 rpmi: libXpm-3.5.13-alt1 sisyphus+247690.300.1.1 1584000526 installed <13>Mar 29 08:59:42 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Mar 29 08:59:42 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Mar 29 08:59:42 rpmi: libXrender-0.9.10-alt1 sisyphus+261890.100.1.1 1605595177 installed <13>Mar 29 08:59:42 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Mar 29 08:59:45 rpmi: libxcb-devel-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Mar 29 08:59:45 rpmi: libX11-devel-3:1.7.0-alt1 sisyphus+264667.100.1.2 1610655170 installed <13>Mar 29 08:59:45 rpmi: libpulseaudio-14.2-alt2 sisyphus+267986.100.1.1 1616059364 installed <13>Mar 29 08:59:45 rpmi: libwayland-client-1.19.0-alt1 sisyphus+265427.100.1.1 1611852858 installed <13>Mar 29 08:59:45 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438291 installed <13>Mar 29 08:59:45 rpmi: libdrm-1:2.4.104-alt1 sisyphus+264662.100.1.1 1610612753 installed <13>Mar 29 08:59:45 rpmi: libGLX-mesa-4:21.0.1-alt1 sisyphus+268341.100.1.1 1616653972 installed <13>Mar 29 08:59:45 rpmi: libGLX-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Mar 29 08:59:45 rpmi: libGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Mar 29 08:59:45 rpmi: libGLU-4:9.0.1-alt1 sisyphus+248864.100.1.1 1585556461 installed <13>Mar 29 08:59:45 rpmi: libgbm-4:21.0.1-alt1 sisyphus+268341.100.1.1 1616653972 installed <13>Mar 29 08:59:45 rpmi: libEGL-mesa-4:21.0.1-alt1 sisyphus+268341.100.1.1 1616653972 installed <13>Mar 29 08:59:45 rpmi: libEGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Mar 29 08:59:45 rpmi: libglvnd-devel-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Mar 29 08:59:45 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+248864.100.1.1 1585556461 installed <13>Mar 29 08:59:45 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+262033.600.7.2 1607340230 installed <13>Mar 29 08:59:46 rpmi: libstdc++10-devel-10.2.1-alt3 sisyphus+267829.100.1.1 1615808579 installed <13>Mar 29 08:59:47 rpmi: gcc10-c++-10.2.1-alt3 sisyphus+267829.100.1.1 1615808579 installed <13>Mar 29 08:59:47 rpmi: alsa-ucm-conf-1.2.4-alt1 sisyphus+260180.200.1.1 1603282405 installed <13>Mar 29 08:59:47 rpmi: alsa-topology-conf-1.2.4-alt1 sisyphus+260180.100.1.1 1603282384 installed <13>Mar 29 08:59:47 rpmi: libalsa-1:1.2.4-alt1 sisyphus+260180.300.1.1 1603282509 installed <13>Mar 29 08:59:47 rpmi: libSDL-1.2.14-alt9 sisyphus+261262.100.1.1 1604829363 installed <13>Mar 29 08:59:47 rpmi: libSDL-devel-1.2.14-alt9 sisyphus+261262.100.1.1 1604829363 installed <13>Mar 29 08:59:47 rpmi: gcc-c++-10-alt1 sisyphus+263054.200.3.1 1607516810 installed <13>Mar 29 08:59:47 rpmi: libXpm-devel-3.5.13-alt1 sisyphus+247690.300.1.1 1584000526 installed <13>Mar 29 08:59:47 rpmi: libXt-devel-1.2.1-alt1 sisyphus+265202.200.1.1 1611565459 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.20495 + 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.20495 + 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/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:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 57 | gSystem->Error("could not allocate %x bytes", size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Gifload.cpp: In function 'void* wtrealloc(void*, size_t)': src/Gifload.cpp:69:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | gSystem->Error("could not reallocate %x bytes", size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Gifload.cpp: In function 'void wtfree(void*)': src/Gifload.cpp:78:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | gSystem->Error("wtfree(NULL)", 0); | ^~~~~~~~~~~~~~ src/Gifload.cpp: At global scope: src/Gifload.cpp:140:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 140 | char *id87 = "GIF87a"; | ^~~~~~~~ src/Gifload.cpp:141:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 141 | char *id89 = "GIF89a"; | ^~~~~~~~ src/Gifload.cpp: In function 'Graphic_file* LoadGIF(FILE*, char*)': src/Gifload.cpp:168:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 168 | gSystem->Error("not enough memory to read gif file",0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Gifload.cpp:172:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 172 | gSystem->Error("not enough memory to read gif file",0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Gifload.cpp:176:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 176 | gSystem->Error("GIF data read failed",0); | ^~~~~~~~~~~~~~~~~~~~~~ src/Gifload.cpp:180:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 180 | gSystem->Error("not a GIF file",0); | ^~~~~~~~~~~~~~~~ src/Gifload.cpp:204:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 204 | gSystem->Error("corrupt GIF file (bad screen descriptor)",0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Gifload.cpp:229:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 229 | gSystem->Error("corrupt GIF89a file",0); | ^~~~~~~~~~~~~~~~~~~~~ src/Gifload.cpp:248:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 248 | gSystem->Error("invalid GIF89 extension",0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/Gifload.cpp:320:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 320 | gSystem->Error("corrupt GIF file (unblock)",0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Gifload.cpp:376:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 376 | gSystem->Error("Corrupt GIF file (OutCount)!", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/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:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 119 | gSystem->Error("Could not open texture", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/Graphfil.cpp:132:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 132 | gSystem->Error("Unknown graphic file format.", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Graphfil.cpp:136:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 136 | gSystem->Error("The graphic file reading code is really broken.", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Graphfil.cpp:141:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 141 | gSystem->Error("gApplication->system->Error reading texture", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Graphfil.cpp: In function 'Graphic_file_format check_format(FILE*, char*)': src/Graphfil.cpp:159:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 159 | gSystem->Error("gApplication->system->Error reading texture", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/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/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:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 42 | if (!guis) gSystem->Error("Error while reading the file kFileGUIs", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:49:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 49 | if (!(healthPanel && oxygenPanel && weaponPanel && backgroundPanel)) gSystem->Error("Cannot allocate panels", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/Gui.cpp: In member function 'void CGUI::LoadMessages()': src/Gui.cpp:697:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 697 | GetStringConstant(f, "msgPickedUpHealth", messages->msgHealth); | ^~~~~~~~~~~~~~~~~~~ src/Gui.cpp:698:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 698 | GetStringConstant(f, "msgPickedUpOxygen", messages->msgOxygen); | ^~~~~~~~~~~~~~~~~~~ src/Gui.cpp:700:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 700 | GetStringConstant(f, "msgPickedUpPhiol", messages->msgPhiol); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:701:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 701 | GetStringConstant(f, "msgPickedUpBM", messages->msgBM); | ^~~~~~~~~~~~~~~ src/Gui.cpp:702:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 702 | GetStringConstant(f, "msgPickedUpBow", messages->msgBow); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:703:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 703 | GetStringConstant(f, "msgPickedUpScie", messages->msgScie); | ^~~~~~~~~~~~~~~~~ src/Gui.cpp:704:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 704 | GetStringConstant(f, "msgPickedUpHands", messages->msgHands); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:705:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 705 | GetStringConstant(f, "msgPickedUpBombs", messages->msgBombs); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:706:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 706 | GetStringConstant(f, "msgPickedUpStaff", messages->msgStaff); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:708:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 708 | GetStringConstant(f, "msgPickedUpPhiolMun", messages->msgPhiolMun); | ^~~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:709:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 709 | GetStringConstant(f, "msgPickedUpBMMun", messages->msgBMMun); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:710:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 710 | GetStringConstant(f, "msgPickedUpBowMun", messages->msgBowMun); | ^~~~~~~~~~~~~~~~~~~ src/Gui.cpp:711:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 711 | GetStringConstant(f, "msgPickedUpHandMun", messages->msgHandsMun); | ^~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:712:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 712 | GetStringConstant(f, "msgPickedUpBombMun", messages->msgBombsMun); | ^~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:713:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 713 | GetStringConstant(f, "msgPickedUpStaffMun", messages->msgStaffMun); | ^~~~~~~~~~~~~~~~~~~~~ src/Gui.cpp: In function 'void LoadGUIParameters()': src/Gui.cpp:731:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 731 | gGUIConst->kHealthPanelHeight = GetLongConstant(f, "kHealthPanelHeight"); | ^~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:732:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 732 | gGUIConst->kHealthPanelPosX = GetLongConstant(f, "kHealthPanelPosX"); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:733:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 733 | gGUIConst->kHealthPanelPosY = GetLongConstant(f, "kHealthPanelPosY"); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:734:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 734 | gGUIConst->kHealthPanelRefreshRate = GetLongConstant(f, "kHealthPanelRefreshRate"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:735:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 735 | gGUIConst->kHealthPanelWidth = GetLongConstant(f, "kHealthPanelWidth"); | ^~~~~~~~~~~~~~~~~~~ src/Gui.cpp:736:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 736 | gGUIConst->kOxygenPanelHeight = GetLongConstant(f, "kOxygenPanelHeight"); | ^~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:737:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 737 | gGUIConst->kOxygenPanelPosX = GetLongConstant(f, "kOxygenPanelPosX"); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:738:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 738 | gGUIConst->kOxygenPanelPosY = GetLongConstant(f, "kOxygenPanelPosY"); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:739:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 739 | gGUIConst->kOxygenPanelRefreshRate = GetLongConstant(f, "kOxygenPanelRefreshRate"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:740:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 740 | gGUIConst->kOxygenPanelWidth = GetLongConstant(f, "kOxygenPanelWidth"); | ^~~~~~~~~~~~~~~~~~~ src/Gui.cpp:741:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 741 | gGUIConst->kWeaponPanelHeight = GetLongConstant(f, "kWeaponPanelHeight"); | ^~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:742:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 742 | gGUIConst->kWeaponPanelPosX = GetLongConstant(f, "kWeaponPanelPosX"); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:743:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 743 | gGUIConst->kWeaponPanelPosY = GetLongConstant(f, "kWeaponPanelPosY"); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:744:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 744 | gGUIConst->kWeaponPanelWidth = GetLongConstant(f, "kWeaponPanelWidth"); | ^~~~~~~~~~~~~~~~~~~ src/Gui.cpp:745:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 745 | gGUIConst->kWeaponStatusWidth = GetLongConstant(f, "kWeaponStatusWidth"); | ^~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:747:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 747 | gGUIConst->kUserMenuEntryDY = GetLongConstant(f, "kUserMenuEntryDY"); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:748:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 748 | gGUIConst->kUserMenuEntryPosX = GetLongConstant(f, "kUserMenuEntryPosX"); | ^~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:749:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 749 | gGUIConst->kUserMenuEntryPosY = GetLongConstant(f, "kUserMenuEntryPosY"); | ^~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:750:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 750 | gGUIConst->kUserMenuHeight = GetLongConstant(f, "kUserMenuHeight"); | ^~~~~~~~~~~~~~~~~ src/Gui.cpp:751:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 751 | gGUIConst->kUserMenuPosX = GetLongConstant(f, "kUserMenuPosX"); | ^~~~~~~~~~~~~~~ src/Gui.cpp:752:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 752 | gGUIConst->kUserMenuPosY = GetLongConstant(f, "kUserMenuPosY"); | ^~~~~~~~~~~~~~~ src/Gui.cpp:753:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 753 | gGUIConst->kUserMenuWidth = GetLongConstant(f, "kUserMenuWidth"); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:754:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 754 | gGUIConst->kHelpMenuEntryDY = GetLongConstant(f, "kHelpMenuEntryDY"); | ^~~~~~~~~~~~~~~~~~ src/Gui.cpp:756:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 756 | gGUIConst->kInfoTextLeft = GetLongConstant(f, "kInfoTextLeft"); | ^~~~~~~~~~~~~~~ src/Gui.cpp:757:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 757 | gGUIConst->kInfoTextTop = GetLongConstant(f, "kInfoTextTop"); | ^~~~~~~~~~~~~~ src/Gui.cpp:758:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 758 | gGUIConst->kInfoTextTime = GetLongConstant(f, "kInfoTextTime"); | ^~~~~~~~~~~~~~~ src/Gui.cpp:760:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 760 | GetStringConstant(f, "kUserMainPageTitle", gGUIConst->kUserMainPageTitle); | ^~~~~~~~~~~~~~~~~~~~ src/Gui.cpp:761:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 761 | GetStringConstant(f, "kUserMenuEntry1", gGUIConst->kUserMenuEntry1); | ^~~~~~~~~~~~~~~~~ src/Gui.cpp:762:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 762 | GetStringConstant(f, "kUserMenuEntry2", gGUIConst->kUserMenuEntry2); | ^~~~~~~~~~~~~~~~~ src/Gui.cpp:763:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 763 | GetStringConstant(f, "kUserMenuEntry3", gGUIConst->kUserMenuEntry3); | ^~~~~~~~~~~~~~~~~ src/Gui.cpp:764:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 764 | GetStringConstant(f, "kUserMenuEntry4", gGUIConst->kUserMenuEntry4); | ^~~~~~~~~~~~~~~~~ src/Gui.cpp:765:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 765 | GetStringConstant(f, "kUserMenuEntry5", gGUIConst->kUserMenuEntry5); | ^~~~~~~~~~~~~~~~~ src/Gui.cpp:767:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 767 | GetStringConstant(f, "kNewGamePageTitle", gGUIConst->kNewGamePageTitle); | ^~~~~~~~~~~~~~~~~~~ src/Gui.cpp:768:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 768 | GetStringConstant(f, "kNewGameEntry1", gGUIConst->kNewGameEntry1); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:769:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 769 | GetStringConstant(f, "kNewGameEntry2", gGUIConst->kNewGameEntry2); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:770:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 770 | GetStringConstant(f, "kNewGameEntry3", gGUIConst->kNewGameEntry3); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:771:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 771 | GetStringConstant(f, "kNewGameEntry4", gGUIConst->kNewGameEntry4); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:773:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 773 | GetStringConstant(f, "kNoSavedGame", gGUIConst->kNoSavedGame); | ^~~~~~~~~~~~~~ src/Gui.cpp:774:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 774 | GetStringConstant(f, "kSavePageTitle", gGUIConst->kSavePageTitle); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:775:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 775 | GetStringConstant(f, "kLoadPageTitle", gGUIConst->kLoadPageTitle); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:776:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 776 | GetStringConstant(f, "kHelpPageTitle", gGUIConst->kHelpPageTitle); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:778:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 778 | GetStringConstant(f, "kSavedGame0", gGUIConst->kSavedGames[0]); | ^~~~~~~~~~~~~ src/Gui.cpp:779:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 779 | GetStringConstant(f, "kSavedGame1", gGUIConst->kSavedGames[1]); | ^~~~~~~~~~~~~ src/Gui.cpp:780:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 780 | GetStringConstant(f, "kSavedGame2", gGUIConst->kSavedGames[2]); | ^~~~~~~~~~~~~ src/Gui.cpp:781:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 781 | GetStringConstant(f, "kSavedGame3", gGUIConst->kSavedGames[3]); | ^~~~~~~~~~~~~ src/Gui.cpp:782:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 782 | GetStringConstant(f, "kSavedGame4", gGUIConst->kSavedGames[4]); | ^~~~~~~~~~~~~ src/Gui.cpp:783:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 783 | GetStringConstant(f, "kSavedGame5", gGUIConst->kSavedGames[5]); | ^~~~~~~~~~~~~ src/Gui.cpp:785:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 785 | gGUIConst->kKeyHitDelay = GetLongConstant(f, "kKeyHitDelay"); | ^~~~~~~~~~~~~~ src/Gui.cpp:787:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 787 | gGUIConst->kCreditsEntryDY = GetLongConstant(f, "kCreditsEntryDY"); | ^~~~~~~~~~~~~~~~~ src/Gui.cpp:788:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 788 | GetStringConstant(f, "kCreditsPageTitle", gGUIConst->kCreditsPageTitle); | ^~~~~~~~~~~~~~~~~~~ src/Gui.cpp:789:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 789 | GetStringConstant(f, "kCreditsEntry1", gGUIConst->kCreditsEntry1); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:790:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 790 | GetStringConstant(f, "kCreditsEntry2", gGUIConst->kCreditsEntry2); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:791:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 791 | GetStringConstant(f, "kCreditsEntry3", gGUIConst->kCreditsEntry3); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:792:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 792 | GetStringConstant(f, "kCreditsEntry4", gGUIConst->kCreditsEntry4); | ^~~~~~~~~~~~~~~~ src/Gui.cpp:793:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 793 | GetStringConstant(f, "kCreditsEntry5", gGUIConst->kCreditsEntry5); | ^~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/ConstVal.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/ConstVal.o src/ConstVal.cpp: In function 'void LoadParameters()': src/ConstVal.cpp:26:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 26 | gConst->kVelocityUnit = GetDoubleConstant(paramFile, "kVelocityUnit"); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:27:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 27 | gConst->kPlayerAcceleration = GetDoubleConstant(paramFile, "kPlayerAcceleration"); | ^~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:28:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 28 | gConst->kPlayerLiquidAccel = GetDoubleConstant(paramFile, "kPlayerLiquidAccel"); | ^~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:29:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 29 | gConst->kRunScaleFactor = GetDoubleConstant(paramFile, "kRunScaleFactor"); | ^~~~~~~~~~~~~~~~~ src/ConstVal.cpp:30:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 30 | gConst->kJumpVelocity = GetDoubleConstant(paramFile, "kJumpVelocity"); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:31:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | gConst->kJumpAccelerationTime = GetLongConstant(paramFile, "kJumpAccelerationTime"); | ^~~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:32:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 32 | gConst->kTeleportTime = GetLongConstant(paramFile, "kTeleportTime"); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:33:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 33 | gConst->kPlayerWidth = GetLongConstant(paramFile, "kPlayerWidth"); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:34:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 34 | gConst->kBulletWidth = GetLongConstant(paramFile, "kBulletWidth"); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:35:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 35 | gConst->kFirehandNumOfBullets = GetLongConstant(paramFile, "kFirehandNumOfBullets"); | ^~~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:36:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 36 | gConst->kFirehandAngle = (double)GetLongConstant(paramFile, "kFirehandAngle") * 3.141 / 180; | ^~~~~~~~~~~~~~~~ src/ConstVal.cpp:37:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 37 | gConst->kStaffLoadTime = GetLongConstant(paramFile, "kStaffLoadTime"); | ^~~~~~~~~~~~~~~~ src/ConstVal.cpp:38:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 38 | gConst->kInitialOxygen = GetLongConstant(paramFile, "kInitialOxygen"); | ^~~~~~~~~~~~~~~~ src/ConstVal.cpp:39:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 39 | gConst->kOxygenDecrease = GetDoubleConstant(paramFile, "kOxygenDecrease"); | ^~~~~~~~~~~~~~~~~ src/ConstVal.cpp:40:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 40 | gConst->kLavaDamage = GetLongConstant(paramFile, "kLavaDamage"); | ^~~~~~~~~~~~~ src/ConstVal.cpp:41:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 41 | gConst->kPlayersFirstWeaponShape = GetLongConstant(paramFile, "kPlayersFirstWeaponShape"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:42:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 42 | gConst->kPickupTime = GetLongConstant(paramFile, "kPickupTime"); | ^~~~~~~~~~~~~ src/ConstVal.cpp:44:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 44 | gConst->kBulletTailLength = GetLongConstant(paramFile, "kBulletTailLength"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:45:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 45 | gConst->kBulletTailDistance = GetLongConstant(paramFile, "kBulletTailDistance"); | ^~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:46:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 46 | gConst->kDetonationFrameTime = GetDoubleConstant(paramFile, "kDetonationFrameTime"); | ^~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:47:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 47 | gConst->kWalkFrameTime = GetLongConstant(paramFile, "kWalkFrameTime"); | ^~~~~~~~~~~~~~~~ src/ConstVal.cpp:48:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | gConst->kShootFrameTime = GetLongConstant(paramFile, "kShootFrameTime"); | ^~~~~~~~~~~~~~~~~ src/ConstVal.cpp:49:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 49 | gConst->kWeaponChangeTime = GetLongConstant(paramFile, "kWeaponChangeTime"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:50:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | gConst->kActionDelayTime = GetLongConstant(paramFile, "kActionDelayTime"); | ^~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:51:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | gConst->kDieFrameTime = GetLongConstant(paramFile, "kDieFrameTime"); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:52:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | gConst->kDriftSpeed = GetLongConstant(paramFile, "kDriftSpeed"); | ^~~~~~~~~~~~~ src/ConstVal.cpp:53:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 53 | gConst->kWeaponCarryHeight = GetLongConstant(paramFile, "kWeaponCarryHeight"); | ^~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:55:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | gConst->kTeleportBlinkTime = GetLongConstant(paramFile, "kTeleportBlinkTime"); | ^~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:56:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 56 | gConst->kSavePortBlinkTime = GetLongConstant(paramFile, "kSavePortBlinkTime"); | ^~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:57:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 57 | gConst->kExitPortBlinkTime = GetLongConstant(paramFile, "kExitPortBlinkTime"); | ^~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:59:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 59 | gConst->kGravitation = GetDoubleConstant(paramFile, "kGravitation"); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:60:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 60 | gConst->kNormalFriction = GetDoubleConstant(paramFile, "kNormalFriction"); | ^~~~~~~~~~~~~~~~~ src/ConstVal.cpp:61:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 61 | gConst->kLiquidFriction = GetDoubleConstant(paramFile, "kLiquidFriction"); | ^~~~~~~~~~~~~~~~~ src/ConstVal.cpp:62:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 62 | gConst->kMaxFallingSpeed = GetDoubleConstant(paramFile, "kMaxFallingSpeed"); | ^~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:64:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 64 | gConst->kJumperJumpAcceleration = GetDoubleConstant(paramFile, "kJumperJumpAcceleration"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:66:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | gConst->kNumOfBounces = GetLongConstant(paramFile, "kNumOfBounces"); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:67:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | gConst->kSineWeaponRad = GetLongConstant(paramFile, "kSineWeaponRad"); | ^~~~~~~~~~~~~~~~ src/ConstVal.cpp:68:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | gConst->kMaxTurnAngle = (double)GetLongConstant(paramFile, "kMaxTurnAngle") * 3.141 / 180.0; | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:69:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | gConst->kWargFastSpeedup = (double)GetLongConstant(paramFile, "kWargFastSpeedup"); | ^~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:70:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | gConst->kWargNearWeaponRadix = GetLongConstant(paramFile, "kWargNearWeaponRadix"); | ^~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:71:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 71 | gConst->kWargJumpAcceleration = GetDoubleConstant(paramFile, "kWargJumpAcceleration"); | ^~~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:72:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | gConst->kDelayAfterWargDeath = GetLongConstant(paramFile, "kDelayAfterWargDeath"); | ^~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:74:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 74 | gConst->kActivateDistance = GetLongConstant(paramFile, "kActivateDistance"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:75:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | gConst->kTreatDistance = GetLongConstant(paramFile, "kTreatDistance"); | ^~~~~~~~~~~~~~~~ src/ConstVal.cpp:76:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 76 | gConst->kBrightnessLevels[0] = GetLongConstant(paramFile, "kLight"); | ^~~~~~~~ src/ConstVal.cpp:77:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | gConst->kBrightnessLevels[1] = GetLongConstant(paramFile, "kMedium"); | ^~~~~~~~~ src/ConstVal.cpp:78:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | gConst->kBrightnessLevels[2] = GetLongConstant(paramFile, "kDark"); | ^~~~~~~ src/ConstVal.cpp:79:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | gConst->kBrightnessLevels[3] = GetLongConstant(paramFile, "kVeryDark"); | ^~~~~~~~~~~ src/ConstVal.cpp:81:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 81 | gConst->kWeaponSF[0] = GetDoubleConstant(paramFile, "kWeaponSF1"); | ^~~~~~~~~~~~ src/ConstVal.cpp:82:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | gConst->kWeaponSF[1] = GetDoubleConstant(paramFile, "kWeaponSF2"); | ^~~~~~~~~~~~ src/ConstVal.cpp:83:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 83 | gConst->kWeaponSF[2] = GetDoubleConstant(paramFile, "kWeaponSF3"); | ^~~~~~~~~~~~ src/ConstVal.cpp:84:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | gConst->kWeaponSF[3] = GetDoubleConstant(paramFile, "kWeaponSF4"); | ^~~~~~~~~~~~ src/ConstVal.cpp:85:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | gConst->kHealthSF[0] = GetDoubleConstant(paramFile, "kHealthSF1"); | ^~~~~~~~~~~~ src/ConstVal.cpp:86:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 86 | gConst->kHealthSF[1] = GetDoubleConstant(paramFile, "kHealthSF2"); | ^~~~~~~~~~~~ src/ConstVal.cpp:87:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | gConst->kHealthSF[2] = GetDoubleConstant(paramFile, "kHealthSF3"); | ^~~~~~~~~~~~ src/ConstVal.cpp:88:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 88 | gConst->kHealthSF[3] = GetDoubleConstant(paramFile, "kHealthSF4"); | ^~~~~~~~~~~~ src/ConstVal.cpp:89:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 89 | gConst->kSpeedSF[0] = GetDoubleConstant(paramFile, "kSpeedSF1"); | ^~~~~~~~~~~ src/ConstVal.cpp:90:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 90 | gConst->kSpeedSF[1] = GetDoubleConstant(paramFile, "kSpeedSF2"); | ^~~~~~~~~~~ src/ConstVal.cpp:91:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | gConst->kSpeedSF[2] = GetDoubleConstant(paramFile, "kSpeedSF3"); | ^~~~~~~~~~~ src/ConstVal.cpp:92:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 92 | gConst->kSpeedSF[3] = GetDoubleConstant(paramFile, "kSpeedSF4"); | ^~~~~~~~~~~ src/ConstVal.cpp:94:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 94 | gConst->kFlickeringPeriod = GetLongConstant(paramFile, "kFlickeringPeriod"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:95:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | gConst->kLightningRadiant = GetLongConstant(paramFile, "kLightningRadiant"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:96:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 96 | gConst->kBkgndScrollFactor = GetDoubleConstant(paramFile, "kBkgndScrollFactor"); | ^~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:97:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 97 | gConst->kCoronaFadeSpeed = GetDoubleConstant(paramFile, "kCoronaFadeSpeed"); | ^~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:99:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | gConst->kBlessureInvulnerabilityTime = GetLongConstant(paramFile, "kBlessureInvulnerabilityTime"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:100:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 100 | gConst->kMonsterTouchBlessure = GetLongConstant(paramFile, "kMonsterTouchBlessure"); | ^~~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:101:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | gConst->kItemExplosionRad = GetLongConstant(paramFile, "kItemExplosionRad"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:102:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 102 | gConst->kItemExplosionStartShape = GetLongConstant(paramFile, "kItemExplosionStartShape"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:104:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 104 | gConst->kHealthPanelColor = GetLongConstant(paramFile, "kHealthPanelColor"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:105:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 105 | gConst->kOxygenPanelColor = GetLongConstant(paramFile, "kOxygenPanelColor"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:106:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 106 | gConst->kShadowmodeDarkening = GetLongConstant(paramFile, "kShadowmodeDarkening"); | ^~~~~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:107:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 107 | gConst->kFadeTime = GetLongConstant(paramFile, "kFadeTime"); | ^~~~~~~~~~~ src/ConstVal.cpp:108:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 108 | gConst->kStartupTime = GetLongConstant(paramFile, "kStartupTime"); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:110:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 110 | gConst->kTextYDistance = GetLongConstant(paramFile, "kTextYDistance"); | ^~~~~~~~~~~~~~~~ src/ConstVal.cpp:111:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 111 | gConst->kCameraSpeed = GetLongConstant(paramFile, "kCameraSpeed"); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:113:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 113 | gConst->kSoundMaxDistance = GetLongConstant(paramFile, "kSoundMaxDistance"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:114:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 114 | gConst->kSoundMinDistance = GetLongConstant(paramFile, "kSoundMinDistance"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:116:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 116 | GetStringConstant(paramFile, "kFilePalette", gConst->kFilePalette); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:117:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 117 | GetStringConstant(paramFile, "kFileLevel", gConst->kFileLevel); | ^~~~~~~~~~~~ src/ConstVal.cpp:118:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 118 | GetStringConstant(paramFile, "kFileMonster", gConst->kFileMonster); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:119:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 119 | GetStringConstant(paramFile, "kFileWeapon", gConst->kFileWeapon); | ^~~~~~~~~~~~~ src/ConstVal.cpp:120:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 120 | GetStringConstant(paramFile, "kFileInfo", gConst->kFileInfo); | ^~~~~~~~~~~ src/ConstVal.cpp:121:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 121 | GetStringConstant(paramFile, "kFilePlatform", gConst->kFilePlatform); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:122:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 122 | GetStringConstant(paramFile, "kFileObjects", gConst->kFileObjects); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:123:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 123 | GetStringConstant(paramFile, "kFileShapes", gConst->kFileShapes); | ^~~~~~~~~~~~~ src/ConstVal.cpp:124:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 124 | GetStringConstant(paramFile, "kFileBackground1", gConst->kFileBackground1); | ^~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:125:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 125 | GetStringConstant(paramFile, "kFileBackground2", gConst->kFileBackground2); | ^~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:126:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 126 | GetStringConstant(paramFile, "kFileCluts", gConst->kFileCluts); | ^~~~~~~~~~~~ src/ConstVal.cpp:127:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | GetStringConstant(paramFile, "kFileGUIs", gConst->kFileGUIs); | ^~~~~~~~~~~ src/ConstVal.cpp:128:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 128 | GetStringConstant(paramFile, "kFileConfig", gConst->kFileConfig); | ^~~~~~~~~~~~~ src/ConstVal.cpp:129:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 129 | GetStringConstant(paramFile, "kFileStartup", gConst->kFileStartup); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:132:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 132 | GetStringConstant(paramFile, "kMonsterName1", gConst->kMonsterNames[0]); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:133:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 133 | GetStringConstant(paramFile, "kMonsterName2", gConst->kMonsterNames[1]); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:134:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 134 | GetStringConstant(paramFile, "kMonsterName3", gConst->kMonsterNames[2]); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:135:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 135 | GetStringConstant(paramFile, "kMonsterName4", gConst->kMonsterNames[3]); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:136:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 136 | GetStringConstant(paramFile, "kMonsterName5", gConst->kMonsterNames[4]); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:137:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 137 | GetStringConstant(paramFile, "kMonsterName6", gConst->kMonsterNames[5]); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:138:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 138 | GetStringConstant(paramFile, "kMonsterName7", gConst->kMonsterNames[6]); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:139:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 139 | GetStringConstant(paramFile, "kMonsterName8", gConst->kMonsterNames[7]); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:140:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 140 | GetStringConstant(paramFile, "kMonsterName9", gConst->kMonsterNames[8]); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:141:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 141 | GetStringConstant(paramFile, "kMonsterName10", gConst->kMonsterNames[9]); | ^~~~~~~~~~~~~~~~ src/ConstVal.cpp:142:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 142 | GetStringConstant(paramFile, "kMonsterName11", gConst->kMonsterNames[10]); | ^~~~~~~~~~~~~~~~ src/ConstVal.cpp:144:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 144 | gConst->kMonsterNameSpeed = GetLongConstant(paramFile, "kMonsterNameSpeed"); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:145:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 145 | gConst->kMonsterNameX = GetLongConstant(paramFile, "kMonsterNameX"); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:148:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 148 | gConst->kShowFPS = GetLongConstant(paramFile, "kShowFPS"); | ^~~~~~~~~~ src/ConstVal.cpp:164:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 164 | gConfigData->leftKey = GetLongConstant(paramFile, "LeftKey"); | ^~~~~~~~~ src/ConstVal.cpp:165:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 165 | GetStringConstant(paramFile, "LeftKeyText", gConfigData->leftKeyText); | ^~~~~~~~~~~~~ src/ConstVal.cpp:166:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 166 | gConfigData->rightKey = GetLongConstant(paramFile, "RightKey"); | ^~~~~~~~~~ src/ConstVal.cpp:167:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 167 | GetStringConstant(paramFile, "RightKeyText", gConfigData->rightKeyText); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:168:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 168 | gConfigData->jumpKey = GetLongConstant(paramFile, "JumpKey"); | ^~~~~~~~~ src/ConstVal.cpp:169:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | GetStringConstant(paramFile, "JumpKeyText", gConfigData->jumpKeyText); | ^~~~~~~~~~~~~ src/ConstVal.cpp:170:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 170 | gConfigData->runKey = GetLongConstant(paramFile, "RunKey"); | ^~~~~~~~ src/ConstVal.cpp:171:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 171 | GetStringConstant(paramFile, "RunKeyText", gConfigData->runKeyText); | ^~~~~~~~~~~~ src/ConstVal.cpp:172:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 172 | gConfigData->shootKey = GetLongConstant(paramFile, "ShootKey"); | ^~~~~~~~~~ src/ConstVal.cpp:173:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 173 | GetStringConstant(paramFile, "ShootKeyText", gConfigData->shootKeyText); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:174:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 174 | gConfigData->nextWeaponKey = GetLongConstant(paramFile, "NextWeaponKey"); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:175:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 175 | GetStringConstant(paramFile, "NextWeaponKeyText", gConfigData->nextWeaponKeyText); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:176:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 176 | gConfigData->prevWeaponKey = GetLongConstant(paramFile, "PrevWeaponKey"); | ^~~~~~~~~~~~~~~ src/ConstVal.cpp:177:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 177 | GetStringConstant(paramFile, "PrevWeaponKeyText", gConfigData->prevWeaponKeyText); | ^~~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:178:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 178 | gConfigData->activateKey = GetLongConstant(paramFile, "ActivateKey"); | ^~~~~~~~~~~~~ src/ConstVal.cpp:179:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 179 | GetStringConstant(paramFile, "ActivateKeyText", gConfigData->activateKeyText); | ^~~~~~~~~~~~~~~~~ src/ConstVal.cpp:181:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 181 | gConfigData->weapon1Key = GetLongConstant(paramFile, "Weapon1Key"); | ^~~~~~~~~~~~ src/ConstVal.cpp:182:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 182 | gConfigData->weapon2Key = GetLongConstant(paramFile, "Weapon2Key"); | ^~~~~~~~~~~~ src/ConstVal.cpp:183:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 183 | gConfigData->weapon3Key = GetLongConstant(paramFile, "Weapon3Key"); | ^~~~~~~~~~~~ src/ConstVal.cpp:184:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 184 | gConfigData->weapon4Key = GetLongConstant(paramFile, "Weapon4Key"); | ^~~~~~~~~~~~ src/ConstVal.cpp:185:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 185 | gConfigData->weapon5Key = GetLongConstant(paramFile, "Weapon5Key"); | ^~~~~~~~~~~~ src/ConstVal.cpp:186:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 186 | gConfigData->weapon6Key = GetLongConstant(paramFile, "Weapon6Key"); | ^~~~~~~~~~~~ src/ConstVal.cpp:187:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 187 | gConfigData->weapon7Key = GetLongConstant(paramFile, "Weapon7Key"); | ^~~~~~~~~~~~ src/ConstVal.cpp:188:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 188 | gConfigData->weapon8Key = GetLongConstant(paramFile, "Weapon8Key"); | ^~~~~~~~~~~~ src/ConstVal.cpp:190:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 190 | gConfigData->soundVolume = GetLongConstant(paramFile, "SoundVolume"); | ^~~~~~~~~~~~~ src/ConstVal.cpp:192:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 192 | gConfigData->screenWidth = GetLongConstant(paramFile, "ScreenWidth"); | ^~~~~~~~~~~~~ src/ConstVal.cpp:193:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 193 | gConfigData->screenHeight = GetLongConstant(paramFile, "ScreenHeight"); | ^~~~~~~~~~~~~~ src/ConstVal.cpp:195:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 195 | gConfigData->disableCoronas = GetLongConstant(paramFile, "DisableCoronas"); | ^~~~~~~~~~~~~~~~ src/ConstVal.cpp:196:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 196 | gConfigData->disableLightning = GetLongConstant(paramFile, "DisableLightning"); | ^~~~~~~~~~~~~~~~~~ src/ConstVal.cpp:197:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 197 | gConfigData->disableShapeModes = GetLongConstant(paramFile, "DisableShapeModes"); | ^~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Item.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Item.o In file included from src/Thing.hpp:4, from src/Item.hpp:4, from src/Item.cpp:1: src/Item.cpp: In member function 'virtual void CItem::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:271:2: note: in expansion of macro 'READDATA' 271 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:272:2: note: in expansion of macro 'READDATA' 272 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:273:2: note: in expansion of macro 'READDATA' 273 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:277:2: note: in expansion of macro 'READDATA' 277 | READDATA(isCorona); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:278:2: note: in expansion of macro 'READDATA' 278 | READDATA(detonationStartTime); | ^~~~~~~~ src/Item.cpp: In member function 'virtual void CPortableItem::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:304:2: note: in expansion of macro 'READDATA' 304 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:305:2: note: in expansion of macro 'READDATA' 305 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:306:2: note: in expansion of macro 'READDATA' 306 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:310:2: note: in expansion of macro 'READDATA' 310 | READDATA(pickedUp); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Item.cpp:311:2: note: in expansion of macro 'READDATA' 311 | READDATA(type); | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Main.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Main.o make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Level.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Level.o src/Level.cpp: In constructor 'CLevel::CLevel(short int, char*)': src/Level.cpp:42:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 42 | if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFileLevel))) gSystem->Error("File kFileLevel not found or not able to open it", 0); // by LL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp: In member function 'void CLevel::WriteLevel(char*)': src/Level.cpp:222:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 222 | gSystem->Error("Cannot open the saving file", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp: In member function 'short int CLevel::ReadLevel(char*)': src/Level.cpp:299:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 299 | if (!f) gSystem->Error("Cannot open the saving file", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp: In member function 'void CLevel::GetSavedGameTitle(char*, char*)': src/Level.cpp:273:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 273 | if (f) fread(&versionNumber, sizeof(versionNumber), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:274:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 274 | if (f) fread(&key, sizeof(key), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:279:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 279 | fread(&time, sizeof(time), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp: In member function 'short int CLevel::ReadLevel(char*)': src/Level.cpp:302:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 302 | fread(&versionNumber, sizeof(versionNumber), 1, f); if (versionNumber != kVersionNumber) return 0; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:303:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 303 | fread(&key, sizeof(key), 1, f); if (key != kVersionKey) return 0; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:304:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 304 | fread(&theTime, sizeof(theTime), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:305:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 305 | fread(&ticks, sizeof(ticks), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:306:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 306 | fread(&gApplication->difficulty, sizeof(gApplication->difficulty), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:307:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 307 | fread(&fileSize, sizeof(fileSize), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:308:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 308 | fread(&gApplication->levelNumber, sizeof(gApplication->levelNumber), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:315:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 315 | fread(&size, sizeof(size), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:316:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 316 | fread(&typeID, sizeof(typeID), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:333:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 333 | fread(&size, sizeof(size), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:334:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 334 | fread(&typeID, sizeof(typeID), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Level.cpp:335:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 335 | fread(&thingNumber, sizeof(thingNumber), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/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:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 29 | gSystem = new CSystem("Amphetamine"); | ^~~~~~~~~~~~~ src/Appl.cpp: In member function 'void CApplication::RunLevel()': src/Appl.cpp:247:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 247 | sprintf(fps, "%02d", saveFrameCount); | ~~~^ ~~~~~~~~~~~~~~ | | | | int long int | %02ld src/Appl.cpp:250:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 250 | sprintf(fps, "%02d", frameCount); | ~~~^ ~~~~~~~~~~ | | | | int long int | %02ld make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/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' [-Wnarrowing] 282 | 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' [-Wnarrowing] 282 | 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' [-Wnarrowing] 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; | ~~~^~~~ src/Element.cpp:282:45: warning: narrowing conversion of '(((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::ye - ((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::ys)' from 'double' to 'short int' [-Wnarrowing] 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; | ~~~^~~~ In file included from src/Element.hpp:4, from src/Element.cpp:1: src/Element.cpp: In member function 'virtual void CElement::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:344:2: note: in expansion of macro 'READDATA' 344 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:345:2: note: in expansion of macro 'READDATA' 345 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:349:2: note: in expansion of macro 'READDATA' 349 | READDATA(bitData); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:350:2: note: in expansion of macro 'READDATA' 350 | READDATA(lastState); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:351:2: note: in expansion of macro 'READDATA' 351 | READDATA(iconID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:352:2: note: in expansion of macro 'READDATA' 352 | READDATA(brightness); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:353:2: note: in expansion of macro 'READDATA' 353 | READDATA(brightness2); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:354:2: note: in expansion of macro 'READDATA' 354 | READDATA(key); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:355:2: note: in expansion of macro 'READDATA' 355 | READDATA(refNum); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:356:2: note: in expansion of macro 'READDATA' 356 | READDATA(data); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:360:2: note: in expansion of macro 'READDATA' 360 | READDATA(elemThings); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:362:3: note: in expansion of macro 'READDATA' 362 | READDATA(elementThings->teleportBlinkTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:363:3: note: in expansion of macro 'READDATA' 363 | READDATA(elementThings->savePortBlinkTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:364:3: note: in expansion of macro 'READDATA' 364 | READDATA(elementThings->exitPortBlinkTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:365:3: note: in expansion of macro 'READDATA' 365 | READDATA(elementThings->passiveHasChanged); | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Monster.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Monster.o In file included from src/Thing.hpp:4, from src/Monster.hpp:4, from src/Monster.cpp:1: src/Monster.cpp: In member function 'virtual void CMonster::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:349:2: note: in expansion of macro 'READDATA' 349 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:350:2: note: in expansion of macro 'READDATA' 350 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:351:2: note: in expansion of macro 'READDATA' 351 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:359:2: note: in expansion of macro 'READDATA' 359 | READDATA(speed); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:360:2: note: in expansion of macro 'READDATA' 360 | READDATA(lastWalkTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:361:2: note: in expansion of macro 'READDATA' 361 | READDATA(lastShootTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:362:2: note: in expansion of macro 'READDATA' 362 | READDATA(walkFrame); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:363:2: note: in expansion of macro 'READDATA' 363 | READDATA(status); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:364:2: note: in expansion of macro 'READDATA' 364 | READDATA(lastCollisionCode); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:365:2: note: in expansion of macro 'READDATA' 365 | READDATA(flying); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:366:2: note: in expansion of macro 'READDATA' 366 | READDATA(teleportDeltaTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:367:2: note: in expansion of macro 'READDATA' 367 | READDATA(teleportCounter); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:368:2: note: in expansion of macro 'READDATA' 368 | READDATA(lastBlessureTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:369:2: note: in expansion of macro 'READDATA' 369 | READDATA(dieFrameTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:370:2: note: in expansion of macro 'READDATA' 370 | READDATA(dieFrame); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:371:2: note: in expansion of macro 'READDATA' 371 | READDATA(doDarken); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monster.cpp:372:2: note: in expansion of macro 'READDATA' 372 | READDATA(health); | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/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] 159 | if (!fClut) MSG("!!! File not found: "); MSG(gConst->kFileCluts); MSG("\n"); | ~~~~~~~~^~~~~~~~~~ src/AmpHead.hpp:186:52: note: in definition of macro 'MSG' 186 | #define MSG(message) if (logFile) fprintf(logFile, message); fflush(logFile) | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Object.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Object.o In file included from src/Object.cpp:1: src/Object.cpp: In member function 'virtual void CObject::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:314:2: note: in expansion of macro 'READDATA' 314 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:315:2: note: in expansion of macro 'READDATA' 315 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:317:2: note: in expansion of macro 'READDATA' 317 | READDATA(xs); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:318:2: note: in expansion of macro 'READDATA' 318 | READDATA(ys); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:319:2: note: in expansion of macro 'READDATA' 319 | READDATA(xe); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:320:2: note: in expansion of macro 'READDATA' 320 | READDATA(ye); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:321:2: note: in expansion of macro 'READDATA' 321 | READDATA(xm); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:322:2: note: in expansion of macro 'READDATA' 322 | READDATA(ym); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:323:2: note: in expansion of macro 'READDATA' 323 | READDATA(weight); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:324:2: note: in expansion of macro 'READDATA' 324 | READDATA(forceVectorX); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:325:2: note: in expansion of macro 'READDATA' 325 | READDATA(forceVectorY); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:326:2: note: in expansion of macro 'READDATA' 326 | READDATA(environmentForceX); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:327:2: note: in expansion of macro 'READDATA' 327 | READDATA(environmentForceY); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:328:2: note: in expansion of macro 'READDATA' 328 | READDATA(gravitation); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:329:2: note: in expansion of macro 'READDATA' 329 | READDATA(resForceX); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:330:2: note: in expansion of macro 'READDATA' 330 | READDATA(resForceY); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Object.cpp:331:2: note: in expansion of macro 'READDATA' 331 | READDATA(background); | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Bullet.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Bullet.o In file included from src/Thing.hpp:4, from src/Bullet.hpp:4, from src/Bullet.cpp:1: src/Bullet.cpp: In member function 'virtual void CBullet::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:494:2: note: in expansion of macro 'READDATA' 494 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:495:2: note: in expansion of macro 'READDATA' 495 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:496:2: note: in expansion of macro 'READDATA' 496 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:507:4: note: in expansion of macro 'READDATA' 507 | READDATA(tailX[n]); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:508:4: note: in expansion of macro 'READDATA' 508 | READDATA(tailY[n]); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:512:2: note: in expansion of macro 'READDATA' 512 | READDATA(tailStep); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:513:2: note: in expansion of macro 'READDATA' 513 | READDATA(targetposition); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:514:2: note: in expansion of macro 'READDATA' 514 | READDATA(directionUnitx); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:515:2: note: in expansion of macro 'READDATA' 515 | READDATA(directionUnity); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:516:2: note: in expansion of macro 'READDATA' 516 | READDATA(action); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:517:2: note: in expansion of macro 'READDATA' 517 | READDATA(detonationStartTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:518:2: note: in expansion of macro 'READDATA' 518 | READDATA(noDetonation); | ^~~~~~~~ src/Bullet.cpp: In member function 'virtual void CSorceryBullet::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:543:2: note: in expansion of macro 'READDATA' 543 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:544:2: note: in expansion of macro 'READDATA' 544 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:545:2: note: in expansion of macro 'READDATA' 545 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:549:2: note: in expansion of macro 'READDATA' 549 | READDATA(numBounces); | ^~~~~~~~ src/Bullet.cpp: In member function 'virtual void CBombBullet::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:573:2: note: in expansion of macro 'READDATA' 573 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:574:2: note: in expansion of macro 'READDATA' 574 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:575:2: note: in expansion of macro 'READDATA' 575 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:579:2: note: in expansion of macro 'READDATA' 579 | READDATA(detonate); | ^~~~~~~~ src/Bullet.cpp: In member function 'virtual void CSineBullet::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:605:2: note: in expansion of macro 'READDATA' 605 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:606:2: note: in expansion of macro 'READDATA' 606 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:607:2: note: in expansion of macro 'READDATA' 607 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:611:2: note: in expansion of macro 'READDATA' 611 | READDATA(distance); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:612:2: note: in expansion of macro 'READDATA' 612 | READDATA(radius); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:613:2: note: in expansion of macro 'READDATA' 613 | READDATA(period); | ^~~~~~~~ src/Bullet.cpp: In member function 'virtual void CGuidedBullet::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:640:2: note: in expansion of macro 'READDATA' 640 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:641:2: note: in expansion of macro 'READDATA' 641 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:642:2: note: in expansion of macro 'READDATA' 642 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:646:2: note: in expansion of macro 'READDATA' 646 | READDATA(initAbstSign); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:647:2: note: in expansion of macro 'READDATA' 647 | READDATA(lastfx); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:648:2: note: in expansion of macro 'READDATA' 648 | READDATA(lastfy); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Bullet.cpp:649:2: note: in expansion of macro 'READDATA' 649 | READDATA(lastf); | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/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:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 45 | if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFileMonster))) gSystem->Error("Cannot find file kFileMonster or unable to open it", 0); // by LL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ObjInfo.cpp: In member function 'void CObjInfo::LoadItems(short int)': src/ObjInfo.cpp:78:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFileObjects))) gSystem->Error("Cannot find file kFileObjects or uable to open it", 0); // by LL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ObjInfo.cpp: In member function 'void CObjInfo::LoadWeapons(short int)': src/ObjInfo.cpp:95:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFileWeapon))) gSystem->Error("Cannot find file kFileWeapon or unable to open it", 0); // by LL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ObjInfo.cpp: In member function 'void CObjInfo::LoadPlatforms(short int)': src/ObjInfo.cpp:123:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 123 | if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFilePlatform))) gSystem->Error("Cannot find file kFilePlatform or unable to open it", 0); // by LL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/ObjInfo.hpp:4, from src/ObjInfo.cpp:1: src/ObjInfo.cpp: In member function 'void CObjInfo::LoadMonsters(short int)': src/ObjInfo.cpp:55:50: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] 55 | TRANS_PUT_NUM(monsterInfo[n]->additionalData[m]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ src/File.hpp:25:35: note: in definition of macro 'SWAP_PUT_SHORT' 25 | #define SWAP_PUT_SHORT(x) ((x) = (x << 8) | (((unsigned short)x) >> 8)) | ^ src/ObjInfo.cpp:55:4: note: in expansion of macro 'TRANS_PUT_NUM' 55 | TRANS_PUT_NUM(monsterInfo[n]->additionalData[m]); | ^~~~~~~~~~~~~ src/ObjInfo.cpp:53:23: note: within this loop 53 | for (short m = 0; m < 3; m ++) { | ~~^~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/ShapeLd.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/ShapeLd.o src/ShapeLd.cpp: In member function 'void CShapeManager::LoadShapes()': src/ShapeLd.cpp:31:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | if (!plane) gSystem->Error("Cannot find kFileShapes or cannot open it. Perhaps lack of memory?", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ShapeLd.cpp: In member function 'void CShapeManager::LoadBackground(char*)': src/ShapeLd.cpp:66:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | if (!backgroundPicture) gSystem->Error("Cannot open background file. Lack of memory?", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Thing.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Thing.o In file included from src/Thing.hpp:4, from src/Thing.cpp:1: src/Thing.cpp: In member function 'virtual void CThing::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:148:2: note: in expansion of macro 'READDATA' 148 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:149:2: note: in expansion of macro 'READDATA' 149 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:150:2: note: in expansion of macro 'READDATA' 150 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:154:2: note: in expansion of macro 'READDATA' 154 | READDATA(lookDirection); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:155:2: note: in expansion of macro 'READDATA' 155 | READDATA(weightless); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:156:2: note: in expansion of macro 'READDATA' 156 | READDATA(dx); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:157:2: note: in expansion of macro 'READDATA' 157 | READDATA(dy); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Thing.cpp:158:2: note: in expansion of macro 'READDATA' 158 | READDATA(modus); | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Monstrxx.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Monstrxx.o In file included from src/Thing.hpp:4, from src/Monster.hpp:4, from src/Monstrxx.hpp:4, from src/Monstrxx.cpp:1: src/Monstrxx.cpp: In member function 'virtual void CWalker::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:447:2: note: in expansion of macro 'READDATA' 447 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:448:2: note: in expansion of macro 'READDATA' 448 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:449:2: note: in expansion of macro 'READDATA' 449 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:453:2: note: in expansion of macro 'READDATA' 453 | READDATA(nextShootTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:454:2: note: in expansion of macro 'READDATA' 454 | READDATA(currentShootDelay); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:455:2: note: in expansion of macro 'READDATA' 455 | READDATA(lastShoot); | ^~~~~~~~ src/Monstrxx.cpp: In member function 'virtual void CJumper::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:483:2: note: in expansion of macro 'READDATA' 483 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:484:2: note: in expansion of macro 'READDATA' 484 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:485:2: note: in expansion of macro 'READDATA' 485 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:489:2: note: in expansion of macro 'READDATA' 489 | READDATA(nextShootTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:490:2: note: in expansion of macro 'READDATA' 490 | READDATA(currentShootDelay); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:491:2: note: in expansion of macro 'READDATA' 491 | READDATA(lastShoot); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:492:2: note: in expansion of macro 'READDATA' 492 | READDATA(inJump); | ^~~~~~~~ src/Monstrxx.cpp: In member function 'virtual void CFlyer::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:520:2: note: in expansion of macro 'READDATA' 520 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:521:2: note: in expansion of macro 'READDATA' 521 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:522:2: note: in expansion of macro 'READDATA' 522 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:526:2: note: in expansion of macro 'READDATA' 526 | READDATA(nextShootTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:527:2: note: in expansion of macro 'READDATA' 527 | READDATA(currentShootDelay); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:528:2: note: in expansion of macro 'READDATA' 528 | READDATA(lastShoot); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:529:2: note: in expansion of macro 'READDATA' 529 | READDATA(rescueMeX); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:530:2: note: in expansion of macro 'READDATA' 530 | READDATA(rescueMeY); | ^~~~~~~~ src/Monstrxx.cpp: In member function 'virtual void CWarg::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:561:2: note: in expansion of macro 'READDATA' 561 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:562:2: note: in expansion of macro 'READDATA' 562 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:563:2: note: in expansion of macro 'READDATA' 563 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:571:2: note: in expansion of macro 'READDATA' 571 | READDATA(nextShootTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:572:2: note: in expansion of macro 'READDATA' 572 | READDATA(currentShootDelay); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:573:2: note: in expansion of macro 'READDATA' 573 | READDATA(lastShoot); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:574:2: note: in expansion of macro 'READDATA' 574 | READDATA(inJump); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Monstrxx.cpp:575:2: note: in expansion of macro 'READDATA' 575 | READDATA(speedup); | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Pltform.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Pltform.o In file included from src/Thing.hpp:4, from src/Pltform.hpp:4, from src/Pltform.cpp:1: src/Pltform.cpp: In member function 'virtual void CPlatform::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:259:2: note: in expansion of macro 'READDATA' 259 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:260:2: note: in expansion of macro 'READDATA' 260 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:261:2: note: in expansion of macro 'READDATA' 261 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:265:2: note: in expansion of macro 'READDATA' 265 | READDATA(origHeight); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:266:2: note: in expansion of macro 'READDATA' 266 | READDATA(action); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:267:2: note: in expansion of macro 'READDATA' 267 | READDATA(startx); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:268:2: note: in expansion of macro 'READDATA' 268 | READDATA(starty); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:269:2: note: in expansion of macro 'READDATA' 269 | READDATA(endx); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:270:2: note: in expansion of macro 'READDATA' 270 | READDATA(endy); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:271:2: note: in expansion of macro 'READDATA' 271 | READDATA(maxDistance); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Pltform.cpp:272:2: note: in expansion of macro 'READDATA' 272 | 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] 276 | fread(info, sizeof(tPlatformInfo), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Player.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Player.o In file included from src/Thing.hpp:4, from src/Monster.hpp:4, from src/Player.hpp:4, from src/Player.cpp:1: src/Player.cpp: In member function 'virtual void CPlayer::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:510:2: note: in expansion of macro 'READDATA' 510 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:511:2: note: in expansion of macro 'READDATA' 511 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:512:2: note: in expansion of macro 'READDATA' 512 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:520:2: note: in expansion of macro 'READDATA' 520 | READDATA(jumpTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:521:2: note: in expansion of macro 'READDATA' 521 | READDATA(currentWeapon); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:522:2: note: in expansion of macro 'READDATA' 522 | READDATA(lastWeaponChanging); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:523:2: note: in expansion of macro 'READDATA' 523 | READDATA(lastPickupTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:524:2: note: in expansion of macro 'READDATA' 524 | READDATA(lastActionTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:525:2: note: in expansion of macro 'READDATA' 525 | READDATA(teleportRefNum); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:526:2: note: in expansion of macro 'READDATA' 526 | READDATA(currentJob); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:528:2: note: in expansion of macro 'READDATA' 528 | READDATA(oxygen); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Player.cpp:529:2: note: in expansion of macro 'READDATA' 529 | READDATA(lastOxygenDecTime); | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/Surface.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Surface.o make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/SoundList.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/SoundList.o make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/SndSys.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/SndSys.o make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/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/Weapon.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Weapon.o In file included from src/Thing.hpp:4, from src/ObjInfo.hpp:5, from src/Weapon.hpp:4, from src/Weapon.cpp:1: src/Weapon.cpp: In member function 'virtual void CWeapon::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:370:2: note: in expansion of macro 'READDATA' 370 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:372:2: note: in expansion of macro 'READDATA' 372 | READDATA(munition); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:373:2: note: in expansion of macro 'READDATA' 373 | READDATA(lastShoot); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:374:2: note: in expansion of macro 'READDATA' 374 | READDATA(lastShootFrame); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:375:2: note: in expansion of macro 'READDATA' 375 | READDATA(weaponStatus); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:376:2: note: in expansion of macro 'READDATA' 376 | READDATA(repetition); | ^~~~~~~~ src/Weapon.cpp: In member function 'virtual void CHandWeapon::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:400:2: note: in expansion of macro 'READDATA' 400 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:404:2: note: in expansion of macro 'READDATA' 404 | READDATA(animationFrame); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:405:2: note: in expansion of macro 'READDATA' 405 | READDATA(numAnimFrames); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:406:2: note: in expansion of macro 'READDATA' 406 | READDATA(shootFrameTime); | ^~~~~~~~ src/Weapon.cpp: In member function 'virtual void CBomb::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:429:2: note: in expansion of macro 'READDATA' 429 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:433:2: note: in expansion of macro 'READDATA' 433 | READDATA(status); | ^~~~~~~~ src/Weapon.cpp: In member function 'virtual void CStaff::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:460:2: note: in expansion of macro 'READDATA' 460 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:464:2: note: in expansion of macro 'READDATA' 464 | READDATA(staffLoadTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:465:2: note: in expansion of macro 'READDATA' 465 | READDATA(lastLoad); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:466:2: note: in expansion of macro 'READDATA' 466 | READDATA(inLoad); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:467:2: note: in expansion of macro 'READDATA' 467 | READDATA(dx); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Weapon.cpp:468:2: note: in expansion of macro 'READDATA' 468 | READDATA(dy); | ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -DINSTALL_DIR="\"/usr/share/games/amph\"" -D_USE_LIB_XPM -c src/System.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/System.o In file included from src/System.hpp:9, from src/System.cpp:9: src/System.cpp: In constructor 'CSystem::CSystem(char*)': src/AmpHead.hpp:186:59: warning: format not a string literal and no format arguments [-Wformat-security] 186 | #define MSG(message) if (logFile) fprintf(logFile, message); fflush(logFile) | ^ src/System.cpp:182:8: note: in expansion of macro 'MSG' 182 | MSG(SDL_GetError()); | ^~~ src/System.cpp: In member function 'tGraphicBuffer* CSystem::AllocateBuffer(short int, short int)': src/System.cpp:303:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 303 | if (port == NULL) Error("Error while creating an SDL Surface", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/System.cpp: In member function 'void CSystem::LoadPalette(char*)': src/System.cpp:344:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 344 | if (!gf) Error("Cannot find or open the palette file (*.pal)", 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/System.hpp:9, from src/System.cpp:9: src/System.cpp: In member function 'void CSystem::Error(char*, short int)': src/AmpHead.hpp:186:59: warning: format not a string literal and no format arguments [-Wformat-security] 186 | #define MSG(message) if (logFile) fprintf(logFile, message); fflush(logFile) | ^ src/System.cpp:485:2: note: in expansion of macro 'MSG' 485 | MSG(message); fprintf(logFile, " %d\n", errorNo); fflush(logFile); | ^~~ make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' make: Entering directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' g++ -L/usr/lib -L/usr/share/lib -L/usr/X11R6/lib -o amph src/Element.o src/File.o src/Gifload.o src/Graphfil.o src/Gui.o src/Appl.o src/Bullet.o src/Clut.o src/ConstVal.o src/Creeper.o src/Item.o src/Level.o src/Main.o src/Monster.o src/Monstrxx.o src/Object.o src/ObjInfo.o src/Player.o src/Pltform.o src/Shape.o src/ShapeLd.o src/Surface.o src/Thing.o src/Weapon.o src/System.o src/SndSys.o src/SoundList.o -lm -lSDL -lpthread -lXpm -lXt make: Leaving directory '/usr/src/RPM/BUILD/amphetamine-0.8.10' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.26551 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/amphetamine-buildroot + : + /bin/rm -rf -- /usr/src/tmp/amphetamine-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd amphetamine-0.8.10 + mkdir -p /usr/src/tmp/amphetamine-buildroot/usr/share/games /usr/src/tmp/amphetamine-buildroot/usr/lib/menu + tar -C /usr/src/tmp/amphetamine-buildroot/usr/share/games -jxf /usr/src/RPM/SOURCES/amphetamine-data-0.8.6.tar.bz2 + install -pD -c -s amph /usr/src/tmp/amphetamine-buildroot/usr/games/amph WARNING: strip is called in %install by 'install -s' (ignored) + install -pD amph.xpm /usr/src/tmp/amphetamine-buildroot/usr/share/icons/hicolor/32x32/apps/amphetamine.xpm + install -pD amphetamine-icons/amph-16.png /usr/src/tmp/amphetamine-buildroot/usr/share/icons/hicolor/48x48/apps/amphetamine.png + install -pD amphetamine-icons/amph-32.png /usr/src/tmp/amphetamine-buildroot/usr/share/icons/hicolor/32x32/apps/amphetamine.png + install -pD amphetamine-icons/amph-48.png /usr/src/tmp/amphetamine-buildroot/usr/share/icons/hicolor/16x16/apps/amphetamine.png + install -pD /usr/src/RPM/SOURCES/amphetamine.desktop /usr/src/tmp/amphetamine-buildroot/usr/share/applications/amphetamine.desktop + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/amphetamine-buildroot (auto) Verifying and fixing files in /usr/src/tmp/amphetamine-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/amphetamine-buildroot/ (default) Compressing files in /usr/src/tmp/amphetamine-buildroot (auto) Adjusting library links in /usr/src/tmp/amphetamine-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/amphetamine-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) 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.12188 + 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.aNUIT4 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.tRgR44 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.IoEi38 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.Kevef5 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7OcsH7 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) 27.47user 3.73system 0:17.14elapsed 182%CPU (0avgtext+0avgdata 41600maxresident)k 0inputs+0outputs (0major+450282minor)pagefaults 0swaps /.out/amphetamine-0.8.10-alt6.i586.rpm: The use of such a license name is ambiguous: GPL /.out/amphetamine-debuginfo-0.8.10-alt6.i586.rpm: The use of such a license name is ambiguous: GPL 40.11user 11.23system 0:36.54elapsed 140%CPU (0avgtext+0avgdata 107096maxresident)k 264inputs+0outputs (0major+789633minor)pagefaults 0swaps error: open of /archive/repo/sisyphus/task/_262/268570/files/i586/RPMS/amphetamine-debuginfo-0.8.10-alt6.i586.rpm failed: No such file or directory