<86>Apr 21 00:57:11 userdel[106104]: delete user 'rooter' <86>Apr 21 00:57:11 userdel[106104]: removed group 'rooter' owned by 'rooter' <86>Apr 21 00:57:11 userdel[106104]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 21 00:57:11 groupadd[106139]: group added to /etc/group: name=rooter, GID=585 <86>Apr 21 00:57:11 groupadd[106139]: group added to /etc/gshadow: name=rooter <86>Apr 21 00:57:11 groupadd[106139]: new group: name=rooter, GID=585 <86>Apr 21 00:57:11 useradd[106153]: new user: name=rooter, UID=585, GID=585, home=/root, shell=/bin/bash <86>Apr 21 00:57:11 userdel[106184]: delete user 'builder' <86>Apr 21 00:57:11 userdel[106184]: removed group 'builder' owned by 'builder' <86>Apr 21 00:57:11 userdel[106184]: removed shadow group 'builder' owned by 'builder' <86>Apr 21 00:57:11 groupadd[106195]: group added to /etc/group: name=builder, GID=586 <86>Apr 21 00:57:11 useradd[106207]: new user: name=builder, UID=586, GID=586, home=/usr/src, shell=/bin/bash <13>Apr 21 00:57:14 rpmi: xorg-xproto-devel-7.0.31-alt0.M80P.1 p8+226471.100.1.1 1554301566 installed <13>Apr 21 00:57:14 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Apr 21 00:57:14 rpmi: libSM-1.2.2-alt1 1391072686 installed <13>Apr 21 00:57:14 rpmi: libICE-devel-1.0.9-alt1 1409902719 installed <13>Apr 21 00:57:14 rpmi: libSM-devel-1.2.2-alt1 1391072686 installed <13>Apr 21 00:57:14 rpmi: libwrap-1:7.6-alt11 1297041305 installed <13>Apr 21 00:57:14 rpmi: libgsm-1.0.13-alt8 1365910842 installed <13>Apr 21 00:57:14 rpmi: libsndfile-1.0.28-alt1.M80P.1 p8.212938.100 1536756416 installed <13>Apr 21 00:57:14 rpmi: libjson-c-0.12-alt1 1401212997 installed <13>Apr 21 00:57:14 rpmi: liblz4-1:1.7.5-alt1 1488766699 installed <13>Apr 21 00:57:14 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed <13>Apr 21 00:57:14 rpmi: libgcrypt20-1.8.3-alt4 p8+219793.200.6.1 1551112986 installed <13>Apr 21 00:57:14 rpmi: libsystemd-1:239-alt1.M80P.1 p8+226956.200.2.1 1555431492 installed <13>Apr 21 00:57:14 rpmi: libdbus-1.10.24-alt4.M80P.1 1518773282 installed <13>Apr 21 00:57:14 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Apr 21 00:57:14 rpmi: libalsa-1:1.1.0-alt1.1.1 1454429213 installed <13>Apr 21 00:57:14 rpmi: xorg-kbproto-devel-1.0.6-alt1 1332531883 installed <13>Apr 21 00:57:14 rpmi: libxshmfence-1.2-alt1 1420972191 installed <13>Apr 21 00:57:14 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 21 00:57:14 rpmi: libpciaccess-1:0.13.4-alt1 1431681688 installed <13>Apr 21 00:57:14 rpmi: libdrm-1:2.4.89-alt1.M80P.1 1516609380 installed <13>Apr 21 00:57:14 rpmi: libX11-locales-3:1.6.3-alt1 1431956885 installed <13>Apr 21 00:57:14 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Apr 21 00:57:14 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Apr 21 00:57:14 rpmi: libxcb-1.12-alt2 p8.218219.300 1545313310 installed <13>Apr 21 00:57:14 rpmi: libX11-3:1.6.3-alt1 1431956911 installed <13>Apr 21 00:57:14 rpmi: libXext-1.3.3-alt1 1409902932 installed <13>Apr 21 00:57:14 rpmi: libXt-1.1.4-alt1 1369984716 installed <13>Apr 21 00:57:14 rpmi: libXpm-3.5.11-alt1 1391072398 installed <13>Apr 21 00:57:15 rpmi: libXxf86vm-1.1.3-alt1 1369984824 installed <13>Apr 21 00:57:15 rpmi: libXdamage-1.1.3-alt4 1297162596 installed <13>Apr 21 00:57:15 rpmi: libXfixes-5.0.1-alt1 1369809606 installed <13>Apr 21 00:57:15 rpmi: libGL-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 21 00:57:15 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed <13>Apr 21 00:57:15 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Apr 21 00:57:15 rpmi: libXrandr-1.5.0-alt1 1431936188 installed <13>Apr 21 00:57:16 rpmi: libxcb-devel-1.12-alt2 p8.218219.300 1545313310 installed <13>Apr 21 00:57:16 rpmi: libX11-devel-3:1.6.3-alt1 1431956911 installed <13>Apr 21 00:57:16 rpmi: libGL-devel-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 21 00:57:16 rpmi: libGLU-devel-4:9.0.0-alt1 1347643776 installed <13>Apr 21 00:57:16 rpmi: libpulseaudio-9.0-alt2 1469793979 installed <13>Apr 21 00:57:16 rpmi: libSDL-1.2.14-alt6.M80P.1 1483818219 installed <13>Apr 21 00:57:16 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Apr 21 00:57:17 rpmi: libstdc++5-devel-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 21 00:57:17 rpmi: gcc5-c++-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 21 00:57:17 rpmi: libSDL-devel-1.2.14-alt6.M80P.1 1483818219 installed <13>Apr 21 00:57:17 rpmi: libXpm-devel-3.5.11-alt1 1391072398 installed <13>Apr 21 00:57:17 rpmi: libXt-devel-1.1.4-alt1 1369984716 installed Installing amphetamine-0.8.10-alt5.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.35853 + 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/tar -xf - + /bin/bzip2 -dc /usr/src/RPM/SOURCES/amphetamine-0.8.10.tar.bz2 + 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 s,/usr/local,/usr/share,g Makefile + sed -i s,/usr/local,/usr/share,g src/System.hpp + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.35853 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd amphetamine-0.8.10 + '[' -n '' ']' + NPROCS=8 + 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/Element.cpp -g -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Element.o 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/File.o 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Gifload.o 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Graphfil.o 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Gui.o 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Appl.o 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Bullet.o 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Clut.o In file included from src/Clut.hpp:4:0, from src/Clut.cpp:1: src/Clut.cpp: In member function 'void CClutManager::BuildLuminosityTable()': src/AmpHead.hpp:186:59: warning: format not a string literal and no format arguments [-Wformat-security] #define MSG(message) if (logFile) fprintf(logFile, message); fflush(logFile) ^ src/Clut.cpp:159:44: note: in expansion of macro 'MSG' if (!fClut) MSG("!!! File not found: "); MSG(gConst->kFileCluts); MSG("\n"); ^ src/Gifload.cpp: In function 'void* wtmalloc(size_t)': src/Gifload.cpp:57:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSystem->Error("could not allocate %x bytes", size); ^ src/Gifload.cpp: In function 'void* wtrealloc(void*, size_t)': src/Gifload.cpp:69:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSystem->Error("could not reallocate %x bytes", size); ^ src/Gifload.cpp: In function 'void wtfree(void*)': src/Gifload.cpp:78:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSystem->Error("wtfree(NULL)", 0); ^ src/Gifload.cpp: At global scope: src/Gifload.cpp:140:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *id87 = "GIF87a"; ^ src/Gifload.cpp:141:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *id89 = "GIF89a"; ^ src/Gifload.cpp: In function 'Graphic_file* LoadGIF(FILE*, char*)': src/Gifload.cpp:168:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSystem->Error("not enough memory to read gif file",0); ^ src/Gifload.cpp:172:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSystem->Error("not enough memory to read gif file",0); ^ src/Gifload.cpp:176:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSystem->Error("GIF data read failed",0); ^ src/Gifload.cpp:180:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSystem->Error("not a GIF file",0); ^ src/Gifload.cpp:204:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSystem->Error("corrupt GIF file (bad screen descriptor)",0); ^ src/Gifload.cpp:229:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSystem->Error("corrupt GIF89a file",0); ^ src/Gifload.cpp:248:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSystem->Error("invalid GIF89 extension",0); ^ src/Graphfil.cpp: In function 'Graphic_file* read_graphic_file(char*)': src/Graphfil.cpp:119:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSystem->Error("Could not open texture", 0); ^ src/Graphfil.cpp:132:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSystem->Error("Unknown graphic file format.", 0); ^ src/Graphfil.cpp:136:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSystem->Error("The graphic file reading code is really broken.", 0); ^ src/Graphfil.cpp:141:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSystem->Error("gApplication->system->Error reading texture", 0); ^ src/Graphfil.cpp: In function 'Graphic_file_format check_format(FILE*, char*)': src/Graphfil.cpp:159:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSystem->Error("gApplication->system->Error reading texture", 0); ^ src/Gifload.cpp:320:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSystem->Error("corrupt GIF file (unblock)",0); ^ src/Gifload.cpp:376:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSystem->Error("Corrupt GIF file (OutCount)!", 0); ^ src/Gui.cpp: In constructor 'CGUI::CGUI(CGraphicSurface*)': src/Gui.cpp:42:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!guis) gSystem->Error("Error while reading the file kFileGUIs", 0); ^ src/Gui.cpp:49:113: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!(healthPanel && oxygenPanel && weaponPanel && backgroundPanel)) gSystem->Error("Cannot allocate panels", 0); ^ src/Gui.cpp: In member function 'void CGUI::LoadMessages()': src/Gui.cpp:697:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpHealth", messages->msgHealth); ^ src/Gui.cpp:698:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpOxygen", messages->msgOxygen); ^ src/Gui.cpp:700:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpPhiol", messages->msgPhiol); ^ src/Gui.cpp:701:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpBM", messages->msgBM); ^ src/Gui.cpp:702:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpBow", messages->msgBow); ^ src/Gui.cpp:703:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpScie", messages->msgScie); ^ src/Gui.cpp:704:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpHands", messages->msgHands); ^ src/Gui.cpp:705:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpBombs", messages->msgBombs); ^ src/Gui.cpp:706:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpStaff", messages->msgStaff); ^ src/Gui.cpp:708:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpPhiolMun", messages->msgPhiolMun); ^ src/Gui.cpp:709:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpBMMun", messages->msgBMMun); ^ src/Gui.cpp:710:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpBowMun", messages->msgBowMun); ^ src/Gui.cpp:711:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpHandMun", messages->msgHandsMun); ^ src/Gui.cpp:712:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpBombMun", messages->msgBombsMun); ^ src/Gui.cpp:713:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "msgPickedUpStaffMun", messages->msgStaffMun); ^ src/Gui.cpp: In function 'void LoadGUIParameters()': src/Gui.cpp:731:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kHealthPanelHeight = GetLongConstant(f, "kHealthPanelHeight"); ^ src/Gui.cpp:732:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kHealthPanelPosX = GetLongConstant(f, "kHealthPanelPosX"); ^ src/Gui.cpp:733:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kHealthPanelPosY = GetLongConstant(f, "kHealthPanelPosY"); ^ src/Gui.cpp:734:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kHealthPanelRefreshRate = GetLongConstant(f, "kHealthPanelRefreshRate"); ^ src/Gui.cpp:735:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kHealthPanelWidth = GetLongConstant(f, "kHealthPanelWidth"); ^ src/Gui.cpp:736:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kOxygenPanelHeight = GetLongConstant(f, "kOxygenPanelHeight"); ^ src/Gui.cpp:737:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kOxygenPanelPosX = GetLongConstant(f, "kOxygenPanelPosX"); ^ src/Gui.cpp:738:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kOxygenPanelPosY = GetLongConstant(f, "kOxygenPanelPosY"); ^ src/Gui.cpp:739:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kOxygenPanelRefreshRate = GetLongConstant(f, "kOxygenPanelRefreshRate"); ^ src/Gui.cpp:740:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kOxygenPanelWidth = GetLongConstant(f, "kOxygenPanelWidth"); ^ src/Gui.cpp:741:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kWeaponPanelHeight = GetLongConstant(f, "kWeaponPanelHeight"); ^ src/Gui.cpp:742:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kWeaponPanelPosX = GetLongConstant(f, "kWeaponPanelPosX"); ^ src/Gui.cpp:743:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kWeaponPanelPosY = GetLongConstant(f, "kWeaponPanelPosY"); ^ src/Gui.cpp:744:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kWeaponPanelWidth = GetLongConstant(f, "kWeaponPanelWidth"); ^ src/Gui.cpp:745:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kWeaponStatusWidth = GetLongConstant(f, "kWeaponStatusWidth"); ^ src/Gui.cpp:747:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kUserMenuEntryDY = GetLongConstant(f, "kUserMenuEntryDY"); ^ src/Gui.cpp:748:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kUserMenuEntryPosX = GetLongConstant(f, "kUserMenuEntryPosX"); ^ src/Gui.cpp:749:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kUserMenuEntryPosY = GetLongConstant(f, "kUserMenuEntryPosY"); ^ src/Gui.cpp:750:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kUserMenuHeight = GetLongConstant(f, "kUserMenuHeight"); ^ src/Gui.cpp:751:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kUserMenuPosX = GetLongConstant(f, "kUserMenuPosX"); ^ src/Gui.cpp:752:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kUserMenuPosY = GetLongConstant(f, "kUserMenuPosY"); ^ src/Gui.cpp:753:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kUserMenuWidth = GetLongConstant(f, "kUserMenuWidth"); ^ src/Gui.cpp:754:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kHelpMenuEntryDY = GetLongConstant(f, "kHelpMenuEntryDY"); ^ src/Gui.cpp:756:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kInfoTextLeft = GetLongConstant(f, "kInfoTextLeft"); ^ src/Gui.cpp:757:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kInfoTextTop = GetLongConstant(f, "kInfoTextTop"); ^ src/Gui.cpp:758:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kInfoTextTime = GetLongConstant(f, "kInfoTextTime"); ^ src/Gui.cpp:760:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kUserMainPageTitle", gGUIConst->kUserMainPageTitle); ^ src/Gui.cpp:761:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kUserMenuEntry1", gGUIConst->kUserMenuEntry1); ^ src/Gui.cpp:762:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kUserMenuEntry2", gGUIConst->kUserMenuEntry2); ^ src/Gui.cpp:763:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kUserMenuEntry3", gGUIConst->kUserMenuEntry3); ^ src/Gui.cpp:764:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kUserMenuEntry4", gGUIConst->kUserMenuEntry4); ^ src/Gui.cpp:765:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kUserMenuEntry5", gGUIConst->kUserMenuEntry5); ^ src/Gui.cpp:767:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kNewGamePageTitle", gGUIConst->kNewGamePageTitle); ^ src/Gui.cpp:768:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kNewGameEntry1", gGUIConst->kNewGameEntry1); ^ src/Gui.cpp:769:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kNewGameEntry2", gGUIConst->kNewGameEntry2); ^ src/Gui.cpp:770:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kNewGameEntry3", gGUIConst->kNewGameEntry3); ^ src/Gui.cpp:771:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kNewGameEntry4", gGUIConst->kNewGameEntry4); ^ src/Gui.cpp:773:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kNoSavedGame", gGUIConst->kNoSavedGame); ^ src/Gui.cpp:774:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kSavePageTitle", gGUIConst->kSavePageTitle); ^ src/Gui.cpp:775:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kLoadPageTitle", gGUIConst->kLoadPageTitle); ^ src/Gui.cpp:776:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kHelpPageTitle", gGUIConst->kHelpPageTitle); ^ src/Gui.cpp:778:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kSavedGame0", gGUIConst->kSavedGames[0]); ^ src/Gui.cpp:779:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kSavedGame1", gGUIConst->kSavedGames[1]); ^ src/Gui.cpp:780:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kSavedGame2", gGUIConst->kSavedGames[2]); ^ src/Gui.cpp:781:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kSavedGame3", gGUIConst->kSavedGames[3]); ^ src/Gui.cpp:782:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kSavedGame4", gGUIConst->kSavedGames[4]); ^ src/Gui.cpp:783:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kSavedGame5", gGUIConst->kSavedGames[5]); ^ src/Gui.cpp:785:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kKeyHitDelay = GetLongConstant(f, "kKeyHitDelay"); ^ src/Gui.cpp:787:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gGUIConst->kCreditsEntryDY = GetLongConstant(f, "kCreditsEntryDY"); ^ src/Gui.cpp:788:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kCreditsPageTitle", gGUIConst->kCreditsPageTitle); ^ src/Gui.cpp:789:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kCreditsEntry1", gGUIConst->kCreditsEntry1); ^ src/Gui.cpp:790:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kCreditsEntry2", gGUIConst->kCreditsEntry2); ^ src/Gui.cpp:791:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kCreditsEntry3", gGUIConst->kCreditsEntry3); ^ src/Gui.cpp:792:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kCreditsEntry4", gGUIConst->kCreditsEntry4); ^ src/Gui.cpp:793:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(f, "kCreditsEntry5", gGUIConst->kCreditsEntry5); ^ 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/ConstVal.o src/Appl.cpp: In constructor 'CApplication::CApplication()': src/Appl.cpp:29:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSystem = new CSystem("Amphetamine"); ^ src/Appl.cpp: In member function 'void CApplication::RunLevel()': src/Appl.cpp:247:39: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(fps, "%02d", saveFrameCount); ^ 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Creeper.o src/Appl.cpp:250:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(fps, "%02d", frameCount); ^ In file included from src/Element.hpp:4:0, from src/Element.cpp:1: src/Element.cpp: In member function 'virtual void CElement::Read(FILE*)': src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Element.cpp:344:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Element.cpp:345:2: note: in expansion of macro 'READDATA' READDATA(typeID); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Element.cpp:349:2: note: in expansion of macro 'READDATA' READDATA(bitData); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Element.cpp:350:2: note: in expansion of macro 'READDATA' READDATA(lastState); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Element.cpp:351:2: note: in expansion of macro 'READDATA' READDATA(iconID); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Element.cpp:352:2: note: in expansion of macro 'READDATA' READDATA(brightness); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Element.cpp:353:2: note: in expansion of macro 'READDATA' READDATA(brightness2); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Element.cpp:354:2: note: in expansion of macro 'READDATA' READDATA(key); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Element.cpp:355:2: note: in expansion of macro 'READDATA' READDATA(refNum); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Element.cpp:356:2: note: in expansion of macro 'READDATA' READDATA(data); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Element.cpp:360:2: note: in expansion of macro 'READDATA' READDATA(elemThings); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Element.cpp:362:3: note: in expansion of macro 'READDATA' READDATA(elementThings->teleportBlinkTime); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Element.cpp:363:3: note: in expansion of macro 'READDATA' READDATA(elementThings->savePortBlinkTime); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Element.cpp:364:3: note: in expansion of macro 'READDATA' READDATA(elementThings->exitPortBlinkTime); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Element.cpp:365:3: note: in expansion of macro 'READDATA' READDATA(elementThings->passiveHasChanged); ^ In file included from src/Thing.hpp:4:0, 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:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:494:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:495:2: note: in expansion of macro 'READDATA' READDATA(typeID); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:496:2: note: in expansion of macro 'READDATA' READDATA(thingNumber); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:507:4: note: in expansion of macro 'READDATA' READDATA(tailX[n]); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:508:4: note: in expansion of macro 'READDATA' READDATA(tailY[n]); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:512:2: note: in expansion of macro 'READDATA' READDATA(tailStep); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:513:2: note: in expansion of macro 'READDATA' READDATA(targetposition); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:514:2: note: in expansion of macro 'READDATA' READDATA(directionUnitx); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:515:2: note: in expansion of macro 'READDATA' READDATA(directionUnity); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:516:2: note: in expansion of macro 'READDATA' READDATA(action); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:517:2: note: in expansion of macro 'READDATA' READDATA(detonationStartTime); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:518:2: note: in expansion of macro 'READDATA' READDATA(noDetonation); ^ src/Bullet.cpp: In member function 'virtual void CSorceryBullet::Read(FILE*)': src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:543:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:544:2: note: in expansion of macro 'READDATA' READDATA(typeID); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:545:2: note: in expansion of macro 'READDATA' READDATA(thingNumber); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:549:2: note: in expansion of macro 'READDATA' READDATA(numBounces); ^ src/Bullet.cpp: In member function 'virtual void CBombBullet::Read(FILE*)': src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:573:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:574:2: note: in expansion of macro 'READDATA' READDATA(typeID); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:575:2: note: in expansion of macro 'READDATA' READDATA(thingNumber); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:579:2: note: in expansion of macro 'READDATA' READDATA(detonate); ^ src/Bullet.cpp: In member function 'virtual void CSineBullet::Read(FILE*)': src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:605:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:606:2: note: in expansion of macro 'READDATA' READDATA(typeID); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:607:2: note: in expansion of macro 'READDATA' READDATA(thingNumber); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:611:2: note: in expansion of macro 'READDATA' READDATA(distance); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:612:2: note: in expansion of macro 'READDATA' READDATA(radius); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:613:2: note: in expansion of macro 'READDATA' READDATA(period); ^ src/Bullet.cpp: In member function 'virtual void CGuidedBullet::Read(FILE*)': src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:640:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:641:2: note: in expansion of macro 'READDATA' READDATA(typeID); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:642:2: note: in expansion of macro 'READDATA' READDATA(thingNumber); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:646:2: note: in expansion of macro 'READDATA' READDATA(initAbstSign); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:647:2: note: in expansion of macro 'READDATA' READDATA(lastfx); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:648:2: note: in expansion of macro 'READDATA' READDATA(lastfy); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Bullet.cpp:649:2: note: in expansion of macro 'READDATA' READDATA(lastf); ^ 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Item.o src/ConstVal.cpp: In function 'void LoadParameters()': src/ConstVal.cpp:26:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kVelocityUnit = GetDoubleConstant(paramFile, "kVelocityUnit"); ^ src/ConstVal.cpp:27:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kPlayerAcceleration = GetDoubleConstant(paramFile, "kPlayerAcceleration"); ^ src/ConstVal.cpp:28:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kPlayerLiquidAccel = GetDoubleConstant(paramFile, "kPlayerLiquidAccel"); ^ src/ConstVal.cpp:29:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kRunScaleFactor = GetDoubleConstant(paramFile, "kRunScaleFactor"); ^ src/ConstVal.cpp:30:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kJumpVelocity = GetDoubleConstant(paramFile, "kJumpVelocity"); ^ src/ConstVal.cpp:31:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kJumpAccelerationTime = GetLongConstant(paramFile, "kJumpAccelerationTime"); ^ src/ConstVal.cpp:32:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kTeleportTime = GetLongConstant(paramFile, "kTeleportTime"); ^ src/ConstVal.cpp:33:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kPlayerWidth = GetLongConstant(paramFile, "kPlayerWidth"); ^ src/ConstVal.cpp:34:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kBulletWidth = GetLongConstant(paramFile, "kBulletWidth"); ^ src/ConstVal.cpp:35:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kFirehandNumOfBullets = GetLongConstant(paramFile, "kFirehandNumOfBullets"); ^ src/ConstVal.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kFirehandAngle = (double)GetLongConstant(paramFile, "kFirehandAngle") * 3.141 / 180; ^ src/ConstVal.cpp:37:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kStaffLoadTime = GetLongConstant(paramFile, "kStaffLoadTime"); ^ src/ConstVal.cpp:38:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kInitialOxygen = GetLongConstant(paramFile, "kInitialOxygen"); ^ src/ConstVal.cpp:39:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kOxygenDecrease = GetDoubleConstant(paramFile, "kOxygenDecrease"); ^ src/ConstVal.cpp:40:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kLavaDamage = GetLongConstant(paramFile, "kLavaDamage"); ^ src/ConstVal.cpp:41:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kPlayersFirstWeaponShape = GetLongConstant(paramFile, "kPlayersFirstWeaponShape"); ^ src/ConstVal.cpp:42:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kPickupTime = GetLongConstant(paramFile, "kPickupTime"); ^ src/ConstVal.cpp:44:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kBulletTailLength = GetLongConstant(paramFile, "kBulletTailLength"); ^ src/ConstVal.cpp:45:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kBulletTailDistance = GetLongConstant(paramFile, "kBulletTailDistance"); ^ src/ConstVal.cpp:46:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kDetonationFrameTime = GetDoubleConstant(paramFile, "kDetonationFrameTime"); ^ src/ConstVal.cpp:47:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kWalkFrameTime = GetLongConstant(paramFile, "kWalkFrameTime"); ^ src/ConstVal.cpp:48:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kShootFrameTime = GetLongConstant(paramFile, "kShootFrameTime"); ^ src/ConstVal.cpp:49:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kWeaponChangeTime = GetLongConstant(paramFile, "kWeaponChangeTime"); ^ src/ConstVal.cpp:50:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kActionDelayTime = GetLongConstant(paramFile, "kActionDelayTime"); ^ src/ConstVal.cpp:51:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kDieFrameTime = GetLongConstant(paramFile, "kDieFrameTime"); ^ src/ConstVal.cpp:52:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kDriftSpeed = GetLongConstant(paramFile, "kDriftSpeed"); ^ src/ConstVal.cpp:53:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kWeaponCarryHeight = GetLongConstant(paramFile, "kWeaponCarryHeight"); ^ src/ConstVal.cpp:55:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kTeleportBlinkTime = GetLongConstant(paramFile, "kTeleportBlinkTime"); ^ src/ConstVal.cpp:56:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kSavePortBlinkTime = GetLongConstant(paramFile, "kSavePortBlinkTime"); ^ src/ConstVal.cpp:57:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kExitPortBlinkTime = GetLongConstant(paramFile, "kExitPortBlinkTime"); ^ src/ConstVal.cpp:59:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kGravitation = GetDoubleConstant(paramFile, "kGravitation"); ^ src/ConstVal.cpp:60:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kNormalFriction = GetDoubleConstant(paramFile, "kNormalFriction"); ^ src/ConstVal.cpp:61:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kLiquidFriction = GetDoubleConstant(paramFile, "kLiquidFriction"); ^ src/ConstVal.cpp:62:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kMaxFallingSpeed = GetDoubleConstant(paramFile, "kMaxFallingSpeed"); ^ src/ConstVal.cpp:64:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kJumperJumpAcceleration = GetDoubleConstant(paramFile, "kJumperJumpAcceleration"); ^ src/ConstVal.cpp:66:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kNumOfBounces = GetLongConstant(paramFile, "kNumOfBounces"); ^ src/ConstVal.cpp:67:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kSineWeaponRad = GetLongConstant(paramFile, "kSineWeaponRad"); ^ src/ConstVal.cpp:68:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kMaxTurnAngle = (double)GetLongConstant(paramFile, "kMaxTurnAngle") * 3.141 / 180.0; ^ src/ConstVal.cpp:69:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kWargFastSpeedup = (double)GetLongConstant(paramFile, "kWargFastSpeedup"); ^ src/ConstVal.cpp:70:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kWargNearWeaponRadix = GetLongConstant(paramFile, "kWargNearWeaponRadix"); ^ src/ConstVal.cpp:71:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kWargJumpAcceleration = GetDoubleConstant(paramFile, "kWargJumpAcceleration"); ^ src/ConstVal.cpp:72:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kDelayAfterWargDeath = GetLongConstant(paramFile, "kDelayAfterWargDeath"); ^ src/ConstVal.cpp:74:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kActivateDistance = GetLongConstant(paramFile, "kActivateDistance"); ^ src/ConstVal.cpp:75:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kTreatDistance = GetLongConstant(paramFile, "kTreatDistance"); ^ src/ConstVal.cpp:76:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kBrightnessLevels[0] = GetLongConstant(paramFile, "kLight"); ^ src/ConstVal.cpp:77:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kBrightnessLevels[1] = GetLongConstant(paramFile, "kMedium"); ^ src/ConstVal.cpp:78:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kBrightnessLevels[2] = GetLongConstant(paramFile, "kDark"); ^ src/ConstVal.cpp:79:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kBrightnessLevels[3] = GetLongConstant(paramFile, "kVeryDark"); ^ src/ConstVal.cpp:81:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kWeaponSF[0] = GetDoubleConstant(paramFile, "kWeaponSF1"); ^ src/ConstVal.cpp:82:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kWeaponSF[1] = GetDoubleConstant(paramFile, "kWeaponSF2"); ^ src/ConstVal.cpp:83:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kWeaponSF[2] = GetDoubleConstant(paramFile, "kWeaponSF3"); ^ src/ConstVal.cpp:84:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kWeaponSF[3] = GetDoubleConstant(paramFile, "kWeaponSF4"); ^ src/ConstVal.cpp:85:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kHealthSF[0] = GetDoubleConstant(paramFile, "kHealthSF1"); ^ src/ConstVal.cpp:86:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kHealthSF[1] = GetDoubleConstant(paramFile, "kHealthSF2"); ^ src/ConstVal.cpp:87:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kHealthSF[2] = GetDoubleConstant(paramFile, "kHealthSF3"); ^ src/ConstVal.cpp:88:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kHealthSF[3] = GetDoubleConstant(paramFile, "kHealthSF4"); ^ src/ConstVal.cpp:89:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kSpeedSF[0] = GetDoubleConstant(paramFile, "kSpeedSF1"); ^ src/ConstVal.cpp:90:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kSpeedSF[1] = GetDoubleConstant(paramFile, "kSpeedSF2"); ^ src/ConstVal.cpp:91:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kSpeedSF[2] = GetDoubleConstant(paramFile, "kSpeedSF3"); ^ src/ConstVal.cpp:92:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kSpeedSF[3] = GetDoubleConstant(paramFile, "kSpeedSF4"); ^ src/ConstVal.cpp:94:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kFlickeringPeriod = GetLongConstant(paramFile, "kFlickeringPeriod"); ^ src/ConstVal.cpp:95:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kLightningRadiant = GetLongConstant(paramFile, "kLightningRadiant"); ^ src/ConstVal.cpp:96:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kBkgndScrollFactor = GetDoubleConstant(paramFile, "kBkgndScrollFactor"); ^ src/ConstVal.cpp:97:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kCoronaFadeSpeed = GetDoubleConstant(paramFile, "kCoronaFadeSpeed"); ^ src/ConstVal.cpp:99:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kBlessureInvulnerabilityTime = GetLongConstant(paramFile, "kBlessureInvulnerabilityTime"); ^ src/ConstVal.cpp:100:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kMonsterTouchBlessure = GetLongConstant(paramFile, "kMonsterTouchBlessure"); ^ src/ConstVal.cpp:101:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kItemExplosionRad = GetLongConstant(paramFile, "kItemExplosionRad"); ^ src/ConstVal.cpp:102:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kItemExplosionStartShape = GetLongConstant(paramFile, "kItemExplosionStartShape"); ^ src/ConstVal.cpp:104:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kHealthPanelColor = GetLongConstant(paramFile, "kHealthPanelColor"); ^ src/ConstVal.cpp:105:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kOxygenPanelColor = GetLongConstant(paramFile, "kOxygenPanelColor"); ^ src/ConstVal.cpp:106:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kShadowmodeDarkening = GetLongConstant(paramFile, "kShadowmodeDarkening"); ^ src/ConstVal.cpp:107:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kFadeTime = GetLongConstant(paramFile, "kFadeTime"); ^ src/ConstVal.cpp:108:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kStartupTime = GetLongConstant(paramFile, "kStartupTime"); ^ src/ConstVal.cpp:110:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kTextYDistance = GetLongConstant(paramFile, "kTextYDistance"); ^ src/ConstVal.cpp:111:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kCameraSpeed = GetLongConstant(paramFile, "kCameraSpeed"); ^ src/ConstVal.cpp:113:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kSoundMaxDistance = GetLongConstant(paramFile, "kSoundMaxDistance"); ^ src/ConstVal.cpp:114:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kSoundMinDistance = GetLongConstant(paramFile, "kSoundMinDistance"); ^ src/ConstVal.cpp:116:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFilePalette", gConst->kFilePalette); ^ src/ConstVal.cpp:117:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileLevel", gConst->kFileLevel); ^ src/ConstVal.cpp:118:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileMonster", gConst->kFileMonster); ^ src/ConstVal.cpp:119:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileWeapon", gConst->kFileWeapon); ^ src/ConstVal.cpp:120:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileInfo", gConst->kFileInfo); ^ src/ConstVal.cpp:121:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFilePlatform", gConst->kFilePlatform); ^ src/ConstVal.cpp:122:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileObjects", gConst->kFileObjects); ^ src/ConstVal.cpp:123:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileShapes", gConst->kFileShapes); ^ src/ConstVal.cpp:124:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileBackground1", gConst->kFileBackground1); ^ src/ConstVal.cpp:125:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileBackground2", gConst->kFileBackground2); ^ src/ConstVal.cpp:126:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileCluts", gConst->kFileCluts); ^ src/ConstVal.cpp:127:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileGUIs", gConst->kFileGUIs); ^ src/ConstVal.cpp:128:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileConfig", gConst->kFileConfig); ^ src/ConstVal.cpp:129:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kFileStartup", gConst->kFileStartup); ^ src/ConstVal.cpp:132:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName1", gConst->kMonsterNames[0]); ^ src/ConstVal.cpp:133:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName2", gConst->kMonsterNames[1]); ^ src/ConstVal.cpp:134:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName3", gConst->kMonsterNames[2]); ^ src/ConstVal.cpp:135:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName4", gConst->kMonsterNames[3]); ^ src/ConstVal.cpp:136:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName5", gConst->kMonsterNames[4]); ^ src/ConstVal.cpp:137:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName6", gConst->kMonsterNames[5]); ^ src/ConstVal.cpp:138:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName7", gConst->kMonsterNames[6]); ^ src/ConstVal.cpp:139:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName8", gConst->kMonsterNames[7]); ^ src/ConstVal.cpp:140:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName9", gConst->kMonsterNames[8]); ^ src/ConstVal.cpp:141:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName10", gConst->kMonsterNames[9]); ^ src/ConstVal.cpp:142:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "kMonsterName11", gConst->kMonsterNames[10]); ^ src/ConstVal.cpp:144:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kMonsterNameSpeed = GetLongConstant(paramFile, "kMonsterNameSpeed"); ^ src/ConstVal.cpp:145:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kMonsterNameX = GetLongConstant(paramFile, "kMonsterNameX"); ^ src/ConstVal.cpp:148:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConst->kShowFPS = GetLongConstant(paramFile, "kShowFPS"); ^ src/ConstVal.cpp:164:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->leftKey = GetLongConstant(paramFile, "LeftKey"); ^ src/ConstVal.cpp:165:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "LeftKeyText", gConfigData->leftKeyText); ^ src/ConstVal.cpp:166:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->rightKey = GetLongConstant(paramFile, "RightKey"); ^ src/ConstVal.cpp:167:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "RightKeyText", gConfigData->rightKeyText); ^ src/ConstVal.cpp:168:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->jumpKey = GetLongConstant(paramFile, "JumpKey"); ^ src/ConstVal.cpp:169:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "JumpKeyText", gConfigData->jumpKeyText); ^ src/ConstVal.cpp:170:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->runKey = GetLongConstant(paramFile, "RunKey"); ^ src/ConstVal.cpp:171:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "RunKeyText", gConfigData->runKeyText); ^ src/ConstVal.cpp:172:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->shootKey = GetLongConstant(paramFile, "ShootKey"); ^ src/ConstVal.cpp:173:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "ShootKeyText", gConfigData->shootKeyText); ^ src/ConstVal.cpp:174:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->nextWeaponKey = GetLongConstant(paramFile, "NextWeaponKey"); ^ src/ConstVal.cpp:175:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "NextWeaponKeyText", gConfigData->nextWeaponKeyText); ^ src/ConstVal.cpp:176:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->prevWeaponKey = GetLongConstant(paramFile, "PrevWeaponKey"); ^ src/ConstVal.cpp:177:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "PrevWeaponKeyText", gConfigData->prevWeaponKeyText); ^ src/ConstVal.cpp:178:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->activateKey = GetLongConstant(paramFile, "ActivateKey"); ^ src/ConstVal.cpp:179:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GetStringConstant(paramFile, "ActivateKeyText", gConfigData->activateKeyText); ^ src/ConstVal.cpp:181:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->weapon1Key = GetLongConstant(paramFile, "Weapon1Key"); ^ src/ConstVal.cpp:182:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->weapon2Key = GetLongConstant(paramFile, "Weapon2Key"); ^ src/ConstVal.cpp:183:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->weapon3Key = GetLongConstant(paramFile, "Weapon3Key"); ^ src/ConstVal.cpp:184:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->weapon4Key = GetLongConstant(paramFile, "Weapon4Key"); ^ src/ConstVal.cpp:185:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->weapon5Key = GetLongConstant(paramFile, "Weapon5Key"); ^ src/ConstVal.cpp:186:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->weapon6Key = GetLongConstant(paramFile, "Weapon6Key"); ^ src/ConstVal.cpp:187:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->weapon7Key = GetLongConstant(paramFile, "Weapon7Key"); ^ src/ConstVal.cpp:188:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->weapon8Key = GetLongConstant(paramFile, "Weapon8Key"); ^ src/ConstVal.cpp:190:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->soundVolume = GetLongConstant(paramFile, "SoundVolume"); ^ src/ConstVal.cpp:192:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->screenWidth = GetLongConstant(paramFile, "ScreenWidth"); ^ src/ConstVal.cpp:193:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->screenHeight = GetLongConstant(paramFile, "ScreenHeight"); ^ src/ConstVal.cpp:195:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->disableCoronas = GetLongConstant(paramFile, "DisableCoronas"); ^ src/ConstVal.cpp:196:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->disableLightning = GetLongConstant(paramFile, "DisableLightning"); ^ src/ConstVal.cpp:197:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gConfigData->disableShapeModes = GetLongConstant(paramFile, "DisableShapeModes"); ^ 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Level.o 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Main.o In file included from src/Thing.hpp:4:0, 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:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Item.cpp:271:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Item.cpp:272:2: note: in expansion of macro 'READDATA' READDATA(typeID); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Item.cpp:273:2: note: in expansion of macro 'READDATA' READDATA(thingNumber); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Item.cpp:277:2: note: in expansion of macro 'READDATA' READDATA(isCorona); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Item.cpp:278:2: note: in expansion of macro 'READDATA' READDATA(detonationStartTime); ^ src/Item.cpp: In member function 'virtual void CPortableItem::Read(FILE*)': src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Item.cpp:304:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Item.cpp:305:2: note: in expansion of macro 'READDATA' READDATA(typeID); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Item.cpp:306:2: note: in expansion of macro 'READDATA' READDATA(thingNumber); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Item.cpp:310:2: note: in expansion of macro 'READDATA' READDATA(pickedUp); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Item.cpp:311:2: note: in expansion of macro 'READDATA' READDATA(type); ^ 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Monster.o src/Level.cpp: In constructor 'CLevel::CLevel(short int, char*)': src/Level.cpp:42:135: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFileLevel))) gSystem->Error("File kFileLevel not found or not able to open it", 0); // by LL ^ src/Level.cpp: In member function 'void CLevel::WriteLevel(char*)': src/Level.cpp:222:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] gSystem->Error("Cannot open the saving file", 0); ^ src/Level.cpp: In member function 'short int CLevel::ReadLevel(char*)': src/Level.cpp:299:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!f) gSystem->Error("Cannot open the saving file", 0); ^ src/Level.cpp: In member function 'void CLevel::GetSavedGameTitle(char*, char*)': src/Level.cpp:273:59: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] if (f) fread(&versionNumber, sizeof(versionNumber), 1, f); ^ src/Level.cpp:274:39: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] if (f) fread(&key, sizeof(key), 1, f); ^ src/Level.cpp:279:35: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&time, sizeof(time), 1, f); ^ src/Level.cpp: In member function 'short int CLevel::ReadLevel(char*)': src/Level.cpp:302:52: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&versionNumber, sizeof(versionNumber), 1, f); if (versionNumber != kVersionNumber) return 0; ^ src/Level.cpp:303:32: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&key, sizeof(key), 1, f); if (key != kVersionKey) return 0; ^ src/Level.cpp:304:40: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&theTime, sizeof(theTime), 1, f); ^ src/Level.cpp:305:36: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&ticks, sizeof(ticks), 1, f); ^ src/Level.cpp:306:74: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&gApplication->difficulty, sizeof(gApplication->difficulty), 1, f); ^ src/Level.cpp:307:42: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&fileSize, sizeof(fileSize), 1, f); ^ src/Level.cpp:308:76: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&gApplication->levelNumber, sizeof(gApplication->levelNumber), 1, f); ^ src/Level.cpp:315:36: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&size, sizeof(size), 1, f); ^ src/Level.cpp:316:40: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&typeID, sizeof(typeID), 1, f); ^ src/Level.cpp:333:35: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&size, sizeof(size), 1, f); ^ src/Level.cpp:334:39: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&typeID, sizeof(typeID), 1, f); ^ src/Level.cpp:335:49: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&thingNumber, sizeof(thingNumber), 1, f); ^ 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Monstrxx.o 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Object.o In file included from src/Thing.hpp:4:0, 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:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monster.cpp:349:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monster.cpp:350:2: note: in expansion of macro 'READDATA' READDATA(typeID); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monster.cpp:351:2: note: in expansion of macro 'READDATA' READDATA(thingNumber); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monster.cpp:359:2: note: in expansion of macro 'READDATA' READDATA(speed); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monster.cpp:360:2: note: in expansion of macro 'READDATA' READDATA(lastWalkTime); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monster.cpp:361:2: note: in expansion of macro 'READDATA' READDATA(lastShootTime); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monster.cpp:362:2: note: in expansion of macro 'READDATA' READDATA(walkFrame); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monster.cpp:363:2: note: in expansion of macro 'READDATA' READDATA(status); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monster.cpp:364:2: note: in expansion of macro 'READDATA' READDATA(lastCollisionCode); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monster.cpp:365:2: note: in expansion of macro 'READDATA' READDATA(flying); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monster.cpp:366:2: note: in expansion of macro 'READDATA' READDATA(teleportDeltaTime); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monster.cpp:367:2: note: in expansion of macro 'READDATA' READDATA(teleportCounter); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monster.cpp:368:2: note: in expansion of macro 'READDATA' READDATA(lastBlessureTime); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monster.cpp:369:2: note: in expansion of macro 'READDATA' READDATA(dieFrameTime); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monster.cpp:370:2: note: in expansion of macro 'READDATA' READDATA(dieFrame); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monster.cpp:371:2: note: in expansion of macro 'READDATA' READDATA(doDarken); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monster.cpp:372:2: note: in expansion of macro 'READDATA' READDATA(health); ^ 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/ObjInfo.o src/ObjInfo.cpp: In member function 'void CObjInfo::LoadMonsters(short int)': src/ObjInfo.cpp:45:138: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFileMonster))) gSystem->Error("Cannot find file kFileMonster or unable to open it", 0); // by LL ^ src/ObjInfo.cpp: In member function 'void CObjInfo::LoadItems(short int)': src/ObjInfo.cpp:78:137: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFileObjects))) gSystem->Error("Cannot find file kFileObjects or uable to open it", 0); // by LL ^ src/ObjInfo.cpp: In member function 'void CObjInfo::LoadWeapons(short int)': src/ObjInfo.cpp:95:136: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFileWeapon))) gSystem->Error("Cannot find file kFileWeapon or unable to open it", 0); // by LL ^ src/ObjInfo.cpp: In member function 'void CObjInfo::LoadPlatforms(short int)': src/ObjInfo.cpp:123:140: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFilePlatform))) gSystem->Error("Cannot find file kFilePlatform or unable to open it", 0); // by LL ^ In file included from src/ObjInfo.hpp:4:0, from src/ObjInfo.cpp:1: src/ObjInfo.cpp: In member function 'void CObjInfo::LoadMonsters(short int)': src/ObjInfo.cpp:55:50: warning: iteration 2u invokes undefined behavior [-Waggressive-loop-optimizations] TRANS_PUT_NUM(monsterInfo[n]->additionalData[m]); ^ src/File.hpp:25:35: note: in definition of macro 'SWAP_PUT_SHORT' #define SWAP_PUT_SHORT(x) ((x) = (x << 8) | (((unsigned short)x) >> 8)) ^ src/ObjInfo.cpp:55:4: note: in expansion of macro 'TRANS_PUT_NUM' TRANS_PUT_NUM(monsterInfo[n]->additionalData[m]); ^ src/ObjInfo.cpp:53:23: note: containing loop for (short m = 0; m < 3; m ++) { ^ In file included from src/Object.cpp:1:0: src/Object.cpp: In member function 'virtual void CObject::Read(FILE*)': src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Object.cpp:314:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Object.cpp:315:2: note: in expansion of macro 'READDATA' READDATA(typeID); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Object.cpp:317:2: note: in expansion of macro 'READDATA' READDATA(xs); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Object.cpp:318:2: note: in expansion of macro 'READDATA' READDATA(ys); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Object.cpp:319:2: note: in expansion of macro 'READDATA' READDATA(xe); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Object.cpp:320:2: note: in expansion of macro 'READDATA' READDATA(ye); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Object.cpp:321:2: note: in expansion of macro 'READDATA' READDATA(xm); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Object.cpp:322:2: note: in expansion of macro 'READDATA' READDATA(ym); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Object.cpp:323:2: note: in expansion of macro 'READDATA' READDATA(weight); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Object.cpp:324:2: note: in expansion of macro 'READDATA' READDATA(forceVectorX); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Object.cpp:325:2: note: in expansion of macro 'READDATA' READDATA(forceVectorY); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Object.cpp:326:2: note: in expansion of macro 'READDATA' READDATA(environmentForceX); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Object.cpp:327:2: note: in expansion of macro 'READDATA' READDATA(environmentForceY); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Object.cpp:328:2: note: in expansion of macro 'READDATA' READDATA(gravitation); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Object.cpp:329:2: note: in expansion of macro 'READDATA' READDATA(resForceX); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Object.cpp:330:2: note: in expansion of macro 'READDATA' READDATA(resForceY); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Object.cpp:331:2: note: in expansion of macro 'READDATA' READDATA(background); ^ 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Player.o In file included from src/Thing.hpp:4:0, 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:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:447:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:448:2: note: in expansion of macro 'READDATA' READDATA(typeID); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:449:2: note: in expansion of macro 'READDATA' READDATA(thingNumber); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:453:2: note: in expansion of macro 'READDATA' READDATA(nextShootTime); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:454:2: note: in expansion of macro 'READDATA' READDATA(currentShootDelay); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:455:2: note: in expansion of macro 'READDATA' READDATA(lastShoot); ^ 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Pltform.o src/Monstrxx.cpp: In member function 'virtual void CJumper::Read(FILE*)': src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:483:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:484:2: note: in expansion of macro 'READDATA' READDATA(typeID); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:485:2: note: in expansion of macro 'READDATA' READDATA(thingNumber); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:489:2: note: in expansion of macro 'READDATA' READDATA(nextShootTime); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:490:2: note: in expansion of macro 'READDATA' READDATA(currentShootDelay); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:491:2: note: in expansion of macro 'READDATA' READDATA(lastShoot); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:492:2: note: in expansion of macro 'READDATA' READDATA(inJump); ^ src/Monstrxx.cpp: In member function 'virtual void CFlyer::Read(FILE*)': src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:520:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:521:2: note: in expansion of macro 'READDATA' READDATA(typeID); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:522:2: note: in expansion of macro 'READDATA' READDATA(thingNumber); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:526:2: note: in expansion of macro 'READDATA' READDATA(nextShootTime); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:527:2: note: in expansion of macro 'READDATA' READDATA(currentShootDelay); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:528:2: note: in expansion of macro 'READDATA' READDATA(lastShoot); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:529:2: note: in expansion of macro 'READDATA' READDATA(rescueMeX); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:530:2: note: in expansion of macro 'READDATA' READDATA(rescueMeY); ^ src/Monstrxx.cpp: In member function 'virtual void CWarg::Read(FILE*)': src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:561:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:562:2: note: in expansion of macro 'READDATA' READDATA(typeID); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:563:2: note: in expansion of macro 'READDATA' READDATA(thingNumber); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:571:2: note: in expansion of macro 'READDATA' READDATA(nextShootTime); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:572:2: note: in expansion of macro 'READDATA' READDATA(currentShootDelay); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:573:2: note: in expansion of macro 'READDATA' READDATA(lastShoot); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:574:2: note: in expansion of macro 'READDATA' READDATA(inJump); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Monstrxx.cpp:575:2: note: in expansion of macro 'READDATA' READDATA(speedup); ^ In file included from src/Thing.hpp:4:0, 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:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Player.cpp:510:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Player.cpp:511:2: note: in expansion of macro 'READDATA' READDATA(typeID); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Player.cpp:512:2: note: in expansion of macro 'READDATA' READDATA(thingNumber); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Player.cpp:520:2: note: in expansion of macro 'READDATA' READDATA(jumpTime); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Player.cpp:521:2: note: in expansion of macro 'READDATA' READDATA(currentWeapon); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Player.cpp:522:2: note: in expansion of macro 'READDATA' READDATA(lastWeaponChanging); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Player.cpp:523:2: note: in expansion of macro 'READDATA' READDATA(lastPickupTime); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Player.cpp:524:2: note: in expansion of macro 'READDATA' READDATA(lastActionTime); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Player.cpp:525:2: note: in expansion of macro 'READDATA' READDATA(teleportRefNum); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Player.cpp:526:2: note: in expansion of macro 'READDATA' READDATA(currentJob); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Player.cpp:528:2: note: in expansion of macro 'READDATA' READDATA(oxygen); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Player.cpp:529:2: note: in expansion of macro 'READDATA' READDATA(lastOxygenDecTime); ^ In file included from src/Thing.hpp:4:0, 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:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Pltform.cpp:259:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Pltform.cpp:260:2: note: in expansion of macro 'READDATA' READDATA(typeID); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Pltform.cpp:261:2: note: in expansion of macro 'READDATA' READDATA(thingNumber); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Pltform.cpp:265:2: note: in expansion of macro 'READDATA' READDATA(origHeight); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Pltform.cpp:266:2: note: in expansion of macro 'READDATA' READDATA(action); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Pltform.cpp:267:2: note: in expansion of macro 'READDATA' READDATA(startx); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Pltform.cpp:268:2: note: in expansion of macro 'READDATA' READDATA(starty); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Pltform.cpp:269:2: note: in expansion of macro 'READDATA' READDATA(endx); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Pltform.cpp:270:2: note: in expansion of macro 'READDATA' READDATA(endy); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Pltform.cpp:271:2: note: in expansion of macro 'READDATA' READDATA(maxDistance); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Pltform.cpp:272:2: note: in expansion of macro 'READDATA' READDATA(delayTime); ^ src/Pltform.cpp:276:42: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(info, sizeof(tPlatformInfo), 1, f); ^ 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Shape.o 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/ShapeLd.o 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Surface.o src/ShapeLd.cpp: In member function 'void CShapeManager::LoadShapes()': src/ShapeLd.cpp:31:100: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!plane) gSystem->Error("Cannot find kFileShapes or cannot open it. Perhaps lack of memory?", 0); ^ src/ShapeLd.cpp: In member function 'void CShapeManager::LoadBackground(char*)': src/ShapeLd.cpp:66:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!backgroundPicture) gSystem->Error("Cannot open background file. Lack of memory?", 0); ^ 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Thing.o 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Weapon.o 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/System.o 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/SndSys.o In file included from src/Thing.hpp:4:0, from src/Thing.cpp:1: src/Thing.cpp: In member function 'virtual void CThing::Read(FILE*)': src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Thing.cpp:148:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Thing.cpp:149:2: note: in expansion of macro 'READDATA' READDATA(typeID); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Thing.cpp:150:2: note: in expansion of macro 'READDATA' READDATA(thingNumber); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Thing.cpp:154:2: note: in expansion of macro 'READDATA' READDATA(lookDirection); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Thing.cpp:155:2: note: in expansion of macro 'READDATA' READDATA(weightless); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Thing.cpp:156:2: note: in expansion of macro 'READDATA' READDATA(dx); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Thing.cpp:157:2: note: in expansion of macro 'READDATA' READDATA(dy); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Thing.cpp:158:2: note: in expansion of macro 'READDATA' READDATA(modus); ^ 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 -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/SoundList.o In file included from src/Thing.hpp:4:0, 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:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Weapon.cpp:370:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Weapon.cpp:372:2: note: in expansion of macro 'READDATA' READDATA(munition); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Weapon.cpp:373:2: note: in expansion of macro 'READDATA' READDATA(lastShoot); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Weapon.cpp:374:2: note: in expansion of macro 'READDATA' READDATA(lastShootFrame); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Weapon.cpp:375:2: note: in expansion of macro 'READDATA' READDATA(weaponStatus); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Weapon.cpp:376:2: note: in expansion of macro 'READDATA' READDATA(repetition); ^ src/Weapon.cpp: In member function 'virtual void CHandWeapon::Read(FILE*)': src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Weapon.cpp:400:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Weapon.cpp:404:2: note: in expansion of macro 'READDATA' READDATA(animationFrame); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Weapon.cpp:405:2: note: in expansion of macro 'READDATA' READDATA(numAnimFrames); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Weapon.cpp:406:2: note: in expansion of macro 'READDATA' READDATA(shootFrameTime); ^ src/Weapon.cpp: In member function 'virtual void CBomb::Read(FILE*)': src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Weapon.cpp:429:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Weapon.cpp:433:2: note: in expansion of macro 'READDATA' READDATA(status); ^ src/Weapon.cpp: In member function 'virtual void CStaff::Read(FILE*)': src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Weapon.cpp:460:2: note: in expansion of macro 'READDATA' READDATA(size); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Weapon.cpp:464:2: note: in expansion of macro 'READDATA' READDATA(staffLoadTime); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Weapon.cpp:465:2: note: in expansion of macro 'READDATA' READDATA(lastLoad); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Weapon.cpp:466:2: note: in expansion of macro 'READDATA' READDATA(inLoad); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Weapon.cpp:467:2: note: in expansion of macro 'READDATA' READDATA(dx); ^ src/Object.hpp:47:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define READDATA(data) fread(&data, sizeof(data), 1, f); ^ src/Weapon.cpp:468:2: note: in expansion of macro 'READDATA' READDATA(dy); ^ In file included from src/System.hpp:9:0, from src/System.cpp:9: src/System.cpp: In constructor 'CSystem::CSystem(char*)': src/AmpHead.hpp:186:59: warning: format not a string literal and no format arguments [-Wformat-security] #define MSG(message) if (logFile) fprintf(logFile, message); fflush(logFile) ^ src/System.cpp:182:8: note: in expansion of macro 'MSG' MSG(SDL_GetError()); ^ src/System.cpp: In member function 'tGraphicBuffer* CSystem::AllocateBuffer(short int, short int)': src/System.cpp:303:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (port == NULL) Error("Error while creating an SDL Surface", 0); ^ src/System.cpp: In member function 'void CSystem::LoadPalette(char*)': src/System.cpp:344:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!gf) Error("Cannot find or open the palette file (*.pal)", 0); ^ In file included from src/System.hpp:9:0, from src/System.cpp:9: src/System.cpp: In member function 'void CSystem::Error(char*, short int)': src/AmpHead.hpp:186:59: warning: format not a string literal and no format arguments [-Wformat-security] #define MSG(message) if (logFile) fprintf(logFile, message); fflush(logFile) ^ src/System.cpp:485:2: note: in expansion of macro 'MSG' MSG(message); fprintf(logFile, " %d\n", errorNo); fflush(logFile); ^ 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.650 + 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 + 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 + 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) Compressing files in /usr/src/tmp/amphetamine-buildroot (auto) Adjusting library links in /usr/src/tmp/amphetamine-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/amphetamine-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: amphetamine-0.8.10-alt5 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.650 + 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.nQkSVD find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0Grd97 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: /lib64/ld-linux-x86-64.so.2, libSDL-1.2.so.0()(64bit) >= set:lgUOpc4s8Fi13rlU7AiovOTHe3hdeDLXZfTqwOl7qxrTUcOahoMPYtZ4cnYoX1nlku2, libXpm.so.4()(64bit) >= set:kjuEi, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libm.so.6(GLIBC_2.15)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3EhC8E Wrote: /usr/src/RPM/RPMS/x86_64/amphetamine-0.8.10-alt5.x86_64.rpm 6.56user 0.83system 0:06.54elapsed 113%CPU (0avgtext+0avgdata 44172maxresident)k 0inputs+0outputs (0major+312555minor)pagefaults 0swaps 12.36user 3.16system 0:17.55elapsed 88%CPU (0avgtext+0avgdata 121864maxresident)k 0inputs+0outputs (0major+601667minor)pagefaults 0swaps --- amphetamine-0.8.10-alt5.x86_64.rpm.repo 2009-07-27 06:19:18.000000000 +0000 +++ amphetamine-0.8.10-alt5.x86_64.rpm.hasher 2019-04-21 00:57:27.498659466 +0000 @@ -74,4 +74,6 @@ Requires: /lib64/ld-linux-x86-64.so.2 -Requires: libSDL-1.2.so.0()(64bit) -Requires: libXpm.so.4()(64bit) +Requires: libSDL-1.2.so.0()(64bit) >= set:lgUOpc4s8Fi13rlU7AiovOTHe3hdeDLXZfTqwOl7qxrTUcOahoMPYtZ4cnYoX1nlku2 +Requires: rpmlib(SetVersions) +Requires: libXpm.so.4()(64bit) >= set:kjuEi +Requires: libc.so.6(GLIBC_2.14)(64bit) Requires: libc.so.6(GLIBC_2.2.5)(64bit) @@ -80,2 +82,3 @@ Requires: libgcc_s.so.1(GCC_3.0)(64bit) +Requires: libm.so.6(GLIBC_2.15)(64bit) Requires: libm.so.6(GLIBC_2.2.5)(64bit)