Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 905403 Details for
Bug 941422
games-arcade/amphetamine-0.8.10-r3 - [libtool] [llvm] 45 | if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFileMonster))) gSystem->Error(Cannot find file kFileMonster
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-arcade:amphetamine-0.8.10-r3:20241012-185714.log
games-arcade:amphetamine-0.8.10-r3:20241012-185714.log (text/plain), 150.22 KB, created by
Toralf Förster
on 2024-10-12 20:11:07 UTC
(
hide
)
Description:
games-arcade:amphetamine-0.8.10-r3:20241012-185714.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-10-12 20:11:07 UTC
Size:
150.22 KB
patch
obsolete
> * Package: games-arcade/amphetamine-0.8.10-r3:0 > * Repository: gentoo > * Maintainer: games@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking amphetamine-0.8.10.tar.bz2 to /var/tmp/portage/games-arcade/amphetamine-0.8.10-r3/work >>>> Unpacking amphetamine-data_0.8.7.orig.tar.gz to /var/tmp/portage/games-arcade/amphetamine-0.8.10-r3/work >=== Skipping unpack of amphetamine.png >>>> Source unpacked in /var/tmp/portage/games-arcade/amphetamine-0.8.10-r3/work >>>> Preparing source in /var/tmp/portage/games-arcade/amphetamine-0.8.10-r3/work/amphetamine-0.8.10 ... > * Applying amphetamine-0.8.10-build.patch ... > [ ok ] > * Applying amphetamine-0.8.10-64bit.patch ... > [ ok ] > * Applying amphetamine-0.8.10-no-lxt.patch ... >patching file Makefile >Hunk #1 succeeded at 63 with fuzz 1 (offset -6 lines). > [ ok ] > * Applying amphetamine-0.8.10-bugs.patch ... > [ ok ] > * Applying amphetamine-0.8.10-missing-headers.patch ... > [ ok ] > * Applying amphetamine-0.8.10-newline.patch ... > [ ok ] > * Applying amphetamine-0.8.10-format-string.patch ... > [ ok ] > * Applying amphetamine-0.8.10-SDL-conversions.patch ... > [ ok ] > * Applying amphetamine-0.8.10-clang.patch ... > [ ok ] > * Applying amphetamine-0.8.10-drop-register-keyword.patch ... > [ ok ] >>>> Source prepared. > * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! > * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>>> Configuring source in /var/tmp/portage/games-arcade/amphetamine-0.8.10-r3/work/amphetamine-0.8.10 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/games-arcade/amphetamine-0.8.10-r3/work/amphetamine-0.8.10 ... >make -O -j4 INSTALL_DIR=/usr/share/amphetamine >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/File.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/File.o >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/Graphfil.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/Graphfil.o >src/Graphfil.cpp:119:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 119 | gSystem->Error("Could not open texture", 0); > | ^ >src/Graphfil.cpp:132:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 132 | gSystem->Error("Unknown graphic file format.", 0); > | ^ >src/Graphfil.cpp:136:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 136 | gSystem->Error("The graphic file reading code is really broken.", 0); > | ^ >src/Graphfil.cpp:141:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 141 | gSystem->Error("gApplication->system->Error reading texture", 0); > | ^ >src/Graphfil.cpp:159:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 159 | gSystem->Error("gApplication->system->Error reading texture", 0); > | ^ >5 warnings generated. >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/Gifload.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/Gifload.o >src/Gifload.cpp:57:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 57 | gSystem->Error("could not allocate %x bytes", size); > | ^ >src/Gifload.cpp:69:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 69 | gSystem->Error("could not reallocate %x bytes", size); > | ^ >src/Gifload.cpp:78:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 78 | gSystem->Error("wtfree(NULL)", 0); > | ^ >src/Gifload.cpp:140:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 140 | char *id87 = "GIF87a"; > | ^ >src/Gifload.cpp:141:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 141 | char *id89 = "GIF89a"; > | ^ >src/Gifload.cpp:168:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 168 | gSystem->Error("not enough memory to read gif file",0); > | ^ >src/Gifload.cpp:172:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 172 | gSystem->Error("not enough memory to read gif file",0); > | ^ >src/Gifload.cpp:176:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 176 | gSystem->Error("GIF data read failed",0); > | ^ >src/Gifload.cpp:180:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 180 | gSystem->Error("not a GIF file",0); > | ^ >src/Gifload.cpp:204:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 204 | gSystem->Error("corrupt GIF file (bad screen descriptor)",0); > | ^ >src/Gifload.cpp:229:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 229 | gSystem->Error("corrupt GIF89a file",0); > | ^ >src/Gifload.cpp:248:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 248 | gSystem->Error("invalid GIF89 extension",0); > | ^ >src/Gifload.cpp:320:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 320 | gSystem->Error("corrupt GIF file (unblock)",0); > | ^ >src/Gifload.cpp:376:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 376 | gSystem->Error("Corrupt GIF file (OutCount)!", 0); > | ^ >14 warnings generated. >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/Element.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/Element.o >src/Element.cpp:350:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 350 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Element.cpp:351:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 351 | READDATA(typeID); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Element.cpp:355:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 355 | READDATA(bitData); > | ^~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Element.cpp:356:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 356 | READDATA(lastState); > | ^~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Element.cpp:357:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 357 | READDATA(iconID); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Element.cpp:358:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 358 | READDATA(brightness); > | ^~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Element.cpp:359:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 359 | READDATA(brightness2); > | ^~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Element.cpp:360:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 360 | READDATA(key); > | ^~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Element.cpp:361:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 361 | READDATA(refNum); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Element.cpp:362:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 362 | READDATA(data); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Element.cpp:366:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 366 | READDATA(elemThings); > | ^~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Element.cpp:368:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 368 | READDATA(elementThings->teleportBlinkTime); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Element.cpp:369:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 369 | READDATA(elementThings->savePortBlinkTime); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Element.cpp:370:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 370 | READDATA(elementThings->exitPortBlinkTime); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Element.cpp:371:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 371 | READDATA(elementThings->passiveHasChanged); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >15 warnings generated. >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/Appl.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/Appl.o >src/Appl.cpp:29:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 29 | gSystem = new CSystem("Amphetamine"); > | ^ >1 warning generated. >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/Gui.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/Gui.o >src/Gui.cpp:42:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 42 | if (!guis) gSystem->Error("Error while reading the file kFileGUIs", 0); > | ^ >src/Gui.cpp:49:86: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 49 | if (!(healthPanel && oxygenPanel && weaponPanel && backgroundPanel)) gSystem->Error("Cannot allocate panels", 0); > | ^ >src/Gui.cpp:697:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 697 | GetStringConstant(f, "msgPickedUpHealth", messages->msgHealth); > | ^ >src/Gui.cpp:698:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 698 | GetStringConstant(f, "msgPickedUpOxygen", messages->msgOxygen); > | ^ >src/Gui.cpp:700:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 700 | GetStringConstant(f, "msgPickedUpPhiol", messages->msgPhiol); > | ^ >src/Gui.cpp:701:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 701 | GetStringConstant(f, "msgPickedUpBM", messages->msgBM); > | ^ >src/Gui.cpp:702:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 702 | GetStringConstant(f, "msgPickedUpBow", messages->msgBow); > | ^ >src/Gui.cpp:703:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 703 | GetStringConstant(f, "msgPickedUpScie", messages->msgScie); > | ^ >src/Gui.cpp:704:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 704 | GetStringConstant(f, "msgPickedUpHands", messages->msgHands); > | ^ >src/Gui.cpp:705:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 705 | GetStringConstant(f, "msgPickedUpBombs", messages->msgBombs); > | ^ >src/Gui.cpp:706:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 706 | GetStringConstant(f, "msgPickedUpStaff", messages->msgStaff); > | ^ >src/Gui.cpp:708:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 708 | GetStringConstant(f, "msgPickedUpPhiolMun", messages->msgPhiolMun); > | ^ >src/Gui.cpp:709:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 709 | GetStringConstant(f, "msgPickedUpBMMun", messages->msgBMMun); > | ^ >src/Gui.cpp:710:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 710 | GetStringConstant(f, "msgPickedUpBowMun", messages->msgBowMun); > | ^ >src/Gui.cpp:711:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 711 | GetStringConstant(f, "msgPickedUpHandMun", messages->msgHandsMun); > | ^ >src/Gui.cpp:712:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 712 | GetStringConstant(f, "msgPickedUpBombMun", messages->msgBombsMun); > | ^ >src/Gui.cpp:713:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 713 | GetStringConstant(f, "msgPickedUpStaffMun", messages->msgStaffMun); > | ^ >src/Gui.cpp:731:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 731 | gGUIConst->kHealthPanelHeight = GetLongConstant(f, "kHealthPanelHeight"); > | ^ >src/Gui.cpp:732:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 732 | gGUIConst->kHealthPanelPosX = GetLongConstant(f, "kHealthPanelPosX"); > | ^ >src/Gui.cpp:733:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 733 | gGUIConst->kHealthPanelPosY = GetLongConstant(f, "kHealthPanelPosY"); > | ^ >src/Gui.cpp:734:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 734 | gGUIConst->kHealthPanelRefreshRate = GetLongConstant(f, "kHealthPanelRefreshRate"); > | ^ >src/Gui.cpp:735:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 735 | gGUIConst->kHealthPanelWidth = GetLongConstant(f, "kHealthPanelWidth"); > | ^ >src/Gui.cpp:736:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 736 | gGUIConst->kOxygenPanelHeight = GetLongConstant(f, "kOxygenPanelHeight"); > | ^ >src/Gui.cpp:737:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 737 | gGUIConst->kOxygenPanelPosX = GetLongConstant(f, "kOxygenPanelPosX"); > | ^ >src/Gui.cpp:738:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 738 | gGUIConst->kOxygenPanelPosY = GetLongConstant(f, "kOxygenPanelPosY"); > | ^ >src/Gui.cpp:739:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 739 | gGUIConst->kOxygenPanelRefreshRate = GetLongConstant(f, "kOxygenPanelRefreshRate"); > | ^ >src/Gui.cpp:740:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 740 | gGUIConst->kOxygenPanelWidth = GetLongConstant(f, "kOxygenPanelWidth"); > | ^ >src/Gui.cpp:741:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 741 | gGUIConst->kWeaponPanelHeight = GetLongConstant(f, "kWeaponPanelHeight"); > | ^ >src/Gui.cpp:742:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 742 | gGUIConst->kWeaponPanelPosX = GetLongConstant(f, "kWeaponPanelPosX"); > | ^ >src/Gui.cpp:743:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 743 | gGUIConst->kWeaponPanelPosY = GetLongConstant(f, "kWeaponPanelPosY"); > | ^ >src/Gui.cpp:744:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 744 | gGUIConst->kWeaponPanelWidth = GetLongConstant(f, "kWeaponPanelWidth"); > | ^ >src/Gui.cpp:745:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 745 | gGUIConst->kWeaponStatusWidth = GetLongConstant(f, "kWeaponStatusWidth"); > | ^ >src/Gui.cpp:747:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 747 | gGUIConst->kUserMenuEntryDY = GetLongConstant(f, "kUserMenuEntryDY"); > | ^ >src/Gui.cpp:748:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 748 | gGUIConst->kUserMenuEntryPosX = GetLongConstant(f, "kUserMenuEntryPosX"); > | ^ >src/Gui.cpp:749:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 749 | gGUIConst->kUserMenuEntryPosY = GetLongConstant(f, "kUserMenuEntryPosY"); > | ^ >src/Gui.cpp:750:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 750 | gGUIConst->kUserMenuHeight = GetLongConstant(f, "kUserMenuHeight"); > | ^ >src/Gui.cpp:751:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 751 | gGUIConst->kUserMenuPosX = GetLongConstant(f, "kUserMenuPosX"); > | ^ >src/Gui.cpp:752:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 752 | gGUIConst->kUserMenuPosY = GetLongConstant(f, "kUserMenuPosY"); > | ^ >src/Gui.cpp:753:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 753 | gGUIConst->kUserMenuWidth = GetLongConstant(f, "kUserMenuWidth"); > | ^ >src/Gui.cpp:754:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 754 | gGUIConst->kHelpMenuEntryDY = GetLongConstant(f, "kHelpMenuEntryDY"); > | ^ >src/Gui.cpp:756:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 756 | gGUIConst->kInfoTextLeft = GetLongConstant(f, "kInfoTextLeft"); > | ^ >src/Gui.cpp:757:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 757 | gGUIConst->kInfoTextTop = GetLongConstant(f, "kInfoTextTop"); > | ^ >src/Gui.cpp:758:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 758 | gGUIConst->kInfoTextTime = GetLongConstant(f, "kInfoTextTime"); > | ^ >src/Gui.cpp:760:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 760 | GetStringConstant(f, "kUserMainPageTitle", gGUIConst->kUserMainPageTitle); > | ^ >src/Gui.cpp:761:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 761 | GetStringConstant(f, "kUserMenuEntry1", gGUIConst->kUserMenuEntry1); > | ^ >src/Gui.cpp:762:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 762 | GetStringConstant(f, "kUserMenuEntry2", gGUIConst->kUserMenuEntry2); > | ^ >src/Gui.cpp:763:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 763 | GetStringConstant(f, "kUserMenuEntry3", gGUIConst->kUserMenuEntry3); > | ^ >src/Gui.cpp:764:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 764 | GetStringConstant(f, "kUserMenuEntry4", gGUIConst->kUserMenuEntry4); > | ^ >src/Gui.cpp:765:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 765 | GetStringConstant(f, "kUserMenuEntry5", gGUIConst->kUserMenuEntry5); > | ^ >src/Gui.cpp:767:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 767 | GetStringConstant(f, "kNewGamePageTitle", gGUIConst->kNewGamePageTitle); > | ^ >src/Gui.cpp:768:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 768 | GetStringConstant(f, "kNewGameEntry1", gGUIConst->kNewGameEntry1); > | ^ >src/Gui.cpp:769:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 769 | GetStringConstant(f, "kNewGameEntry2", gGUIConst->kNewGameEntry2); > | ^ >src/Gui.cpp:770:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 770 | GetStringConstant(f, "kNewGameEntry3", gGUIConst->kNewGameEntry3); > | ^ >src/Gui.cpp:771:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 771 | GetStringConstant(f, "kNewGameEntry4", gGUIConst->kNewGameEntry4); > | ^ >src/Gui.cpp:773:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 773 | GetStringConstant(f, "kNoSavedGame", gGUIConst->kNoSavedGame); > | ^ >src/Gui.cpp:774:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 774 | GetStringConstant(f, "kSavePageTitle", gGUIConst->kSavePageTitle); > | ^ >src/Gui.cpp:775:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 775 | GetStringConstant(f, "kLoadPageTitle", gGUIConst->kLoadPageTitle); > | ^ >src/Gui.cpp:776:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 776 | GetStringConstant(f, "kHelpPageTitle", gGUIConst->kHelpPageTitle); > | ^ >src/Gui.cpp:778:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 778 | GetStringConstant(f, "kSavedGame0", gGUIConst->kSavedGames[0]); > | ^ >src/Gui.cpp:779:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 779 | GetStringConstant(f, "kSavedGame1", gGUIConst->kSavedGames[1]); > | ^ >src/Gui.cpp:780:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 780 | GetStringConstant(f, "kSavedGame2", gGUIConst->kSavedGames[2]); > | ^ >src/Gui.cpp:781:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 781 | GetStringConstant(f, "kSavedGame3", gGUIConst->kSavedGames[3]); > | ^ >src/Gui.cpp:782:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 782 | GetStringConstant(f, "kSavedGame4", gGUIConst->kSavedGames[4]); > | ^ >src/Gui.cpp:783:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 783 | GetStringConstant(f, "kSavedGame5", gGUIConst->kSavedGames[5]); > | ^ >src/Gui.cpp:785:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 785 | gGUIConst->kKeyHitDelay = GetLongConstant(f, "kKeyHitDelay"); > | ^ >src/Gui.cpp:787:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 787 | gGUIConst->kCreditsEntryDY = GetLongConstant(f, "kCreditsEntryDY"); > | ^ >src/Gui.cpp:788:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 788 | GetStringConstant(f, "kCreditsPageTitle", gGUIConst->kCreditsPageTitle); > | ^ >src/Gui.cpp:789:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 789 | GetStringConstant(f, "kCreditsEntry1", gGUIConst->kCreditsEntry1); > | ^ >src/Gui.cpp:790:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 790 | GetStringConstant(f, "kCreditsEntry2", gGUIConst->kCreditsEntry2); > | ^ >src/Gui.cpp:791:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 791 | GetStringConstant(f, "kCreditsEntry3", gGUIConst->kCreditsEntry3); > | ^ >src/Gui.cpp:792:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 792 | GetStringConstant(f, "kCreditsEntry4", gGUIConst->kCreditsEntry4); > | ^ >src/Gui.cpp:793:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 793 | GetStringConstant(f, "kCreditsEntry5", gGUIConst->kCreditsEntry5); > | ^ >72 warnings generated. >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/Bullet.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/Bullet.o >src/Bullet.cpp:494:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 494 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:495:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 495 | READDATA(typeID); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:496:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 496 | READDATA(thingNumber); > | ^~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:507:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 507 | READDATA(tailX[n]); > | ^~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:508:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 508 | READDATA(tailY[n]); > | ^~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:512:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 512 | READDATA(tailStep); > | ^~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:513:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 513 | READDATA(targetposition); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:514:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 514 | READDATA(directionUnitx); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:515:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 515 | READDATA(directionUnity); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:516:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 516 | READDATA(action); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:517:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 517 | READDATA(detonationStartTime); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:518:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 518 | READDATA(noDetonation); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:543:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 543 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:544:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 544 | READDATA(typeID); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:545:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 545 | READDATA(thingNumber); > | ^~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:549:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 549 | READDATA(numBounces); > | ^~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:573:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 573 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:574:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 574 | READDATA(typeID); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:575:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 575 | READDATA(thingNumber); > | ^~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:579:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 579 | READDATA(detonate); > | ^~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:605:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 605 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:606:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 606 | READDATA(typeID); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:607:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 607 | READDATA(thingNumber); > | ^~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:611:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 611 | READDATA(distance); > | ^~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:612:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 612 | READDATA(radius); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:613:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 613 | READDATA(period); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:640:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 640 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:641:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 641 | READDATA(typeID); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:642:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 642 | READDATA(thingNumber); > | ^~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:646:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 646 | READDATA(initAbstSign); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:647:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 647 | READDATA(lastfx); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:648:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 648 | READDATA(lastfy); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Bullet.cpp:649:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 649 | READDATA(lastf); > | ^~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >33 warnings generated. >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/Clut.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/Clut.o >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/Creeper.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/Creeper.o >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/ConstVal.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/ConstVal.o >src/ConstVal.cpp:26:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 26 | gConst->kVelocityUnit = GetDoubleConstant(paramFile, "kVelocityUnit"); > | ^ >src/ConstVal.cpp:27:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 27 | gConst->kPlayerAcceleration = GetDoubleConstant(paramFile, "kPlayerAcceleration"); > | ^ >src/ConstVal.cpp:28:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 28 | gConst->kPlayerLiquidAccel = GetDoubleConstant(paramFile, "kPlayerLiquidAccel"); > | ^ >src/ConstVal.cpp:29:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 29 | gConst->kRunScaleFactor = GetDoubleConstant(paramFile, "kRunScaleFactor"); > | ^ >src/ConstVal.cpp:30:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 30 | gConst->kJumpVelocity = GetDoubleConstant(paramFile, "kJumpVelocity"); > | ^ >src/ConstVal.cpp:31:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 31 | gConst->kJumpAccelerationTime = GetLongConstant(paramFile, "kJumpAccelerationTime"); > | ^ >src/ConstVal.cpp:32:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 32 | gConst->kTeleportTime = GetLongConstant(paramFile, "kTeleportTime"); > | ^ >src/ConstVal.cpp:33:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 33 | gConst->kPlayerWidth = GetLongConstant(paramFile, "kPlayerWidth"); > | ^ >src/ConstVal.cpp:34:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 34 | gConst->kBulletWidth = GetLongConstant(paramFile, "kBulletWidth"); > | ^ >src/ConstVal.cpp:35:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 35 | gConst->kFirehandNumOfBullets = GetLongConstant(paramFile, "kFirehandNumOfBullets"); > | ^ >src/ConstVal.cpp:36:62: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 36 | gConst->kFirehandAngle = (double)GetLongConstant(paramFile, "kFirehandAngle") * 3.141 / 180; > | ^ >src/ConstVal.cpp:37:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 37 | gConst->kStaffLoadTime = GetLongConstant(paramFile, "kStaffLoadTime"); > | ^ >src/ConstVal.cpp:38:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 38 | gConst->kInitialOxygen = GetLongConstant(paramFile, "kInitialOxygen"); > | ^ >src/ConstVal.cpp:39:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 39 | gConst->kOxygenDecrease = GetDoubleConstant(paramFile, "kOxygenDecrease"); > | ^ >src/ConstVal.cpp:40:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 40 | gConst->kLavaDamage = GetLongConstant(paramFile, "kLavaDamage"); > | ^ >src/ConstVal.cpp:41:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 41 | gConst->kPlayersFirstWeaponShape = GetLongConstant(paramFile, "kPlayersFirstWeaponShape"); > | ^ >src/ConstVal.cpp:42:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 42 | gConst->kPickupTime = GetLongConstant(paramFile, "kPickupTime"); > | ^ >src/ConstVal.cpp:44:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 44 | gConst->kBulletTailLength = GetLongConstant(paramFile, "kBulletTailLength"); > | ^ >src/ConstVal.cpp:45:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 45 | gConst->kBulletTailDistance = GetLongConstant(paramFile, "kBulletTailDistance"); > | ^ >src/ConstVal.cpp:46:62: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 46 | gConst->kDetonationFrameTime = GetDoubleConstant(paramFile, "kDetonationFrameTime"); > | ^ >src/ConstVal.cpp:47:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 47 | gConst->kWalkFrameTime = GetLongConstant(paramFile, "kWalkFrameTime"); > | ^ >src/ConstVal.cpp:48:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 48 | gConst->kShootFrameTime = GetLongConstant(paramFile, "kShootFrameTime"); > | ^ >src/ConstVal.cpp:49:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 49 | gConst->kWeaponChangeTime = GetLongConstant(paramFile, "kWeaponChangeTime"); > | ^ >src/ConstVal.cpp:50:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 50 | gConst->kActionDelayTime = GetLongConstant(paramFile, "kActionDelayTime"); > | ^ >src/ConstVal.cpp:51:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 51 | gConst->kDieFrameTime = GetLongConstant(paramFile, "kDieFrameTime"); > | ^ >src/ConstVal.cpp:52:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 52 | gConst->kDriftSpeed = GetLongConstant(paramFile, "kDriftSpeed"); > | ^ >src/ConstVal.cpp:53:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 53 | gConst->kWeaponCarryHeight = GetLongConstant(paramFile, "kWeaponCarryHeight"); > | ^ >src/ConstVal.cpp:55:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 55 | gConst->kTeleportBlinkTime = GetLongConstant(paramFile, "kTeleportBlinkTime"); > | ^ >src/ConstVal.cpp:56:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 56 | gConst->kSavePortBlinkTime = GetLongConstant(paramFile, "kSavePortBlinkTime"); > | ^ >src/ConstVal.cpp:57:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 57 | gConst->kExitPortBlinkTime = GetLongConstant(paramFile, "kExitPortBlinkTime"); > | ^ >src/ConstVal.cpp:59:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 59 | gConst->kGravitation = GetDoubleConstant(paramFile, "kGravitation"); > | ^ >src/ConstVal.cpp:60:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 60 | gConst->kNormalFriction = GetDoubleConstant(paramFile, "kNormalFriction"); > | ^ >src/ConstVal.cpp:61:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 61 | gConst->kLiquidFriction = GetDoubleConstant(paramFile, "kLiquidFriction"); > | ^ >src/ConstVal.cpp:62:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 62 | gConst->kMaxFallingSpeed = GetDoubleConstant(paramFile, "kMaxFallingSpeed"); > | ^ >src/ConstVal.cpp:64:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 64 | gConst->kJumperJumpAcceleration = GetDoubleConstant(paramFile, "kJumperJumpAcceleration"); > | ^ >src/ConstVal.cpp:66:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 66 | gConst->kNumOfBounces = GetLongConstant(paramFile, "kNumOfBounces"); > | ^ >src/ConstVal.cpp:67:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 67 | gConst->kSineWeaponRad = GetLongConstant(paramFile, "kSineWeaponRad"); > | ^ >src/ConstVal.cpp:68:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 68 | gConst->kMaxTurnAngle = (double)GetLongConstant(paramFile, "kMaxTurnAngle") * 3.141 / 180.0; > | ^ >src/ConstVal.cpp:69:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 69 | gConst->kWargFastSpeedup = (double)GetLongConstant(paramFile, "kWargFastSpeedup"); > | ^ >src/ConstVal.cpp:70:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 70 | gConst->kWargNearWeaponRadix = GetLongConstant(paramFile, "kWargNearWeaponRadix"); > | ^ >src/ConstVal.cpp:71:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 71 | gConst->kWargJumpAcceleration = GetDoubleConstant(paramFile, "kWargJumpAcceleration"); > | ^ >src/ConstVal.cpp:72:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 72 | gConst->kDelayAfterWargDeath = GetLongConstant(paramFile, "kDelayAfterWargDeath"); > | ^ >src/ConstVal.cpp:74:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 74 | gConst->kActivateDistance = GetLongConstant(paramFile, "kActivateDistance"); > | ^ >src/ConstVal.cpp:75:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 75 | gConst->kTreatDistance = GetLongConstant(paramFile, "kTreatDistance"); > | ^ >src/ConstVal.cpp:76:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 76 | gConst->kBrightnessLevels[0] = GetLongConstant(paramFile, "kLight"); > | ^ >src/ConstVal.cpp:77:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 77 | gConst->kBrightnessLevels[1] = GetLongConstant(paramFile, "kMedium"); > | ^ >src/ConstVal.cpp:78:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 78 | gConst->kBrightnessLevels[2] = GetLongConstant(paramFile, "kDark"); > | ^ >src/ConstVal.cpp:79:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 79 | gConst->kBrightnessLevels[3] = GetLongConstant(paramFile, "kVeryDark"); > | ^ >src/ConstVal.cpp:81:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 81 | gConst->kWeaponSF[0] = GetDoubleConstant(paramFile, "kWeaponSF1"); > | ^ >src/ConstVal.cpp:82:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 82 | gConst->kWeaponSF[1] = GetDoubleConstant(paramFile, "kWeaponSF2"); > | ^ >src/ConstVal.cpp:83:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 83 | gConst->kWeaponSF[2] = GetDoubleConstant(paramFile, "kWeaponSF3"); > | ^ >src/ConstVal.cpp:84:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 84 | gConst->kWeaponSF[3] = GetDoubleConstant(paramFile, "kWeaponSF4"); > | ^ >src/ConstVal.cpp:85:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 85 | gConst->kHealthSF[0] = GetDoubleConstant(paramFile, "kHealthSF1"); > | ^ >src/ConstVal.cpp:86:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 86 | gConst->kHealthSF[1] = GetDoubleConstant(paramFile, "kHealthSF2"); > | ^ >src/ConstVal.cpp:87:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 87 | gConst->kHealthSF[2] = GetDoubleConstant(paramFile, "kHealthSF3"); > | ^ >src/ConstVal.cpp:88:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 88 | gConst->kHealthSF[3] = GetDoubleConstant(paramFile, "kHealthSF4"); > | ^ >src/ConstVal.cpp:89:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 89 | gConst->kSpeedSF[0] = GetDoubleConstant(paramFile, "kSpeedSF1"); > | ^ >src/ConstVal.cpp:90:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 90 | gConst->kSpeedSF[1] = GetDoubleConstant(paramFile, "kSpeedSF2"); > | ^ >src/ConstVal.cpp:91:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 91 | gConst->kSpeedSF[2] = GetDoubleConstant(paramFile, "kSpeedSF3"); > | ^ >src/ConstVal.cpp:92:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 92 | gConst->kSpeedSF[3] = GetDoubleConstant(paramFile, "kSpeedSF4"); > | ^ >src/ConstVal.cpp:94:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 94 | gConst->kFlickeringPeriod = GetLongConstant(paramFile, "kFlickeringPeriod"); > | ^ >src/ConstVal.cpp:95:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 95 | gConst->kLightningRadiant = GetLongConstant(paramFile, "kLightningRadiant"); > | ^ >src/ConstVal.cpp:96:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 96 | gConst->kBkgndScrollFactor = GetDoubleConstant(paramFile, "kBkgndScrollFactor"); > | ^ >src/ConstVal.cpp:97:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 97 | gConst->kCoronaFadeSpeed = GetDoubleConstant(paramFile, "kCoronaFadeSpeed"); > | ^ >src/ConstVal.cpp:99:68: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 99 | gConst->kBlessureInvulnerabilityTime = GetLongConstant(paramFile, "kBlessureInvulnerabilityTime"); > | ^ >src/ConstVal.cpp:100:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 100 | gConst->kMonsterTouchBlessure = GetLongConstant(paramFile, "kMonsterTouchBlessure"); > | ^ >src/ConstVal.cpp:101:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 101 | gConst->kItemExplosionRad = GetLongConstant(paramFile, "kItemExplosionRad"); > | ^ >src/ConstVal.cpp:102:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 102 | gConst->kItemExplosionStartShape = GetLongConstant(paramFile, "kItemExplosionStartShape"); > | ^ >src/ConstVal.cpp:104:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 104 | gConst->kHealthPanelColor = GetLongConstant(paramFile, "kHealthPanelColor"); > | ^ >src/ConstVal.cpp:105:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 105 | gConst->kOxygenPanelColor = GetLongConstant(paramFile, "kOxygenPanelColor"); > | ^ >src/ConstVal.cpp:106:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 106 | gConst->kShadowmodeDarkening = GetLongConstant(paramFile, "kShadowmodeDarkening"); > | ^ >src/ConstVal.cpp:107:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 107 | gConst->kFadeTime = GetLongConstant(paramFile, "kFadeTime"); > | ^ >src/ConstVal.cpp:108:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 108 | gConst->kStartupTime = GetLongConstant(paramFile, "kStartupTime"); > | ^ >src/ConstVal.cpp:110:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 110 | gConst->kTextYDistance = GetLongConstant(paramFile, "kTextYDistance"); > | ^ >src/ConstVal.cpp:111:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 111 | gConst->kCameraSpeed = GetLongConstant(paramFile, "kCameraSpeed"); > | ^ >src/ConstVal.cpp:113:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 113 | gConst->kSoundMaxDistance = GetLongConstant(paramFile, "kSoundMaxDistance"); > | ^ >src/ConstVal.cpp:114:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 114 | gConst->kSoundMinDistance = GetLongConstant(paramFile, "kSoundMinDistance"); > | ^ >src/ConstVal.cpp:116:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 116 | GetStringConstant(paramFile, "kFilePalette", gConst->kFilePalette); > | ^ >src/ConstVal.cpp:117:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 117 | GetStringConstant(paramFile, "kFileLevel", gConst->kFileLevel); > | ^ >src/ConstVal.cpp:118:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 118 | GetStringConstant(paramFile, "kFileMonster", gConst->kFileMonster); > | ^ >src/ConstVal.cpp:119:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 119 | GetStringConstant(paramFile, "kFileWeapon", gConst->kFileWeapon); > | ^ >src/ConstVal.cpp:120:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 120 | GetStringConstant(paramFile, "kFileInfo", gConst->kFileInfo); > | ^ >src/ConstVal.cpp:121:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 121 | GetStringConstant(paramFile, "kFilePlatform", gConst->kFilePlatform); > | ^ >src/ConstVal.cpp:122:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 122 | GetStringConstant(paramFile, "kFileObjects", gConst->kFileObjects); > | ^ >src/ConstVal.cpp:123:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 123 | GetStringConstant(paramFile, "kFileShapes", gConst->kFileShapes); > | ^ >src/ConstVal.cpp:124:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 124 | GetStringConstant(paramFile, "kFileBackground1", gConst->kFileBackground1); > | ^ >src/ConstVal.cpp:125:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 125 | GetStringConstant(paramFile, "kFileBackground2", gConst->kFileBackground2); > | ^ >src/ConstVal.cpp:126:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 126 | GetStringConstant(paramFile, "kFileCluts", gConst->kFileCluts); > | ^ >src/ConstVal.cpp:127:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 127 | GetStringConstant(paramFile, "kFileGUIs", gConst->kFileGUIs); > | ^ >src/ConstVal.cpp:128:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 128 | GetStringConstant(paramFile, "kFileConfig", gConst->kFileConfig); > | ^ >src/ConstVal.cpp:129:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 129 | GetStringConstant(paramFile, "kFileStartup", gConst->kFileStartup); > | ^ >src/ConstVal.cpp:132:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 132 | GetStringConstant(paramFile, "kMonsterName1", gConst->kMonsterNames[0]); > | ^ >src/ConstVal.cpp:133:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 133 | GetStringConstant(paramFile, "kMonsterName2", gConst->kMonsterNames[1]); > | ^ >src/ConstVal.cpp:134:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 134 | GetStringConstant(paramFile, "kMonsterName3", gConst->kMonsterNames[2]); > | ^ >src/ConstVal.cpp:135:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 135 | GetStringConstant(paramFile, "kMonsterName4", gConst->kMonsterNames[3]); > | ^ >src/ConstVal.cpp:136:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 136 | GetStringConstant(paramFile, "kMonsterName5", gConst->kMonsterNames[4]); > | ^ >src/ConstVal.cpp:137:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 137 | GetStringConstant(paramFile, "kMonsterName6", gConst->kMonsterNames[5]); > | ^ >src/ConstVal.cpp:138:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 138 | GetStringConstant(paramFile, "kMonsterName7", gConst->kMonsterNames[6]); > | ^ >src/ConstVal.cpp:139:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 139 | GetStringConstant(paramFile, "kMonsterName8", gConst->kMonsterNames[7]); > | ^ >src/ConstVal.cpp:140:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 140 | GetStringConstant(paramFile, "kMonsterName9", gConst->kMonsterNames[8]); > | ^ >src/ConstVal.cpp:141:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 141 | GetStringConstant(paramFile, "kMonsterName10", gConst->kMonsterNames[9]); > | ^ >src/ConstVal.cpp:142:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 142 | GetStringConstant(paramFile, "kMonsterName11", gConst->kMonsterNames[10]); > | ^ >src/ConstVal.cpp:144:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 144 | gConst->kMonsterNameSpeed = GetLongConstant(paramFile, "kMonsterNameSpeed"); > | ^ >src/ConstVal.cpp:145:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 145 | gConst->kMonsterNameX = GetLongConstant(paramFile, "kMonsterNameX"); > | ^ >src/ConstVal.cpp:148:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 148 | gConst->kShowFPS = GetLongConstant(paramFile, "kShowFPS"); > | ^ >src/ConstVal.cpp:164:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 164 | gConfigData->leftKey = GetLongConstant(paramFile, "LeftKey"); > | ^ >src/ConstVal.cpp:165:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 165 | GetStringConstant(paramFile, "LeftKeyText", gConfigData->leftKeyText); > | ^ >src/ConstVal.cpp:166:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 166 | gConfigData->rightKey = GetLongConstant(paramFile, "RightKey"); > | ^ >src/ConstVal.cpp:167:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 167 | GetStringConstant(paramFile, "RightKeyText", gConfigData->rightKeyText); > | ^ >src/ConstVal.cpp:168:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 168 | gConfigData->jumpKey = GetLongConstant(paramFile, "JumpKey"); > | ^ >src/ConstVal.cpp:169:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 169 | GetStringConstant(paramFile, "JumpKeyText", gConfigData->jumpKeyText); > | ^ >src/ConstVal.cpp:170:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 170 | gConfigData->runKey = GetLongConstant(paramFile, "RunKey"); > | ^ >src/ConstVal.cpp:171:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 171 | GetStringConstant(paramFile, "RunKeyText", gConfigData->runKeyText); > | ^ >src/ConstVal.cpp:172:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 172 | gConfigData->shootKey = GetLongConstant(paramFile, "ShootKey"); > | ^ >src/ConstVal.cpp:173:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 173 | GetStringConstant(paramFile, "ShootKeyText", gConfigData->shootKeyText); > | ^ >src/ConstVal.cpp:174:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 174 | gConfigData->nextWeaponKey = GetLongConstant(paramFile, "NextWeaponKey"); > | ^ >src/ConstVal.cpp:175:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 175 | GetStringConstant(paramFile, "NextWeaponKeyText", gConfigData->nextWeaponKeyText); > | ^ >src/ConstVal.cpp:176:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 176 | gConfigData->prevWeaponKey = GetLongConstant(paramFile, "PrevWeaponKey"); > | ^ >src/ConstVal.cpp:177:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 177 | GetStringConstant(paramFile, "PrevWeaponKeyText", gConfigData->prevWeaponKeyText); > | ^ >src/ConstVal.cpp:178:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 178 | gConfigData->activateKey = GetLongConstant(paramFile, "ActivateKey"); > | ^ >src/ConstVal.cpp:179:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 179 | GetStringConstant(paramFile, "ActivateKeyText", gConfigData->activateKeyText); > | ^ >src/ConstVal.cpp:181:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 181 | gConfigData->weapon1Key = GetLongConstant(paramFile, "Weapon1Key"); > | ^ >src/ConstVal.cpp:182:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 182 | gConfigData->weapon2Key = GetLongConstant(paramFile, "Weapon2Key"); > | ^ >src/ConstVal.cpp:183:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 183 | gConfigData->weapon3Key = GetLongConstant(paramFile, "Weapon3Key"); > | ^ >src/ConstVal.cpp:184:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 184 | gConfigData->weapon4Key = GetLongConstant(paramFile, "Weapon4Key"); > | ^ >src/ConstVal.cpp:185:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 185 | gConfigData->weapon5Key = GetLongConstant(paramFile, "Weapon5Key"); > | ^ >src/ConstVal.cpp:186:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 186 | gConfigData->weapon6Key = GetLongConstant(paramFile, "Weapon6Key"); > | ^ >src/ConstVal.cpp:187:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 187 | gConfigData->weapon7Key = GetLongConstant(paramFile, "Weapon7Key"); > | ^ >src/ConstVal.cpp:188:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 188 | gConfigData->weapon8Key = GetLongConstant(paramFile, "Weapon8Key"); > | ^ >src/ConstVal.cpp:190:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 190 | gConfigData->soundVolume = GetLongConstant(paramFile, "SoundVolume"); > | ^ >src/ConstVal.cpp:192:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 192 | gConfigData->screenWidth = GetLongConstant(paramFile, "ScreenWidth"); > | ^ >src/ConstVal.cpp:193:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 193 | gConfigData->screenHeight = GetLongConstant(paramFile, "ScreenHeight"); > | ^ >src/ConstVal.cpp:195:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 195 | gConfigData->disableCoronas = GetLongConstant(paramFile, "DisableCoronas"); > | ^ >src/ConstVal.cpp:196:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 196 | gConfigData->disableLightning = GetLongConstant(paramFile, "DisableLightning"); > | ^ >src/ConstVal.cpp:197:62: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 197 | gConfigData->disableShapeModes = GetLongConstant(paramFile, "DisableShapeModes"); > | ^ >135 warnings generated. >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/Item.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/Item.o >src/Item.cpp:271:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 271 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Item.cpp:272:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 272 | READDATA(typeID); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Item.cpp:273:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 273 | READDATA(thingNumber); > | ^~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Item.cpp:277:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 277 | READDATA(isCorona); > | ^~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Item.cpp:278:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 278 | READDATA(detonationStartTime); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Item.cpp:304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 304 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Item.cpp:305:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 305 | READDATA(typeID); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Item.cpp:306:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 306 | READDATA(thingNumber); > | ^~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Item.cpp:310:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 310 | READDATA(pickedUp); > | ^~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Item.cpp:311:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 311 | READDATA(type); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >10 warnings generated. >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/Main.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/Main.o >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/Level.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/Level.o >src/Level.cpp:42:82: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 42 | if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFileLevel))) gSystem->Error("File kFileLevel not found or not able to open it", 0); // by LL > | ^ >src/Level.cpp:222:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 222 | gSystem->Error("Cannot open the saving file", 0); > | ^ >src/Level.cpp:273:9: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 273 | if (f) fread(&versionNumber, sizeof(versionNumber), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Level.cpp:274:9: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 274 | if (f) fread(&key, sizeof(key), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ >src/Level.cpp:279:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 279 | fread(&time, sizeof(time), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Level.cpp:299:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 299 | if (!f) gSystem->Error("Cannot open the saving file", 0); > | ^ >src/Level.cpp:302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 302 | fread(&versionNumber, sizeof(versionNumber), 1, f); if (versionNumber != kVersionNumber) return 0; > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Level.cpp:303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 303 | fread(&key, sizeof(key), 1, f); if (key != kVersionKey) return 0; > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ >src/Level.cpp:304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 304 | fread(&theTime, sizeof(theTime), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Level.cpp:305:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 305 | fread(&ticks, sizeof(ticks), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Level.cpp:306:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 306 | fread(&gApplication->difficulty, sizeof(gApplication->difficulty), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Level.cpp:307:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 307 | fread(&fileSize, sizeof(fileSize), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Level.cpp:308:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 308 | fread(&gApplication->levelNumber, sizeof(gApplication->levelNumber), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Level.cpp:315:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 315 | fread(&size, sizeof(size), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Level.cpp:316:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 316 | fread(&typeID, sizeof(typeID), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Level.cpp:333:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 333 | fread(&size, sizeof(size), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Level.cpp:334:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 334 | fread(&typeID, sizeof(typeID), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Level.cpp:335:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 335 | fread(&thingNumber, sizeof(thingNumber), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >18 warnings generated. >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/Monster.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/Monster.o >src/Monster.cpp:349:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 349 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monster.cpp:350:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 350 | READDATA(typeID); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monster.cpp:351:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 351 | READDATA(thingNumber); > | ^~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monster.cpp:359:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 359 | READDATA(speed); > | ^~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monster.cpp:360:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 360 | READDATA(lastWalkTime); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monster.cpp:361:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 361 | READDATA(lastShootTime); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monster.cpp:362:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 362 | READDATA(walkFrame); > | ^~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monster.cpp:363:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 363 | READDATA(status); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monster.cpp:364:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 364 | READDATA(lastCollisionCode); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monster.cpp:365:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 365 | READDATA(flying); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monster.cpp:366:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 366 | READDATA(teleportDeltaTime); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monster.cpp:367:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 367 | READDATA(teleportCounter); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monster.cpp:368:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 368 | READDATA(lastBlessureTime); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monster.cpp:369:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 369 | READDATA(dieFrameTime); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monster.cpp:370:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 370 | READDATA(dieFrame); > | ^~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monster.cpp:371:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 371 | READDATA(doDarken); > | ^~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monster.cpp:372:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 372 | READDATA(health); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >17 warnings generated. >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/Monstrxx.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/Monstrxx.o >src/Monstrxx.cpp:447:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 447 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:448:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 448 | READDATA(typeID); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:449:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 449 | READDATA(thingNumber); > | ^~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:453:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 453 | READDATA(nextShootTime); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:454:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 454 | READDATA(currentShootDelay); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:455:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 455 | READDATA(lastShoot); > | ^~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:483:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 483 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:484:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 484 | READDATA(typeID); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:485:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 485 | READDATA(thingNumber); > | ^~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:489:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 489 | READDATA(nextShootTime); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:490:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 490 | READDATA(currentShootDelay); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:491:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 491 | READDATA(lastShoot); > | ^~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:492:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 492 | READDATA(inJump); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:520:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 520 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:521:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 521 | READDATA(typeID); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:522:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 522 | READDATA(thingNumber); > | ^~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:526:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 526 | READDATA(nextShootTime); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:527:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 527 | READDATA(currentShootDelay); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:528:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 528 | READDATA(lastShoot); > | ^~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:529:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 529 | READDATA(rescueMeX); > | ^~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:530:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 530 | READDATA(rescueMeY); > | ^~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:561:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 561 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:562:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 562 | READDATA(typeID); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:563:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 563 | READDATA(thingNumber); > | ^~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:571:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 571 | READDATA(nextShootTime); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:572:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 572 | READDATA(currentShootDelay); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:573:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 573 | READDATA(lastShoot); > | ^~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:574:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 574 | READDATA(inJump); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Monstrxx.cpp:575:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 575 | READDATA(speedup); > | ^~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >29 warnings generated. >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/Object.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/Object.o >src/Object.cpp:317:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 317 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.cpp:318:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 318 | READDATA(typeID); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.cpp:320:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 320 | READDATA(xs); > | ^~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.cpp:321:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 321 | READDATA(ys); > | ^~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.cpp:322:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 322 | READDATA(xe); > | ^~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.cpp:323:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 323 | READDATA(ye); > | ^~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.cpp:324:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 324 | READDATA(xm); > | ^~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.cpp:325:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 325 | READDATA(ym); > | ^~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.cpp:326:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 326 | READDATA(weight); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.cpp:327:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 327 | READDATA(forceVectorX); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.cpp:328:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 328 | READDATA(forceVectorY); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.cpp:329:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 329 | READDATA(environmentForceX); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.cpp:330:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 330 | READDATA(environmentForceY); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.cpp:331:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 331 | READDATA(gravitation); > | ^~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.cpp:332:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 332 | READDATA(resForceX); > | ^~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.cpp:333:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 333 | READDATA(resForceY); > | ^~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.cpp:334:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 334 | READDATA(background); > | ^~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >17 warnings generated. >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/ObjInfo.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/ObjInfo.o >src/ObjInfo.cpp:45:83: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 45 | if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFileMonster))) gSystem->Error("Cannot find file kFileMonster or unable to open it", 0); // by LL > | ^ >src/ObjInfo.cpp:77:83: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 77 | if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFileObjects))) gSystem->Error("Cannot find file kFileObjects or uable to open it", 0); // by LL > | ^ >src/ObjInfo.cpp:94:82: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 94 | if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFileWeapon))) gSystem->Error("Cannot find file kFileWeapon or unable to open it", 0); // by LL > | ^ >src/ObjInfo.cpp:122:84: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 122 | if (!OpenDataFile(gSystem->QualifyDataDir(gConst->kFilePlatform))) gSystem->Error("Cannot find file kFilePlatform or unable to open it", 0); // by LL > | ^ >src/ObjInfo.cpp:128:35: warning: expression result unused [-Wunused-value] > 128 | TRANS_PUT_NUM2(platformInfo[n]->ID); > | ~~~~~~~~~~~~~~~ ^~ >src/File.hpp:38:29: note: expanded from macro 'TRANS_PUT_NUM2' > 38 | #define TRANS_PUT_NUM2(x) x > | ^ >src/ObjInfo.cpp:129:35: warning: expression result unused [-Wunused-value] > 129 | TRANS_PUT_NUM2(platformInfo[n]->startx); > | ~~~~~~~~~~~~~~~ ^~~~~~ >src/File.hpp:38:29: note: expanded from macro 'TRANS_PUT_NUM2' > 38 | #define TRANS_PUT_NUM2(x) x > | ^ >src/ObjInfo.cpp:130:35: warning: expression result unused [-Wunused-value] > 130 | TRANS_PUT_NUM2(platformInfo[n]->starty); > | ~~~~~~~~~~~~~~~ ^~~~~~ >src/File.hpp:38:29: note: expanded from macro 'TRANS_PUT_NUM2' > 38 | #define TRANS_PUT_NUM2(x) x > | ^ >src/ObjInfo.cpp:131:35: warning: expression result unused [-Wunused-value] > 131 | TRANS_PUT_NUM2(platformInfo[n]->endx); > | ~~~~~~~~~~~~~~~ ^~~~ >src/File.hpp:38:29: note: expanded from macro 'TRANS_PUT_NUM2' > 38 | #define TRANS_PUT_NUM2(x) x > | ^ >src/ObjInfo.cpp:132:35: warning: expression result unused [-Wunused-value] > 132 | TRANS_PUT_NUM2(platformInfo[n]->endy); > | ~~~~~~~~~~~~~~~ ^~~~ >src/File.hpp:38:29: note: expanded from macro 'TRANS_PUT_NUM2' > 38 | #define TRANS_PUT_NUM2(x) x > | ^ >src/ObjInfo.cpp:133:35: warning: expression result unused [-Wunused-value] > 133 | TRANS_PUT_NUM2(platformInfo[n]->speed); > | ~~~~~~~~~~~~~~~ ^~~~~ >src/File.hpp:38:29: note: expanded from macro 'TRANS_PUT_NUM2' > 38 | #define TRANS_PUT_NUM2(x) x > | ^ >src/ObjInfo.cpp:134:35: warning: expression result unused [-Wunused-value] > 134 | TRANS_PUT_NUM2(platformInfo[n]->delay); > | ~~~~~~~~~~~~~~~ ^~~~~ >src/File.hpp:38:29: note: expanded from macro 'TRANS_PUT_NUM2' > 38 | #define TRANS_PUT_NUM2(x) x > | ^ >src/ObjInfo.cpp:135:35: warning: expression result unused [-Wunused-value] > 135 | TRANS_PUT_NUM2(platformInfo[n]->iconID); > | ~~~~~~~~~~~~~~~ ^~~~~~ >src/File.hpp:38:29: note: expanded from macro 'TRANS_PUT_NUM2' > 38 | #define TRANS_PUT_NUM2(x) x > | ^ >src/ObjInfo.cpp:136:35: warning: expression result unused [-Wunused-value] > 136 | TRANS_PUT_NUM2(platformInfo[n]->refNum); > | ~~~~~~~~~~~~~~~ ^~~~~~ >src/File.hpp:38:29: note: expanded from macro 'TRANS_PUT_NUM2' > 38 | #define TRANS_PUT_NUM2(x) x > | ^ >13 warnings generated. >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/Pltform.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/Pltform.o >src/Pltform.cpp:259:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 259 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Pltform.cpp:260:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 260 | READDATA(typeID); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Pltform.cpp:261:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 261 | READDATA(thingNumber); > | ^~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Pltform.cpp:265:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 265 | READDATA(origHeight); > | ^~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Pltform.cpp:266:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 266 | READDATA(action); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Pltform.cpp:267:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 267 | READDATA(startx); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Pltform.cpp:268:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 268 | READDATA(starty); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Pltform.cpp:269:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 269 | READDATA(endx); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Pltform.cpp:270:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 270 | READDATA(endy); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Pltform.cpp:271:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 271 | READDATA(maxDistance); > | ^~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Pltform.cpp:272:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 272 | READDATA(delayTime); > | ^~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Pltform.cpp:276:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 276 | fread(info, sizeof(tPlatformInfo), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >12 warnings generated. >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/Player.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/Player.o >src/Player.cpp:510:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 510 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Player.cpp:511:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 511 | READDATA(typeID); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Player.cpp:512:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 512 | READDATA(thingNumber); > | ^~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Player.cpp:520:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 520 | READDATA(jumpTime); > | ^~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Player.cpp:521:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 521 | READDATA(currentWeapon); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Player.cpp:522:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 522 | READDATA(lastWeaponChanging); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Player.cpp:523:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 523 | READDATA(lastPickupTime); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Player.cpp:524:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 524 | READDATA(lastActionTime); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Player.cpp:525:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 525 | READDATA(teleportRefNum); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Player.cpp:526:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 526 | READDATA(currentJob); > | ^~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Player.cpp:528:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 528 | READDATA(oxygen); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Player.cpp:529:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 529 | READDATA(lastOxygenDecTime); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >12 warnings generated. >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/Shape.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/Shape.o >src/Shape.cpp:281:14: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] > 281 | tokenOp = GET_LONG(srcPtr ) >> 24; > | ^~~~~~~~~~~~~~~~~ ~~ >src/Shape.cpp:64:164: note: expanded from macro 'GET_LONG' > 64 | #define GET_LONG(adr) ((uint32_t)((unsigned char *)(adr))[0] << 24) + ((uint32_t)((unsigned char *)(adr))[1] << 16) + ((uint32_t)((unsigned char *)(adr))[2] << 8) + ((uint32_t)((unsigned char *)(adr))[3]) > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Shape.cpp:281:14: note: place parentheses around the '+' expression to silence this warning > 281 | tokenOp = GET_LONG(srcPtr ) >> 24; > | ^~~~~~~~~~~~~~~~~ >src/Shape.cpp:64:164: note: expanded from macro 'GET_LONG' > 64 | #define GET_LONG(adr) ((uint32_t)((unsigned char *)(adr))[0] << 24) + ((uint32_t)((unsigned char *)(adr))[1] << 16) + ((uint32_t)((unsigned char *)(adr))[2] << 8) + ((uint32_t)((unsigned char *)(adr))[3]) > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Shape.cpp:436:14: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] > 436 | tokenOp = GET_LONG(srcPtr) >> 24; > | ^~~~~~~~~~~~~~~~ ~~ >src/Shape.cpp:64:164: note: expanded from macro 'GET_LONG' > 64 | #define GET_LONG(adr) ((uint32_t)((unsigned char *)(adr))[0] << 24) + ((uint32_t)((unsigned char *)(adr))[1] << 16) + ((uint32_t)((unsigned char *)(adr))[2] << 8) + ((uint32_t)((unsigned char *)(adr))[3]) > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Shape.cpp:436:14: note: place parentheses around the '+' expression to silence this warning > 436 | tokenOp = GET_LONG(srcPtr) >> 24; > | ^~~~~~~~~~~~~~~~ >src/Shape.cpp:64:164: note: expanded from macro 'GET_LONG' > 64 | #define GET_LONG(adr) ((uint32_t)((unsigned char *)(adr))[0] << 24) + ((uint32_t)((unsigned char *)(adr))[1] << 16) + ((uint32_t)((unsigned char *)(adr))[2] << 8) + ((uint32_t)((unsigned char *)(adr))[3]) > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >2 warnings generated. >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/ShapeLd.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/ShapeLd.o >src/ShapeLd.cpp:31:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 31 | if (!plane) gSystem->Error("Cannot find kFileShapes or cannot open it. Perhaps lack of memory?", 0); > | ^ >src/ShapeLd.cpp:66:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 66 | if (!backgroundPicture) gSystem->Error("Cannot open background file. Lack of memory?", 0); > | ^ >2 warnings generated. >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/Thing.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/Thing.o >src/Thing.cpp:148:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 148 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Thing.cpp:149:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 149 | READDATA(typeID); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Thing.cpp:150:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 150 | READDATA(thingNumber); > | ^~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Thing.cpp:154:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 154 | READDATA(lookDirection); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Thing.cpp:155:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 155 | READDATA(weightless); > | ^~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Thing.cpp:156:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 156 | READDATA(dx); > | ^~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Thing.cpp:157:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 157 | READDATA(dy); > | ^~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Thing.cpp:158:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 158 | READDATA(modus); > | ^~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >8 warnings generated. >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/Surface.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/Surface.o >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/Weapon.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/Weapon.o >src/Weapon.cpp:370:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 370 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Weapon.cpp:372:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 372 | READDATA(munition); > | ^~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Weapon.cpp:373:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 373 | READDATA(lastShoot); > | ^~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Weapon.cpp:374:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 374 | READDATA(lastShootFrame); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Weapon.cpp:375:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 375 | READDATA(weaponStatus); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Weapon.cpp:376:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 376 | READDATA(repetition); > | ^~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Weapon.cpp:400:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 400 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Weapon.cpp:404:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 404 | READDATA(animationFrame); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Weapon.cpp:405:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 405 | READDATA(numAnimFrames); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Weapon.cpp:406:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 406 | READDATA(shootFrameTime); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Weapon.cpp:429:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 429 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Weapon.cpp:433:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 433 | READDATA(status); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Weapon.cpp:460:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 460 | READDATA(size); > | ^~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Weapon.cpp:464:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 464 | READDATA(staffLoadTime); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Weapon.cpp:465:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 465 | READDATA(lastLoad); > | ^~~~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Weapon.cpp:466:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 466 | READDATA(inLoad); > | ^~~~~~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Weapon.cpp:467:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 467 | READDATA(dx); > | ^~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >src/Weapon.cpp:468:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] > 468 | READDATA(dy); > | ^~~~~~~~~~~~ >src/Object.hpp:47:24: note: expanded from macro 'READDATA' > 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ >18 warnings generated. >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/SndSys.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/SndSys.o >src/SndSys.cpp:126:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > 126 | while (theSound = playList->GetNext()) { > | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ >src/SndSys.cpp:126:25: note: place parentheses around the assignment to silence this warning > 126 | while (theSound = playList->GetNext()) { > | ^ > | ( ) >src/SndSys.cpp:126:25: note: use '==' to turn this assignment into an equality comparison > 126 | while (theSound = playList->GetNext()) { > | ^ > | == >1 warning generated. >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/SoundList.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/SoundList.o >clang++ -DINSTALL_DIR="\"/usr/share/amphetamine\"" -D_USE_LIB_XPM -c src/System.cpp -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o src/System.o >src/System.cpp:151:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > 151 | if (tmp = getenv("HOME")) { > | ~~~~^~~~~~~~~~~~~~~~ >src/System.cpp:151:10: note: place parentheses around the assignment to silence this warning > 151 | if (tmp = getenv("HOME")) { > | ^ > | ( ) >src/System.cpp:151:10: note: use '==' to turn this assignment into an equality comparison > 151 | if (tmp = getenv("HOME")) { > | ^ > | == >src/System.cpp:303:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 303 | if (port == NULL) Error("Error while creating an SDL Surface", 0); > | ^ >src/System.cpp:344:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] > 344 | if (!gf) Error("Cannot find or open the palette file (*.pal)", 0); > | ^ >src/System.cpp:546:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > 546 | if (tmp=fopen(gSystem->QualifyHomeDir(fname), "r")) > | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/System.cpp:546:9: note: place parentheses around the assignment to silence this warning > 546 | if (tmp=fopen(gSystem->QualifyHomeDir(fname), "r")) > | ^ > | ( ) >src/System.cpp:546:9: note: use '==' to turn this assignment into an equality comparison > 546 | if (tmp=fopen(gSystem->QualifyHomeDir(fname), "r")) > | ^ > | == >src/System.cpp:551:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] > 551 | if (tmp=fopen(gSystem->QualifyDataDir(fname), "r")) > | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/System.cpp:551:9: note: place parentheses around the assignment to silence this warning > 551 | if (tmp=fopen(gSystem->QualifyDataDir(fname), "r")) > | ^ > | ( ) >src/System.cpp:551:9: note: use '==' to turn this assignment into an equality comparison > 551 | if (tmp=fopen(gSystem->QualifyDataDir(fname), "r")) > | ^ > | == >5 warnings generated. >clang++ -O2 -pipe -march=native -fno-diagnostics-color -I./src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/lib -L/usr/local/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 -L/usr/lib64 -lSDL -lXpm >ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/Scrt1.o is incompatible with elf32-i386 >ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/crti.o is incompatible with elf32-i386 >ld.lld: error: /usr/lib/llvm/19/bin/../../../../lib/clang/19/lib/linux/clang_rt.crtbegin-x86_64.o is incompatible with elf32-i386 >ld.lld: error: src/Element.o is incompatible with elf32-i386 >ld.lld: error: src/File.o is incompatible with elf32-i386 >ld.lld: error: src/Gifload.o is incompatible with elf32-i386 >ld.lld: error: src/Graphfil.o is incompatible with elf32-i386 >ld.lld: error: src/Gui.o is incompatible with elf32-i386 >ld.lld: error: src/Appl.o is incompatible with elf32-i386 >ld.lld: error: src/Bullet.o is incompatible with elf32-i386 >ld.lld: error: src/Clut.o is incompatible with elf32-i386 >ld.lld: error: src/ConstVal.o is incompatible with elf32-i386 >ld.lld: error: src/Creeper.o is incompatible with elf32-i386 >ld.lld: error: src/Item.o is incompatible with elf32-i386 >ld.lld: error: src/Level.o is incompatible with elf32-i386 >ld.lld: error: src/Main.o is incompatible with elf32-i386 >ld.lld: error: src/Monster.o is incompatible with elf32-i386 >ld.lld: error: src/Monstrxx.o is incompatible with elf32-i386 >ld.lld: error: src/Object.o is incompatible with elf32-i386 >ld.lld: error: src/ObjInfo.o is incompatible with elf32-i386 >ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) >clang++: error: linker command failed with exit code 1 (use -v to see invocation) >make: *** [Makefile:87: amph] Error 1 > * ERROR: games-arcade/amphetamine-0.8.10-r3::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=games-arcade/amphetamine-0.8.10-r3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=games-arcade/amphetamine-0.8.10-r3::gentoo'`. > * The complete build log is located at '/var/log/portage/games-arcade:amphetamine-0.8.10-r3:20241012-185714.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-arcade/amphetamine-0.8.10-r3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/games-arcade/amphetamine-0.8.10-r3/temp/environment'. > * Working directory: '/var/tmp/portage/games-arcade/amphetamine-0.8.10-r3/work/amphetamine-0.8.10' > * S: '/var/tmp/portage/games-arcade/amphetamine-0.8.10-r3/work/amphetamine-0.8.10' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 941422
:
905398
|
905399
|
905400
|
905401
|
905402
| 905403 |
905404
|
905405