<86>Dec 2 06:07:58 userdel[3464056]: delete user 'rooter' <86>Dec 2 06:07:58 userdel[3464056]: removed group 'rooter' owned by 'rooter' <86>Dec 2 06:07:58 userdel[3464056]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 2 06:07:58 groupadd[3464097]: group added to /etc/group: name=rooter, GID=1817 <86>Dec 2 06:07:58 groupadd[3464097]: group added to /etc/gshadow: name=rooter <86>Dec 2 06:07:58 groupadd[3464097]: new group: name=rooter, GID=1817 <86>Dec 2 06:07:58 useradd[3464140]: new user: name=rooter, UID=1817, GID=1817, home=/root, shell=/bin/bash, from=none <86>Dec 2 06:07:58 userdel[3464193]: delete user 'builder' <86>Dec 2 06:07:58 userdel[3464193]: removed group 'builder' owned by 'builder' <86>Dec 2 06:07:58 userdel[3464193]: removed shadow group 'builder' owned by 'builder' <86>Dec 2 06:07:58 groupadd[3464214]: group added to /etc/group: name=builder, GID=1818 <86>Dec 2 06:07:58 groupadd[3464214]: group added to /etc/gshadow: name=builder <86>Dec 2 06:07:58 groupadd[3464214]: new group: name=builder, GID=1818 <86>Dec 2 06:07:58 useradd[3464242]: new user: name=builder, UID=1818, GID=1818, home=/usr/src, shell=/bin/bash, from=none warning: Macro %cmake not found warning: Macro %cmake_build not found <13>Dec 2 06:08:01 rpmi: libglvnd-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 2 06:08:01 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075766 installed <13>Dec 2 06:08:01 rpmi: libidn2-2.3.4-alt1 sisyphus+309023.100.1.1 1666791089 installed <13>Dec 2 06:08:01 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Dec 2 06:08:01 rpmi: xorg-proto-devel-2023.2-alt1.1 sisyphus+330960.100.2.1 1696609218 installed <13>Dec 2 06:08:01 rpmi: libSDL2-2.28.5-alt1 sisyphus+333852.100.1.1 1699387407 installed <13>Dec 2 06:08:01 rpmi: libwayland-server-1.22.0-alt1.1 sisyphus+318010.100.1.1 1680606300 installed <13>Dec 2 06:08:01 rpmi: libp11-kit-1:0.25.3-alt1 sisyphus+334477.100.1.1 1700063204 installed <13>Dec 2 06:08:01 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Dec 2 06:08:01 rpmi: libSDL2_mixer-2.6.3-alt1 sisyphus+314790.300.1.1 1675764928 installed <13>Dec 2 06:08:01 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Dec 2 06:08:01 rpmi: libgnutls30-3.8.2-alt1 sisyphus+334989.100.1.1 1700758156 installed <13>Dec 2 06:08:01 rpmi: libngtcp2.16-1.0.1-alt1 sisyphus+332583.200.2.1 1698669156 installed <13>Dec 2 06:08:01 rpmi: libngtcp2_crypto_gnutls8-1.0.1-alt1 sisyphus+332583.200.2.1 1698669156 installed <13>Dec 2 06:08:01 rpmi: libGLES-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 2 06:08:01 rpmi: libOpenGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 2 06:08:01 rpmi: libxshmfence-1.3.2-alt1 sisyphus+311428.400.1.1 1670577529 installed <13>Dec 2 06:08:01 rpmi: libX11-locales-3:1.8.7-alt1 sisyphus+330921.200.1.1 1696400315 installed <13>Dec 2 06:08:01 rpmi: libXdmcp-1.1.4-alt1 sisyphus+311188.1000.1.1 1670233860 installed <13>Dec 2 06:08:01 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577440 installed <13>Dec 2 06:08:01 rpmi: libxcb-1.16-alt1 sisyphus+327325.200.1.1 1692276267 installed <13>Dec 2 06:08:01 rpmi: libX11-3:1.8.7-alt1 sisyphus+330921.200.1.1 1696400319 installed <13>Dec 2 06:08:01 rpmi: libXext-1.3.5-alt1 sisyphus+309285.100.1.1 1667212413 installed <13>Dec 2 06:08:01 rpmi: libXxf86vm-1.1.5-alt1 sisyphus+308663.1400.1.1 1666168534 installed <13>Dec 2 06:08:01 rpmi: libXfixes-6.0.1-alt1 sisyphus+331490.300.1.1 1697023235 installed <13>Dec 2 06:08:02 rpmi: libxcb-devel-1.16-alt1 sisyphus+327325.200.1.1 1692276267 installed <13>Dec 2 06:08:03 rpmi: libX11-devel-3:1.8.7-alt1 sisyphus+330921.200.1.1 1696400319 installed <13>Dec 2 06:08:03 rpmi: libwayland-client-1.22.0-alt1.1 sisyphus+318010.100.1.1 1680606300 installed <13>Dec 2 06:08:03 rpmi: libpciaccess-1:0.17-alt1 sisyphus+308663.300.1.1 1666168262 installed <13>Dec 2 06:08:03 rpmi: libdrm-1:2.4.118-alt1 sisyphus+335206.100.1.1 1701073379 installed <13>Dec 2 06:08:03 rpmi: libGLX-mesa-4:23.3.0-alt1 sisyphus+335415.100.1.1 1701333690 installed <13>Dec 2 06:08:03 rpmi: libGLX-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 2 06:08:03 rpmi: libGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 2 06:08:03 rpmi: libgbm-4:23.3.0-alt1 sisyphus+335415.100.1.1 1701333690 installed <13>Dec 2 06:08:03 rpmi: libEGL-mesa-4:23.3.0-alt1 sisyphus+335415.100.1.1 1701333690 installed <13>Dec 2 06:08:03 rpmi: libEGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 2 06:08:03 rpmi: libglvnd-devel-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 2 06:08:03 rpmi: libSDL2-devel-2.28.5-alt1 sisyphus+333852.100.1.1 1699387407 installed <13>Dec 2 06:08:03 rpmi: libxxhash-0.8.0-alt2 sisyphus+277476.100.2.1 1625621318 installed <13>Dec 2 06:08:03 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed <13>Dec 2 06:08:03 rpmi: libedit3-3.1.20230828-alt1 sisyphus+330914.200.3.1 1696922745 installed <13>Dec 2 06:08:03 rpmi: less-633-alt1 sisyphus+328181.300.2.1 1693321749 installed <13>Dec 2 06:08:03 rpmi: perl-TermReadKey-2.38-alt1.1 sisyphus+335067.1700.1.1 1700901805 installed <13>Dec 2 06:08:03 rpmi: perl-Filter-1.64-alt1 sisyphus+335067.400.1.1 1700901530 installed <13>Dec 2 06:08:03 rpmi: perl-Encode-3.19-alt1 sisyphus+335067.500.1.1 1700901585 installed <13>Dec 2 06:08:03 rpmi: perl-libintl-1.33-alt1.1 sisyphus+335067.6600.2.2 1701151164 installed <13>Dec 2 06:08:03 rpmi: perl-Error-0.17029-alt1 sisyphus+245975.100.1.1 1581530233 installed <13>Dec 2 06:08:03 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Dec 2 06:08:03 rpmi: libstdc++13-devel-13.2.1-alt2 sisyphus+327572.100.1.1 1692472364 installed <13>Dec 2 06:08:04 rpmi: gcc13-c++-13.2.1-alt2 sisyphus+327572.100.1.1 1692472364 installed <13>Dec 2 06:08:04 rpmi: diffstat-1.64-alt1 sisyphus+278100.700.1.1 1626056686 installed <13>Dec 2 06:08:04 rpmi: rpm-macros-cmake-3.27.7-alt1 sisyphus+331245.40.2.1 1697877632 installed <13>Dec 2 06:08:04 rpmi: cmake-modules-3.27.7-alt1 sisyphus+331245.40.2.1 1697877617 installed <13>Dec 2 06:08:04 rpmi: libuv-1.46.0-alt1 sisyphus+326001.100.1.1 1690655255 installed <13>Dec 2 06:08:04 rpmi: librhash-1.3.5-alt3 sisyphus+286141.40.2.1 1632982456 installed <13>Dec 2 06:08:04 rpmi: libjsoncpp24-1.9.4-alt2 sisyphus+286441.100.1.1 1633444234 installed <13>Dec 2 06:08:04 rpmi: publicsuffix-list-dafsa-20231026-alt1 sisyphus+332908.100.1.1 1698419299 installed <13>Dec 2 06:08:04 rpmi: libpsl-0.21.2-alt1 sisyphus+312536.100.1.1 1672131180 installed <13>Dec 2 06:08:04 rpmi: libnghttp3.9-1.0.0-alt1 sisyphus+332583.100.2.1 1698669105 installed <13>Dec 2 06:08:04 rpmi: libnghttp2-1.57.0-alt1 sisyphus+331457.200.2.1 1697011708 installed <13>Dec 2 06:08:04 rpmi: openldap-common-2.6.6-alt1 sisyphus+330946.100.2.1 1696432854 installed <13>Dec 2 06:08:04 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626059663 installed <13>Dec 2 06:08:04 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769693 installed <13>Dec 2 06:08:04 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684806164 installed <13>Dec 2 06:08:04 rpmi: liblmdb-0.9.31-alt1 sisyphus+330946.40.2.1 1696431544 installed <13>Dec 2 06:08:04 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>Dec 2 06:08:04 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975361 installed <13>Dec 2 06:08:04 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Dec 2 06:08:04 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Dec 2 06:08:04 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 2 06:08:04 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 2 06:08:04 rpmi: ca-certificates-2023.07.31-alt1 sisyphus+326137.200.1.1 1690809798 installed <13>Dec 2 06:08:04 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Dec 2 06:08:04 rpmi: p11-kit-trust-1:0.25.3-alt1 sisyphus+334477.100.1.1 1700063204 installed <13>Dec 2 06:08:04 rpmi: libcrypto3-3.1.4-alt1 sisyphus+332632.100.2.1 1698241305 installed <13>Dec 2 06:08:04 rpmi: libssl3-3.1.4-alt1 sisyphus+332632.100.2.1 1698241305 installed <86>Dec 2 06:08:04 groupadd[3493215]: group added to /etc/group: name=_keytab, GID=999 <86>Dec 2 06:08:04 groupadd[3493215]: group added to /etc/gshadow: name=_keytab <86>Dec 2 06:08:04 groupadd[3493215]: new group: name=_keytab, GID=999 <13>Dec 2 06:08:04 rpmi: libkrb5-1.21.2-alt1 sisyphus+327265.100.1.1 1692185512 installed <13>Dec 2 06:08:04 rpmi: libgsasl-2.2.0-alt1 sisyphus+333173.100.1.1 1698696961 installed <86>Dec 2 06:08:04 groupadd[3493321]: group added to /etc/group: name=sasl, GID=998 <86>Dec 2 06:08:04 groupadd[3493321]: group added to /etc/gshadow: name=sasl <86>Dec 2 06:08:04 groupadd[3493321]: new group: name=sasl, GID=998 <13>Dec 2 06:08:04 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+324359.6000.12.1 1689392231 installed <13>Dec 2 06:08:04 rpmi: libldap2-2.6.6-alt1 sisyphus+330946.100.2.1 1696432858 installed <13>Dec 2 06:08:04 rpmi: libarchive13-3.6.1-alt2 sisyphus+324359.1300.6.1 1689326414 installed <13>Dec 2 06:08:04 rpmi: libssh2-1.11.0-alt1 sisyphus+327652.100.1.1 1692636581 installed <13>Dec 2 06:08:04 rpmi: libcurl-8.4.0-alt1 sisyphus+333173.300.3.1 1698701762 installed <13>Dec 2 06:08:04 rpmi: openssh-common-9.5p1-alt1 sisyphus+330957.100.3.1 1696924057 installed <86>Dec 2 06:08:04 groupadd[3493827]: group added to /etc/group: name=sshagent, GID=997 <86>Dec 2 06:08:04 groupadd[3493827]: group added to /etc/gshadow: name=sshagent <86>Dec 2 06:08:04 groupadd[3493827]: new group: name=sshagent, GID=997 <13>Dec 2 06:08:04 rpmi: openssh-clients-9.5p1-alt1 sisyphus+330957.100.3.1 1696924057 installed <13>Dec 2 06:08:04 rpmi: rsync-3.2.7-alt1 sisyphus+325006.2000.1.1 1689498390 installed <13>Dec 2 06:08:04 rpmi: git-core-2.42.1-alt1 sisyphus+333661.100.1.1 1699193194 installed <13>Dec 2 06:08:04 rpmi: perl-Git-2.42.1-alt1 sisyphus+333661.100.1.1 1699193182 installed <13>Dec 2 06:08:04 rpmi: git-2.42.1-alt1 sisyphus+333661.100.1.1 1699193194 installed <13>Dec 2 06:08:05 rpmi: cmake-3.27.7-alt1 sisyphus+331245.40.2.1 1697877632 installed <13>Dec 2 06:08:05 rpmi: gcc-c++-13-alt1 sisyphus+323337.300.1.1 1687268227 installed <13>Dec 2 06:08:05 rpmi: libSDL2_mixer-devel-2.6.3-alt1 sisyphus+314790.300.1.1 1675764928 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/openfodder-1.7.0-alt1.nosrc.rpm (w1.gzdio) Installing openfodder-1.7.0-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.3730 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf openfodder-1.7.0 + echo 'Source #0 (openfodder-1.7.0.tar):' Source #0 (openfodder-1.7.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/openfodder-1.7.0.tar + cd openfodder-1.7.0 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.3730 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd openfodder-1.7.0 + mkdir -p i586-alt-linux + cmake -DCMAKE_SKIP_INSTALL_RPATH:BOOL=yes '-DCMAKE_C_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' '-DCMAKE_CXX_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' '-DCMAKE_Fortran_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' -DCMAKE_INSTALL_PREFIX=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_DESTINATION=lib -DLIB_SUFFIX= -S . -B i586-alt-linux -- No build type selected, default to Release. -- The CXX compiler identification is GNU 13.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found SDL2: /usr/lib/libSDL2.so -- Found SDL2Mixer: /usr/lib/libSDL2_mixer.so -- Found Git: /usr/bin/git (found version "2.42.1") -- Configuring done (0.4s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_C_FLAGS CMAKE_Fortran_FLAGS CMAKE_SKIP_INSTALL_RPATH INCLUDE_INSTALL_DIR LIB_DESTINATION LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux + cmake --build i586-alt-linux --verbose --parallel 16 Change Dir: '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j16 gmake: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' /usr/bin/cmake -S/usr/src/RPM/BUILD/openfodder-1.7.0 -B/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux --check-build-system CMakeFiles/Makefile.cmake 0 gmake: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/CMakeFiles /usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux//CMakeFiles/progress.marks gmake: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' /usr/bin/gmake -f CMakeFiles/Makefile2 all /usr/bin/gmake -f CMakeFiles/openfodder.dir/build.make CMakeFiles/openfodder.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' cd /usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/openfodder-1.7.0 /usr/src/RPM/BUILD/openfodder-1.7.0 /usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux /usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux /usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/CMakeFiles/openfodder.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' /usr/bin/gmake -f CMakeFiles/openfodder.dir/build.make CMakeFiles/openfodder.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 13%] Building CXX object CMakeFiles/openfodder.dir/Source/Amiga/dernc.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Amiga/dernc.cpp.o -MF CMakeFiles/openfodder.dir/Source/Amiga/dernc.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Amiga/dernc.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/dernc.cpp /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/dernc.cpp: In function 'const char* rnc_error(long int)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/dernc.cpp:64:17: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 64 | if (errcode > sizeof(errors)/sizeof(*errors) - 1) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/dernc.cpp: In function 'long int rnc_unpack(void*, void*)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/dernc.cpp:113:49: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 113 | if (rnc_crc(input, (long) (inputend-input)) != bword(input-4)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/dernc.cpp:177:45: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 177 | if (rnc_crc(outputend-ret_len, ret_len) != out_crc) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 5%] Building CXX object CMakeFiles/openfodder.dir/Source/Amiga/IntroData_Amiga.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Amiga/IntroData_Amiga.cpp.o -MF CMakeFiles/openfodder.dir/Source/Amiga/IntroData_Amiga.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Amiga/IntroData_Amiga.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/IntroData_Amiga.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 29%] Building CXX object CMakeFiles/openfodder.dir/Source/FontData.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/FontData.cpp.o -MF CMakeFiles/openfodder.dir/Source/FontData.cpp.o.d -o CMakeFiles/openfodder.dir/Source/FontData.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/FontData.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 23%] Building CXX object CMakeFiles/openfodder.dir/Source/Debugger.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Debugger.cpp.o -MF CMakeFiles/openfodder.dir/Source/Debugger.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Debugger.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Debugger.cpp /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Debugger.cpp: In member function 'void cDebugger::ClearConsole()': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Debugger.cpp:73:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | system("clear"); | ~~~~~~^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Debugger.cpp: In member function 'void cDebugger::Notice(const std::string&)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Debugger.cpp:91:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | system(Command.c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Debugger.cpp: In member function 'void cDebugger::Error(const std::string&)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Debugger.cpp:105:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | system(Command.c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Debugger.cpp: In member function 'void cDebugger::TestStart(const std::string&, const std::string&)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Debugger.cpp:120:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 120 | system(Command.c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Debugger.cpp: In member function 'void cDebugger::TestComplete(const std::string&, const std::string&, const std::string&, size_t, eTestState)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Debugger.cpp:154:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 154 | system(Command.c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 25%] Building CXX object CMakeFiles/openfodder.dir/Source/Event.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Event.cpp.o -MF CMakeFiles/openfodder.dir/Source/Event.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Event.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Event.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 9%] Building CXX object CMakeFiles/openfodder.dir/Source/Amiga/Resource_Amiga_File.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Amiga/Resource_Amiga_File.cpp.o -MF CMakeFiles/openfodder.dir/Source/Amiga/Resource_Amiga_File.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Amiga/Resource_Amiga_File.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Resource_Amiga_File.cpp /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Resource_Amiga_File.cpp:45:23: warning: multi-character character constant [-Wmultichar] 45 | if (Header != 'RNC\01') | ^~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 15%] Building CXX object CMakeFiles/openfodder.dir/Source/Amiga/rjp1.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Amiga/rjp1.cpp.o -MF CMakeFiles/openfodder.dir/Source/Amiga/rjp1.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Amiga/rjp1.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/rjp1.cpp /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/rjp1.cpp:44:39: warning: multi-character character constant [-Wmultichar] 44 | if ( readBEDWord(songData) == 'RJP1' && readBEDWord(songData + 4) == 'SMOD') { | ^~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/rjp1.cpp:44:78: warning: multi-character character constant [-Wmultichar] 44 | if ( readBEDWord(songData) == 'RJP1' && readBEDWord(songData + 4) == 'SMOD') { | ^~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/rjp1.cpp:80:53: warning: multi-character character constant [-Wmultichar] 80 | if (readBEDWord(instrumentsData) == 'RJP1') { | ^~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 3%] Building CXX object CMakeFiles/openfodder.dir/Source/Amiga/Graphics_Amiga2.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Amiga/Graphics_Amiga2.cpp.o -MF CMakeFiles/openfodder.dir/Source/Amiga/Graphics_Amiga2.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Amiga/Graphics_Amiga2.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Graphics_Amiga2.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 1%] Building CXX object CMakeFiles/openfodder.dir/Source/About.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/About.cpp.o -MF CMakeFiles/openfodder.dir/Source/About.cpp.o.d -o CMakeFiles/openfodder.dir/Source/About.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/About.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 47%] Building CXX object CMakeFiles/openfodder.dir/Source/PC/IntroData_PC.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/PC/IntroData_PC.cpp.o -MF CMakeFiles/openfodder.dir/Source/PC/IntroData_PC.cpp.o.d -o CMakeFiles/openfodder.dir/Source/PC/IntroData_PC.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/PC/IntroData_PC.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 21%] Building CXX object CMakeFiles/openfodder.dir/Source/CopyProtection.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/CopyProtection.cpp.o -MF CMakeFiles/openfodder.dir/Source/CopyProtection.cpp.o.d -o CMakeFiles/openfodder.dir/Source/CopyProtection.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/CopyProtection.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 11%] Building CXX object CMakeFiles/openfodder.dir/Source/Amiga/Sound_Amiga.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Amiga/Sound_Amiga.cpp.o -MF CMakeFiles/openfodder.dir/Source/Amiga/Sound_Amiga.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Amiga/Sound_Amiga.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Sound_Amiga.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 7%] Building CXX object CMakeFiles/openfodder.dir/Source/Amiga/Graphics_Amiga.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Amiga/Graphics_Amiga.cpp.o -MF CMakeFiles/openfodder.dir/Source/Amiga/Graphics_Amiga.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Amiga/Graphics_Amiga.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Graphics_Amiga.cpp /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Graphics_Amiga.cpp:525:51: warning: multi-character character constant [-Wmultichar] 525 | if (!DataPtr || readBEDWord( DataPtr ) != 'FORM') | ^~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Graphics_Amiga.cpp:531:39: warning: multi-character character constant [-Wmultichar] 531 | if (readBEDWord( DataPtr ) != 'ILBM') | ^~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Graphics_Amiga.cpp:547:22: warning: multi-character character constant [-Wmultichar] 547 | case 'BMHD': | ^~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Graphics_Amiga.cpp:559:22: warning: multi-character character constant [-Wmultichar] 559 | case 'BODY': { | ^~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Graphics_Amiga.cpp:622:22: warning: multi-character character constant [-Wmultichar] 622 | case 'CMAP': | ^~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Graphics_Amiga.cpp: In member function 'virtual void cGraphics_Amiga::Load_Sprite_Font()': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Graphics_Amiga.cpp:349:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 349 | if (!mImageFonts.mData->size()) | ^~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Graphics_Amiga.cpp:353:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 353 | mImageFonts.LoadPalette_Amiga(mImageFonts.mData->data(), 16); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Graphics_Amiga.cpp: In member function 'virtual void cGraphics_Amiga::SetActiveSpriteSheet(eGFX_Types)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Graphics_Amiga.cpp:450:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 450 | else | ^~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Graphics_Amiga.cpp:453:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 453 | return; | ^~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Graphics_Amiga.cpp: In member function 'virtual void cGraphics_Amiga::Video_Draw_8_Alt(const uint8*)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Graphics_Amiga.cpp:955:15: warning: unused variable 'Palette' [-Wunused-variable] 955 | uint8 Palette = mFodder->mVideo_Draw_PaletteIndex; | ^~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 19%] Building CXX object CMakeFiles/openfodder.dir/Source/Amiga/paula.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Amiga/paula.cpp.o -MF CMakeFiles/openfodder.dir/Source/Amiga/paula.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Amiga/paula.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/paula.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 31%] Building CXX object CMakeFiles/openfodder.dir/Source/GUI_Element.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/GUI_Element.cpp.o -MF CMakeFiles/openfodder.dir/Source/GUI_Element.cpp.o.d -o CMakeFiles/openfodder.dir/Source/GUI_Element.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/GUI_Element.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 35%] Building CXX object CMakeFiles/openfodder.dir/Source/Graphics.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Graphics.cpp.o -MF CMakeFiles/openfodder.dir/Source/Graphics.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Graphics.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Graphics.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 43%] Building CXX object CMakeFiles/openfodder.dir/Source/MapData.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/MapData.cpp.o -MF CMakeFiles/openfodder.dir/Source/MapData.cpp.o.d -o CMakeFiles/openfodder.dir/Source/MapData.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/MapData.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 39%] Building CXX object CMakeFiles/openfodder.dir/Source/Map/Original.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Map/Original.cpp.o -MF CMakeFiles/openfodder.dir/Source/Map/Original.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Map/Original.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Map/Original.cpp /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Map/Original.cpp:34:21: warning: multi-character character constant [-Wmultichar] 34 | Map[0x28] = 'fo'; Map[0x29] = 'de'; | ^~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Map/Original.cpp:34:39: warning: multi-character character constant [-Wmultichar] 34 | Map[0x28] = 'fo'; Map[0x29] = 'de'; | ^~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Map/Original.cpp: In member function 'bool cOriginalMap::saveCF1Sprites(std::string)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Map/Original.cpp:186:25: warning: loop variable 'SpriteIT' creates a copy from type 'const sSprite' [-Wrange-loop-construct] 186 | for (const auto SpriteIT : mSprites) { | ^~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Map/Original.cpp:186:25: note: use reference type to prevent copying 186 | for (const auto SpriteIT : mSprites) { | ^~~~~~~~ | & /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Map/Original.cpp:202:25: warning: loop variable 'SpriteIT' creates a copy from type 'const sSprite' [-Wrange-loop-construct] 202 | for (const auto SpriteIT : mSprites) { | ^~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Map/Original.cpp:202:25: note: use reference type to prevent copying 202 | for (const auto SpriteIT : mSprites) { | ^~~~~~~~ | & gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 49%] Building CXX object CMakeFiles/openfodder.dir/Source/PC/Resource_PC_CD.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/PC/Resource_PC_CD.cpp.o -MF CMakeFiles/openfodder.dir/Source/PC/Resource_PC_CD.cpp.o.d -o CMakeFiles/openfodder.dir/Source/PC/Resource_PC_CD.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/PC/Resource_PC_CD.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 52%] Building CXX object CMakeFiles/openfodder.dir/Source/PC/Sound_PC2.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/PC/Sound_PC2.cpp.o -MF CMakeFiles/openfodder.dir/Source/PC/Sound_PC2.cpp.o.d -o CMakeFiles/openfodder.dir/Source/PC/Sound_PC2.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/PC/Sound_PC2.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 41%] Building CXX object CMakeFiles/openfodder.dir/Source/Map/Random.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Map/Random.cpp.o -MF CMakeFiles/openfodder.dir/Source/Map/Random.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Map/Random.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Map/Random.cpp /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Map/Random.cpp: In member function 'int32 cRandomMap::getSpriteTypeCount(size_t)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Map/Random.cpp:45:37: warning: comparison of integer expressions of different signedness: 'int16' {aka 'short int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 45 | if (Sprite.field_18 == pSpriteType) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Map/Random.cpp: In member function 'std::vector cRandomMap::getSpritesByType(size_t)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Map/Random.cpp:57:36: warning: comparison of integer expressions of different signedness: 'int16' {aka 'short int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 57 | if(Sprite.field_18 == pSpriteType) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Map/Random.cpp: In member function 'std::vector cRandomMap::calculatePath(size_t, cPosition*, cPosition*)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Map/Random.cpp:321:14: warning: unused variable 'result' [-Wunused-variable] 321 | auto result = pather->Solve(Pos1, Pos2, &path, &totalCost); | ^~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 37%] Building CXX object CMakeFiles/openfodder.dir/Source/Map/Map.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Map/Map.cpp.o -MF CMakeFiles/openfodder.dir/Source/Map/Map.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Map/Map.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Map/Map.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 72%] Building CXX object CMakeFiles/openfodder.dir/Source/Start_Emscripten.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Start_Emscripten.cpp.o -MF CMakeFiles/openfodder.dir/Source/Start_Emscripten.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Start_Emscripten.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Start_Emscripten.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 17%] Building CXX object CMakeFiles/openfodder.dir/Source/Campaign.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Campaign.cpp.o -MF CMakeFiles/openfodder.dir/Source/Campaign.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Campaign.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Campaign.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 45%] Building CXX object CMakeFiles/openfodder.dir/Source/PC/Graphics_PC.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/PC/Graphics_PC.cpp.o -MF CMakeFiles/openfodder.dir/Source/PC/Graphics_PC.cpp.o.d -o CMakeFiles/openfodder.dir/Source/PC/Graphics_PC.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/PC/Graphics_PC.cpp /usr/src/RPM/BUILD/openfodder-1.7.0/Source/PC/Graphics_PC.cpp: In member function 'virtual void cGraphics_PC::SetActiveSpriteSheet(eGFX_Types)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/PC/Graphics_PC.cpp:132:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 132 | else | ^~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/PC/Graphics_PC.cpp:134:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 134 | return; | ^~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 56%] Building CXX object CMakeFiles/openfodder.dir/Source/Recruits.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Recruits.cpp.o -MF CMakeFiles/openfodder.dir/Source/Recruits.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Recruits.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Recruits.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 50%] Building CXX object CMakeFiles/openfodder.dir/Source/PC/Sound_PC.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/PC/Sound_PC.cpp.o -MF CMakeFiles/openfodder.dir/Source/PC/Sound_PC.cpp.o.d -o CMakeFiles/openfodder.dir/Source/PC/Sound_PC.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/PC/Sound_PC.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 60%] Building CXX object CMakeFiles/openfodder.dir/Source/Resources.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Resources.cpp.o -MF CMakeFiles/openfodder.dir/Source/Resources.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Resources.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Resources.cpp /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Resources.cpp:42:23: warning: multi-character character constant [-Wmultichar] 42 | if (Header != 'RNC\01') | ^~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 86%] Building CXX object CMakeFiles/openfodder.dir/Source/Utils/duk_trans_socket_windows.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Utils/duk_trans_socket_windows.cpp.o -MF CMakeFiles/openfodder.dir/Source/Utils/duk_trans_socket_windows.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Utils/duk_trans_socket_windows.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duk_trans_socket_windows.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 82%] Building CXX object CMakeFiles/openfodder.dir/Source/Utils/SimplexIslands.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Utils/SimplexIslands.cpp.o -MF CMakeFiles/openfodder.dir/Source/Utils/SimplexIslands.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Utils/SimplexIslands.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/SimplexIslands.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 90%] Building CXX object CMakeFiles/openfodder.dir/Source/Utils/md5.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Utils/md5.cpp.o -MF CMakeFiles/openfodder.dir/Source/Utils/md5.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Utils/md5.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/md5.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 64%] Building CXX object CMakeFiles/openfodder.dir/Source/Sound.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Sound.cpp.o -MF CMakeFiles/openfodder.dir/Source/Sound.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Sound.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Sound.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 66%] Building CXX object CMakeFiles/openfodder.dir/Source/SpriteSheet.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/SpriteSheet.cpp.o -MF CMakeFiles/openfodder.dir/Source/SpriteSheet.cpp.o.d -o CMakeFiles/openfodder.dir/Source/SpriteSheet.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/SpriteSheet.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 92%] Building CXX object CMakeFiles/openfodder.dir/Source/Utils/micropather.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Utils/micropather.cpp.o -MF CMakeFiles/openfodder.dir/Source/Utils/micropather.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Utils/micropather.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/micropather.cpp /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/micropather.cpp: In member function 'void micropather::PathNode::Clear()': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/micropather.cpp:480:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class micropather::PathNode' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 480 | memset( this, 0, sizeof( PathNode ) ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/micropather.cpp:45: /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/micropather.h:203:15: note: 'class micropather::PathNode' declared here 203 | class PathNode | ^~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/micropather.cpp: In member function 'void micropather::MicroPather::GetCacheData(micropather::CacheData*)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/micropather.cpp:681:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct micropather::CacheData'; use assignment or value-initialization instead [-Wclass-memaccess] 681 | memset( data, 0, sizeof(*data) ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/micropather.h:344:16: note: 'struct micropather::CacheData' declared here 344 | struct CacheData { | ^~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 58%] Building CXX object CMakeFiles/openfodder.dir/Source/ResourceMan.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/ResourceMan.cpp.o -MF CMakeFiles/openfodder.dir/Source/ResourceMan.cpp.o.d -o CMakeFiles/openfodder.dir/Source/ResourceMan.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ResourceMan.cpp /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ResourceMan.cpp: In member function 'std::string cResourceMan::getcwd()': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ResourceMan.cpp:579:17: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 579 | ::getcwd(buff, 1024); | ~~~~~~~~^~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 70%] Building CXX object CMakeFiles/openfodder.dir/Source/Start.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Start.cpp.o -MF CMakeFiles/openfodder.dir/Source/Start.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Start.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Start.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 78%] Building CXX object CMakeFiles/openfodder.dir/Source/Tiles.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Tiles.cpp.o -MF CMakeFiles/openfodder.dir/Source/Tiles.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Tiles.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Tiles.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 68%] Building CXX object CMakeFiles/openfodder.dir/Source/Sprites.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Sprites.cpp.o -MF CMakeFiles/openfodder.dir/Source/Sprites.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Sprites.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Sprites.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 33%] Building CXX object CMakeFiles/openfodder.dir/Source/GameData.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/GameData.cpp.o -MF CMakeFiles/openfodder.dir/Source/GameData.cpp.o.d -o CMakeFiles/openfodder.dir/Source/GameData.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/GameData.cpp /usr/src/RPM/BUILD/openfodder-1.7.0/Source/GameData.cpp: In member function 'bool sGameRecorded::FromJson(const std::string&)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/GameData.cpp:245:27: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 245 | catch (std::exception Exception) { | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/GameData.cpp:290:31: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 290 | catch (std::exception Exception) { | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/GameData.cpp: In member function 'void sGameData::Clear()': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/GameData.cpp:328:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 328 | for (auto& Troop : mSoldiers_Allocated) | ^~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/GameData.cpp:331:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 331 | mScore_Kills_Away = 0; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/GameData.cpp: In member function 'bool sGameData::FromJson(const std::string&)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/GameData.cpp:573:28: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 573 | catch (std::exception Exception) { | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/GameData.cpp:585:32: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 585 | catch (std::exception Exception) { | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/GameData.cpp:631:32: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 631 | catch (std::exception Exception) { | ^~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 74%] Building CXX object CMakeFiles/openfodder.dir/Source/Structures/Barracks.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Structures/Barracks.cpp.o -MF CMakeFiles/openfodder.dir/Source/Structures/Barracks.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Structures/Barracks.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Structures/Barracks.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 27%] Building CXX object CMakeFiles/openfodder.dir/Source/Fodder.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Fodder.cpp.o -MF CMakeFiles/openfodder.dir/Source/Fodder.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Fodder.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp: In member function 'int16 cFodder::Tile_FindType(eTerrainFeature)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:1069:35: warning: comparison of integer expressions of different signedness: 'int16' {aka 'short int'} and 'unsigned int' [-Wsign-compare] 1069 | for (int16 TileID = 0; TileID < sizeof(mTile_Hit) / sizeof(int16); ++TileID) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp: In member function 'std::vector cFodder::Tile_FindType(eTerrainFeature, eTerrainFeature)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:1112:35: warning: comparison of integer expressions of different signedness: 'int16' {aka 'short int'} and 'unsigned int' [-Wsign-compare] 1112 | for (int16 TileID = 0; TileID < sizeof(mTile_Hit) / sizeof(int16); ++TileID) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp: In member function 'void cFodder::Camera_Speed_Update_From_PanTarget()': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:1391:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1391 | if (Data4 < 0) | ^~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:1394:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1394 | int16 Data0 = mCamera_PanTargetX - (getCameraWidth() / 2) + 8; | ^~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp: In member function 'void cFodder::Camera_SetTargetToStartPosition()': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:1682:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1682 | if (mMap_Destroy_Tiles_Countdown) | ^~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:1686:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1686 | for (int count = 0; count < 10000000; ++count) { | ^~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp: In member function 'void cFodder::Map_Load_Resources()': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:1844:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] 1844 | memset(mTile_Hit, 0, 512); | ~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp: In member function 'std::string cFodder::Campaign_Select_File(const char*, const char*, const char*, const char*, eDataType)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:3777:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3777 | if (mGUI_SaveLoadAction == 1) | ^~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:3780:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3780 | return mCampaignList[mGUI_Select_File_CurrentIndex + mGUI_Select_File_SelectedFileIndex]; | ^~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp: In member function 'void cFodder::Sprite_Handle_Helicopter_Enemy(sSprite*)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:6023:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6023 | if (pSprite->field_4C) | ^~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:6026:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6026 | Data0 = map_GetRandomX(); | ^~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp: In member function 'int16 cFodder::Sprite_Handle_Civilian_RandomMovement(sSprite*)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:6363:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6363 | if (Data8 >= mMapLoaded->getWidth()) | ^~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:6366:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6366 | int16 DataC = map_GetRandomY(); | ^~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp: In member function 'int16 cFodder::Map_Get_Distance_BetweenPoints(int16&, int16&, int16&, int16&, int16&)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:7478:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 7478 | if (pPosY2 >= pDistanceMax) | ^~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:7481:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 7481 | pDistanceMax = 0; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp: In member function 'int32 cFodder::Map_Get_Distance_BetweenPositions(cPosition, cPosition, int32)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:7536:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 7536 | if (pPos2.mY >= sizeof(mMap_Distance_Calculations) / sizeof(mMap_Distance_Calculations[0]) - 1) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp: In member function 'void cFodder::Squad_Walk_Target_Set(int16, int16, int16, int16)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:7691:21: warning: comparison of integer expressions of different signedness: 'int16' {aka 'short int'} and 'unsigned int' [-Wsign-compare] 7691 | if (pData10 < (sizeof(mSquad_WalkTargets[pSquadNumber]) / sizeof(mSquad_WalkTargets[pSquadNumber][0]))) // 0x74 | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp: In member function 'void cFodder::Game_Load()': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:9044:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 9044 | if (!File.size()) | ^~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:9047:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 9047 | auto SaveData = g_ResourceMan->FileReadStr(g_ResourceMan->GetSave(File)); | ^~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp: In member function 'void cFodder::Service_Show()': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:9265:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 9265 | if (mParams->mSkipService) | ^~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:9268:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 9268 | mWindow->SetScreenSize(mVersionCurrent->GetScreenSize()); | ^~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp: In member function 'void cFodder::Briefing_Draw_Phase()': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:9678:21: warning: loop variable 'GoalName' creates a copy from type 'const std::__cxx11::basic_string' [-Wrange-loop-construct] 9678 | for (const auto GoalName : mMissionGoal_Titles) { | ^~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:9678:21: note: use reference type to prevent copying 9678 | for (const auto GoalName : mMissionGoal_Titles) { | ^~~~~~~~ | & /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp: In member function 'void cFodder::Briefing_Show_PreReady()': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:9692:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 9692 | if (!mVersionCurrent->hasGfx(eGFX_BRIEFING) && !mGame_Data.mCampaign.isRandom()) | ^~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:9695:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 9695 | mWindow->SetScreenSize(mVersionCurrent->GetScreenSize()); | ^~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp: In member function 'void cFodder::Sprite_Handle_Civilian_Spear2(sSprite*)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:12832:39: warning: variable 'Data1C' set but not used [-Wunused-but-set-variable] 12832 | int16 Data0, Data4, Data8, DataC, Data1C; | ^~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp: In member function 'void cFodder::Sprite_Handle_Cannon(sSprite*)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:13127:39: warning: variable 'Data1C' set but not used [-Wunused-but-set-variable] 13127 | int16 Data0, Data4, Data8, DataC, Data1C; | ^~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp: In member function 'void cFodder::Sprite_Handle_Spider_Mine(sSprite*)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:13443:39: warning: variable 'Data10' set but not used [-Wunused-but-set-variable] 13443 | int16 Data0, Data4, Data8, DataC, Data10; | ^~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp: In member function 'void cFodder::Sprite_Handle_Troop_Direct_TowardMouse(sSprite*)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Fodder.cpp:14905:9: warning: unused variable 'StoredAnim' [-Wunused-variable] 14905 | int StoredAnim = pSprite->field_8; | ^~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 76%] Building CXX object CMakeFiles/openfodder.dir/Source/Surface.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Surface.cpp.o -MF CMakeFiles/openfodder.dir/Source/Surface.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Surface.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Surface.cpp /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Surface.cpp: In member function 'void cSurface::draw()': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Surface.cpp:206:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 206 | if (mIsLoadedImage) | ^~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Surface.cpp:209:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 209 | const uint8 *bufferCurrent = mSurfaceBuffer; | ^~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 80%] Building CXX object CMakeFiles/openfodder.dir/Source/UnitTesting.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/UnitTesting.cpp.o -MF CMakeFiles/openfodder.dir/Source/UnitTesting.cpp.o.d -o CMakeFiles/openfodder.dir/Source/UnitTesting.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/UnitTesting.cpp /usr/src/RPM/BUILD/openfodder-1.7.0/Source/UnitTesting.cpp: In member function 'bool cUnitTesting::Start()': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/UnitTesting.cpp:228:19: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 228 | system(Command.c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 84%] Building CXX object CMakeFiles/openfodder.dir/Source/Utils/SimplexNoise.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Utils/SimplexNoise.cpp.o -MF CMakeFiles/openfodder.dir/Source/Utils/SimplexNoise.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Utils/SimplexNoise.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/SimplexNoise.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 62%] Building CXX object CMakeFiles/openfodder.dir/Source/ScriptingEngine.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/ScriptingEngine.cpp.o -MF CMakeFiles/openfodder.dir/Source/ScriptingEngine.cpp.o.d -o CMakeFiles/openfodder.dir/Source/ScriptingEngine.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:105:25: warning: "/*" within comment [-Wcomment] 105 | /* Callback should avoid errors for now, so use | In file included from /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_types.h:6, from /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:6, from /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_function.h:3, from /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_function.h:3, from /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/dukglue.h:3, from /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:24: /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_typeinfo.h: In function 'const char* dukglue::detail::get_type_name(duk_int_t)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_typeinfo.h:24:55: warning: comparison of integer expressions of different signedness: 'duk_int_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 24 | if (type_idx >= 0 && type_idx < sizeof(names) / sizeof(names[0])) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_function.h: In static member function 'static typename std::enable_if<(! std::is_void::value)>::type dukglue::detail::FuncInfoHolder::FuncCompiletime::actually_call(duk_context*, const std::tuple&)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_function.h:40:100: warning: typedef 'ValidateReturnType' locally defined but not used [-Wunused-local-typedefs] 40 | typedef typename dukglue::types::ArgStorage::type ValidateReturnType; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_function.h: In static member function 'static typename std::enable_if<(! std::is_void<_Dummy>::value)>::type dukglue::detail::FuncInfoHolder::FuncRuntime::actually_call(duk_context*, RetType (*)(Ts ...), const std::tuple<_Args2 ...>&)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_function.h:84:100: warning: typedef 'ValidateReturnType' locally defined but not used [-Wunused-local-typedefs] 84 | typedef typename dukglue::types::ArgStorage::type ValidateReturnType; | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:5, from /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/dukglue.h:4: /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In static member function 'static typename std::enable_if<(! std::is_void::value)>::type dukglue::detail::MethodInfo::MethodCompiletime::actually_call(duk_context*, Cls*, const std::tuple&)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:54:100: warning: typedef 'ValidateReturnType' locally defined but not used [-Wunused-local-typedefs] 54 | typedef typename dukglue::types::ArgStorage::type ValidateReturnType; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In static member function 'static typename std::enable_if<(! std::is_void<_Dummy>::value)>::type dukglue::detail::MethodInfo::MethodRuntime::actually_call(duk_context*, dukglue::detail::MethodInfo::MethodType, Cls*, const std::tuple<_Args2 ...>&)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:124:100: warning: typedef 'ValidateReturnType' locally defined but not used [-Wunused-local-typedefs] 124 | typedef typename dukglue::types::ArgStorage::type ValidateReturnType; | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/dukglue.h:6: /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/public_util.h: In function 'void dukglue_push(duk_context*, const FullT&)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/public_util.h:22:66: warning: typedef 'ValidateReturnType' locally defined but not used [-Wunused-local-typedefs] 22 | typedef typename dukglue::types::ArgStorage::type ValidateReturnType; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/public_util.h: In function 'void dukglue_read(duk_context*, duk_idx_t, RetT*)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/public_util.h:51:65: warning: typedef 'ValidateReturnType' locally defined but not used [-Wunused-local-typedefs] 51 | typedef typename dukglue::types::ArgStorage::type ValidateReturnType; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp: In function 'duk_idx_t debugger_request(duk_context*, void*, duk_idx_t)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:91:21: warning: variable 'cmd' set but not used [-Wunused-but-set-variable] 91 | const char *cmd; | ^~~ In file included from /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_refs.h:3, from /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_types.h:5: /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_function.h: In instantiation of 'static duk_ret_t dukglue::detail::FuncInfoHolder::FuncRuntime::call_native_function(duk_context*) [with RetType = void; Ts = {std::__cxx11::basic_string, std::allocator >}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_function.h:26:17: required from 'void dukglue_register_function(duk_context*, RetType (*)(Ts ...), const char*) [with RetType = void; Ts = {std::__cxx11::basic_string, std::allocator >}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:226:27: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_function.h:65:49: note: in expansion of macro 'duk_error' 65 | duk_error(ctx, DUK_RET_TYPE_ERROR, "what even"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_function.h: In instantiation of 'static duk_ret_t dukglue::detail::FuncInfoHolder::FuncRuntime::call_native_function(duk_context*) [with RetType = void; Ts = {DukValue}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_function.h:26:17: required from 'void dukglue_register_function(duk_context*, RetType (*)(Ts ...), const char*) [with RetType = void; Ts = {DukValue}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:227:27: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_function.h:65:49: note: in expansion of macro 'duk_error' 65 | duk_error(ctx, DUK_RET_TYPE_ERROR, "what even"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_function.h: In instantiation of 'static duk_ret_t dukglue::detail::FuncInfoHolder::FuncRuntime::call_native_function(duk_context*) [with RetType = void; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_function.h:26:17: required from 'void dukglue_register_function(duk_context*, RetType (*)(Ts ...), const char*) [with RetType = void; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:228:27: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_function.h:65:49: note: in expansion of macro 'duk_error' 65 | duk_error(ctx, DUK_RET_TYPE_ERROR, "what even"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h: In instantiation of 'duk_ret_t dukglue::detail::call_native_constructor(duk_context*) [with bool managed = false; Cls = cScriptFileIO; Ts = {std::__cxx11::basic_string, std::allocator >, bool}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:11:53: required from 'void dukglue_register_constructor(duk_context*, const char*) [with Cls = cScriptFileIO; Ts = {std::__cxx11::basic_string, std::allocator >, bool}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:231:65: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h:13:9: note: in expansion of macro 'duk_error' 13 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Constructor must be called with new T()."); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h: In instantiation of 'duk_ret_t dukglue::detail::call_native_constructor(duk_context*) [with bool managed = false; Cls = cPosition; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:11:53: required from 'void dukglue_register_constructor(duk_context*, const char*) [with Cls = cPosition; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:238:41: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h:13:9: note: in expansion of macro 'duk_error' 13 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Constructor must be called with new T()."); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h: In instantiation of 'duk_ret_t dukglue::detail::call_native_constructor(duk_context*) [with bool managed = false; Cls = sSprite; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:11:53: required from 'void dukglue_register_constructor(duk_context*, const char*) [with Cls = sSprite; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:244:39: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h:13:9: note: in expansion of macro 'duk_error' 13 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Constructor must be called with new T()."); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h: In instantiation of 'duk_ret_t dukglue::detail::call_native_constructor(duk_context*) [with bool managed = false; Cls = cRandomMap; Ts = {const sMapParams&}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:11:53: required from 'void dukglue_register_constructor(duk_context*, const char*) [with Cls = cRandomMap; Ts = {const sMapParams&}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:252:62: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h:13:9: note: in expansion of macro 'duk_error' 13 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Constructor must be called with new T()."); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h: In instantiation of 'duk_ret_t dukglue::detail::call_native_constructor(duk_context*) [with bool managed = false; Cls = cPhase; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:11:53: required from 'void dukglue_register_constructor(duk_context*, const char*) [with Cls = cPhase; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:294:38: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h:13:9: note: in expansion of macro 'duk_error' 13 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Constructor must be called with new T()."); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h: In instantiation of 'duk_ret_t dukglue::detail::call_native_constructor(duk_context*) [with bool managed = false; Cls = cMission; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:11:53: required from 'void dukglue_register_constructor(duk_context*, const char*) [with Cls = cMission; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:306:40: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h:13:9: note: in expansion of macro 'duk_error' 13 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Constructor must be called with new T()."); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h: In instantiation of 'duk_ret_t dukglue::detail::call_native_constructor(duk_context*) [with bool managed = false; Cls = cCampaign; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:11:53: required from 'void dukglue_register_constructor(duk_context*, const char*) [with Cls = cCampaign; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:312:41: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h:13:9: note: in expansion of macro 'duk_error' 13 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Constructor must be called with new T()."); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h: In instantiation of 'duk_ret_t dukglue::detail::call_native_constructor(duk_context*) [with bool managed = false; Cls = sGameData; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:11:53: required from 'void dukglue_register_constructor(duk_context*, const char*) [with Cls = sGameData; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:319:41: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h:13:9: note: in expansion of macro 'duk_error' 13 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Constructor must be called with new T()."); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h: In instantiation of 'duk_ret_t dukglue::detail::call_native_constructor(duk_context*) [with bool managed = false; Cls = cScriptingEngine; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:11:53: required from 'void dukglue_register_constructor(duk_context*, const char*) [with Cls = cScriptingEngine; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:325:48: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h:13:9: note: in expansion of macro 'duk_error' 13 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Constructor must be called with new T()."); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cScriptFileIO; RetType = std::__cxx11::basic_string; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cScriptFileIO; RetType = std::__cxx11::basic_string; Ts = {}; duk_context = duk_hthread; typename std::conditional::type = std::__cxx11::basic_string (cScriptFileIO::*)()]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cScriptFileIO; RetType = std::__cxx11::basic_string; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:232:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cScriptFileIO; RetType = void; Ts = {std::__cxx11::basic_string, std::allocator >}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cScriptFileIO; RetType = void; Ts = {std::__cxx11::basic_string, std::allocator >}; duk_context = duk_hthread; typename std::conditional::type = void (cScriptFileIO::*)(std::__cxx11::basic_string)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cScriptFileIO; RetType = void; Ts = {std::__cxx11::basic_string, std::allocator >}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:233:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cScriptFileIO; RetType = void; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cScriptFileIO; RetType = void; Ts = {}; duk_context = duk_hthread; typename std::conditional::type = void (cScriptFileIO::*)()]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cScriptFileIO; RetType = void; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:234:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cScriptFileIO; RetType = bool; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cScriptFileIO; RetType = bool; Ts = {}; duk_context = duk_hthread; typename std::conditional::type = bool (cScriptFileIO::*)()]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cScriptFileIO; RetType = bool; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:235:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = true; Cls = cPosition; RetType = int; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:87:18: required from 'void dukglue_register_property(duk_context*, typename std::conditional::type, void (Cls::*)(ArgT), const char*) [with bool isConstGetter = true; Cls = cPosition; RetT = int; ArgT = int; duk_context = duk_hthread; typename std::conditional::type = int (cPosition::*)() const]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:12:50: required from 'void dukglue_register_property(duk_context*, RetT (Cls::*)() const, void (Cls::*)(ArgT), const char*) [with Cls = cPosition; RetT = int; ArgT = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:240:27: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cPosition; RetType = void; Ts = {int}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:102:18: required from 'void dukglue_register_property(duk_context*, typename std::conditional::type, void (Cls::*)(ArgT), const char*) [with bool isConstGetter = true; Cls = cPosition; RetT = int; ArgT = int; duk_context = duk_hthread; typename std::conditional::type = int (cPosition::*)() const]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:12:50: required from 'void dukglue_register_property(duk_context*, RetT (Cls::*)() const, void (Cls::*)(ArgT), const char*) [with Cls = cPosition; RetT = int; ArgT = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:240:27: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = sSprite; RetType = void; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = sSprite; RetType = void; Ts = {}; duk_context = duk_hthread; typename std::conditional::type = void (sSprite::*)()]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = sSprite; RetType = void; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:245:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = sSprite; RetType = cPosition*; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = sSprite; RetType = cPosition*; Ts = {}; duk_context = duk_hthread; typename std::conditional::type = cPosition* (sSprite::*)()]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = sSprite; RetType = cPosition*; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:246:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = true; Cls = sSprite; RetType = int; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:87:18: required from 'void dukglue_register_property(duk_context*, typename std::conditional::type, void (Cls::*)(ArgT), const char*) [with bool isConstGetter = true; Cls = sSprite; RetT = int; ArgT = int; duk_context = duk_hthread; typename std::conditional::type = int (sSprite::*)() const]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:12:50: required from 'void dukglue_register_property(duk_context*, RetT (Cls::*)() const, void (Cls::*)(ArgT), const char*) [with Cls = sSprite; RetT = int; ArgT = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:247:27: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = sSprite; RetType = void; Ts = {int}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:102:18: required from 'void dukglue_register_property(duk_context*, typename std::conditional::type, void (Cls::*)(ArgT), const char*) [with bool isConstGetter = true; Cls = sSprite; RetT = int; ArgT = int; duk_context = duk_hthread; typename std::conditional::type = int (sSprite::*)() const]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:12:50: required from 'void dukglue_register_property(duk_context*, RetT (Cls::*)() const, void (Cls::*)(ArgT), const char*) [with Cls = sSprite; RetT = int; ArgT = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:247:27: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cOriginalMap; RetType = bool; Ts = {std::__cxx11::basic_string, std::allocator >, bool}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cOriginalMap; RetType = bool; Ts = {std::__cxx11::basic_string, std::allocator >, bool}; duk_context = duk_hthread; typename std::conditional::type = bool (cOriginalMap::*)(std::__cxx11::basic_string, bool)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cOriginalMap; RetType = bool; Ts = {std::__cxx11::basic_string, std::allocator >, bool}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:254:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = void; Ts = {unsigned int, unsigned int, eTileTypes, eTileSub}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = void; Ts = {unsigned int, unsigned int, eTileTypes, eTileSub}; duk_context = duk_hthread; typename std::conditional::type = void (cRandomMap::*)(unsigned int, unsigned int, eTileTypes, eTileSub)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = void; Ts = {unsigned int, unsigned int, eTileTypes, eTileSub}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:255:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = std::vector >; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = std::vector >; Ts = {}; duk_context = duk_hthread; typename std::conditional::type = std::vector > (cRandomMap::*)()]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = std::vector >; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:257:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = std::vector >; Ts = {unsigned int, float, float, short int, bool, float}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = std::vector >; Ts = {unsigned int, float, float, short int, bool, float}; duk_context = duk_hthread; typename std::conditional::type = std::vector > (cRandomMap::*)(unsigned int, float, float, short int, bool, float)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = std::vector >; Ts = {unsigned int, float, float, short int, bool, float}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:258:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = std::vector >; Ts = {unsigned int, float, float, float}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = std::vector >; Ts = {unsigned int, float, float, float}; duk_context = duk_hthread; typename std::conditional::type = std::vector > (cRandomMap::*)(unsigned int, float, float, float)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = std::vector >; Ts = {unsigned int, float, float, float}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:259:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = true; Cls = cMap; RetType = eTileTypes; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = true; Cls = cMap; RetType = eTileTypes; Ts = {}; duk_context = duk_hthread; typename std::conditional::type = eTileTypes (cMap::*)() const]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:119:52: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...) const, const char*) [with Cls = cMap; RetType = eTileTypes; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:262:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = true; Cls = cMap; RetType = eTileSub; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = true; Cls = cMap; RetType = eTileSub; Ts = {}; duk_context = duk_hthread; typename std::conditional::type = eTileSub (cMap::*)() const]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:119:52: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...) const, const char*) [with Cls = cMap; RetType = eTileSub; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:263:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = true; Cls = cMap; RetType = int; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = true; Cls = cMap; RetType = int; Ts = {}; duk_context = duk_hthread; typename std::conditional::type = int (cMap::*)() const]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:119:52: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...) const, const char*) [with Cls = cMap; RetType = int; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:265:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = int; Ts = {unsigned int}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = int; Ts = {unsigned int}; duk_context = duk_hthread; typename std::conditional::type = int (cRandomMap::*)(unsigned int)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = int; Ts = {unsigned int}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:273:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = std::vector; Ts = {unsigned int}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = std::vector; Ts = {unsigned int}; duk_context = duk_hthread; typename std::conditional::type = std::vector (cRandomMap::*)(unsigned int)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = std::vector; Ts = {unsigned int}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:274:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = cPosition*; Ts = {std::vector >, unsigned int}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = cPosition*; Ts = {std::vector >, unsigned int}; duk_context = duk_hthread; typename std::conditional::type = cPosition* (cRandomMap::*)(std::vector, unsigned int)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = cPosition*; Ts = {std::vector >, unsigned int}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:276:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = cPosition*; Ts = {std::vector >, unsigned int, bool}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = cPosition*; Ts = {std::vector >, unsigned int, bool}; duk_context = duk_hthread; typename std::conditional::type = cPosition* (cRandomMap::*)(std::vector, unsigned int, bool)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = cPosition*; Ts = {std::vector >, unsigned int, bool}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:277:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = cPosition*; Ts = {eTerrainFeature, unsigned int}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = cPosition*; Ts = {eTerrainFeature, unsigned int}; duk_context = duk_hthread; typename std::conditional::type = cPosition* (cRandomMap::*)(eTerrainFeature, unsigned int)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = cPosition*; Ts = {eTerrainFeature, unsigned int}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:279:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cMap; RetType = void; Ts = {unsigned int, unsigned int, unsigned int}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cMap; RetType = void; Ts = {unsigned int, unsigned int, unsigned int}; duk_context = duk_hthread; typename std::conditional::type = void (cMap::*)(unsigned int, unsigned int, unsigned int)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cMap; RetType = void; Ts = {unsigned int, unsigned int, unsigned int}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:281:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cMap; RetType = int; Ts = {unsigned int, unsigned int}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cMap; RetType = int; Ts = {unsigned int, unsigned int}; duk_context = duk_hthread; typename std::conditional::type = int (cMap::*)(unsigned int, unsigned int)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cMap; RetType = int; Ts = {unsigned int, unsigned int}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:282:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = true; Cls = cRandomMap; RetType = short int; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:87:18: required from 'void dukglue_register_property(duk_context*, typename std::conditional::type, void (Cls::*)(ArgT), const char*) [with bool isConstGetter = true; Cls = cRandomMap; RetT = short int; ArgT = short int; duk_context = duk_hthread; typename std::conditional::type = short int (cRandomMap::*)() const]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:12:50: required from 'void dukglue_register_property(duk_context*, RetT (Cls::*)() const, void (Cls::*)(ArgT), const char*) [with Cls = cRandomMap; RetT = short int; ArgT = short int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:285:27: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = void; Ts = {short int}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:102:18: required from 'void dukglue_register_property(duk_context*, typename std::conditional::type, void (Cls::*)(ArgT), const char*) [with bool isConstGetter = true; Cls = cRandomMap; RetT = short int; ArgT = short int; duk_context = duk_hthread; typename std::conditional::type = short int (cRandomMap::*)() const]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:12:50: required from 'void dukglue_register_property(duk_context*, RetT (Cls::*)() const, void (Cls::*)(ArgT), const char*) [with Cls = cRandomMap; RetT = short int; ArgT = short int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:285:27: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = int; Ts = {int, int}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = int; Ts = {int, int}; duk_context = duk_hthread; typename std::conditional::type = int (cRandomMap::*)(int, int)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = int; Ts = {int, int}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:287:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = float; Ts = {float, float}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = float; Ts = {float, float}; duk_context = duk_hthread; typename std::conditional::type = float (cRandomMap::*)(float, float)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = float; Ts = {float, float}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:288:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = int; Ts = {cPosition*, cPosition*}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = int; Ts = {cPosition*, cPosition*}; duk_context = duk_hthread; typename std::conditional::type = int (cRandomMap::*)(cPosition*, cPosition*)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = int; Ts = {cPosition*, cPosition*}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:290:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = std::vector; Ts = {unsigned int, cPosition*, cPosition*}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = std::vector; Ts = {unsigned int, cPosition*, cPosition*}; duk_context = duk_hthread; typename std::conditional::type = std::vector (cRandomMap::*)(unsigned int, cPosition*, cPosition*)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = std::vector; Ts = {unsigned int, cPosition*, cPosition*}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:291:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = true; Cls = cPhase; RetType = std::__cxx11::basic_string; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:87:18: required from 'void dukglue_register_property(duk_context*, typename std::conditional::type, void (Cls::*)(ArgT), const char*) [with bool isConstGetter = true; Cls = cPhase; RetT = std::__cxx11::basic_string; ArgT = const std::__cxx11::basic_string&; duk_context = duk_hthread; typename std::conditional::type = std::__cxx11::basic_string (cPhase::*)() const]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:12:50: required from 'void dukglue_register_property(duk_context*, RetT (Cls::*)() const, void (Cls::*)(ArgT), const char*) [with Cls = cPhase; RetT = std::__cxx11::basic_string; ArgT = const std::__cxx11::basic_string&; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:295:27: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cPhase; RetType = void; Ts = {const std::__cxx11::basic_string, std::allocator >&}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:102:18: required from 'void dukglue_register_property(duk_context*, typename std::conditional::type, void (Cls::*)(ArgT), const char*) [with bool isConstGetter = true; Cls = cPhase; RetT = std::__cxx11::basic_string; ArgT = const std::__cxx11::basic_string&; duk_context = duk_hthread; typename std::conditional::type = std::__cxx11::basic_string (cPhase::*)() const]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:12:50: required from 'void dukglue_register_property(duk_context*, RetT (Cls::*)() const, void (Cls::*)(ArgT), const char*) [with Cls = cPhase; RetT = std::__cxx11::basic_string; ArgT = const std::__cxx11::basic_string&; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:295:27: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cPhase; RetType = void; Ts = {ePhaseObjective}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cPhase; RetType = void; Ts = {ePhaseObjective}; duk_context = duk_hthread; typename std::conditional::type = void (cPhase::*)(ePhaseObjective)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cPhase; RetType = void; Ts = {ePhaseObjective}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:298:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cPhase; RetType = void; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cPhase; RetType = void; Ts = {}; duk_context = duk_hthread; typename std::conditional::type = void (cPhase::*)()]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cPhase; RetType = void; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:300:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cPhase; RetType = void; Ts = {const short int&, const short int&}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cPhase; RetType = void; Ts = {const short int&, const short int&}; duk_context = duk_hthread; typename std::conditional::type = void (cPhase::*)(const short int&, const short int&)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cPhase; RetType = void; Ts = {const short int&, const short int&}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:301:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cPhase; RetType = void; Ts = {const short int&}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cPhase; RetType = void; Ts = {const short int&}; duk_context = duk_hthread; typename std::conditional::type = void (cPhase::*)(const short int&)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cPhase; RetType = void; Ts = {const short int&}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:302:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = true; Cls = cMission; RetType = std::__cxx11::basic_string; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:87:18: required from 'void dukglue_register_property(duk_context*, typename std::conditional::type, void (Cls::*)(ArgT), const char*) [with bool isConstGetter = true; Cls = cMission; RetT = std::__cxx11::basic_string; ArgT = const std::__cxx11::basic_string&; duk_context = duk_hthread; typename std::conditional::type = std::__cxx11::basic_string (cMission::*)() const]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:12:50: required from 'void dukglue_register_property(duk_context*, RetT (Cls::*)() const, void (Cls::*)(ArgT), const char*) [with Cls = cMission; RetT = std::__cxx11::basic_string; ArgT = const std::__cxx11::basic_string&; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:307:27: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cMission; RetType = void; Ts = {const std::__cxx11::basic_string, std::allocator >&}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:102:18: required from 'void dukglue_register_property(duk_context*, typename std::conditional::type, void (Cls::*)(ArgT), const char*) [with bool isConstGetter = true; Cls = cMission; RetT = std::__cxx11::basic_string; ArgT = const std::__cxx11::basic_string&; duk_context = duk_hthread; typename std::conditional::type = std::__cxx11::basic_string (cMission::*)() const]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:12:50: required from 'void dukglue_register_property(duk_context*, RetT (Cls::*)() const, void (Cls::*)(ArgT), const char*) [with Cls = cMission; RetT = std::__cxx11::basic_string; ArgT = const std::__cxx11::basic_string&; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:307:27: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = true; Cls = cMission; RetType = unsigned int; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = true; Cls = cMission; RetType = unsigned int; Ts = {}; duk_context = duk_hthread; typename std::conditional::type = unsigned int (cMission::*)() const]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:119:52: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...) const, const char*) [with Cls = cMission; RetType = unsigned int; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:308:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cMission; RetType = std::shared_ptr; Ts = {unsigned int}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cMission; RetType = std::shared_ptr; Ts = {unsigned int}; duk_context = duk_hthread; typename std::conditional::type = std::shared_ptr (cMission::*)(unsigned int)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cMission; RetType = std::shared_ptr; Ts = {unsigned int}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:309:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = true; Cls = cCampaign; RetType = std::__cxx11::basic_string; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:87:18: required from 'void dukglue_register_property(duk_context*, typename std::conditional::type, void (Cls::*)(ArgT), const char*) [with bool isConstGetter = true; Cls = cCampaign; RetT = std::__cxx11::basic_string; ArgT = const std::__cxx11::basic_string&; duk_context = duk_hthread; typename std::conditional::type = std::__cxx11::basic_string (cCampaign::*)() const]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:12:50: required from 'void dukglue_register_property(duk_context*, RetT (Cls::*)() const, void (Cls::*)(ArgT), const char*) [with Cls = cCampaign; RetT = std::__cxx11::basic_string; ArgT = const std::__cxx11::basic_string&; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:313:27: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cCampaign; RetType = void; Ts = {const std::__cxx11::basic_string, std::allocator >&}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:102:18: required from 'void dukglue_register_property(duk_context*, typename std::conditional::type, void (Cls::*)(ArgT), const char*) [with bool isConstGetter = true; Cls = cCampaign; RetT = std::__cxx11::basic_string; ArgT = const std::__cxx11::basic_string&; duk_context = duk_hthread; typename std::conditional::type = std::__cxx11::basic_string (cCampaign::*)() const]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:12:50: required from 'void dukglue_register_property(duk_context*, RetT (Cls::*)() const, void (Cls::*)(ArgT), const char*) [with Cls = cCampaign; RetT = std::__cxx11::basic_string; ArgT = const std::__cxx11::basic_string&; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:313:27: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cCampaign; RetType = std::__cxx11::basic_string; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:87:18: required from 'void dukglue_register_property(duk_context*, typename std::conditional::type, void (Cls::*)(ArgT), const char*) [with bool isConstGetter = false; Cls = cCampaign; RetT = std::__cxx11::basic_string; ArgT = const std::__cxx11::basic_string&; duk_context = duk_hthread; typename std::conditional::type = std::__cxx11::basic_string (cCampaign::*)()]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:32:51: required from 'void dukglue_register_property(duk_context*, RetT (Cls::*)(), void (Cls::*)(ArgT), const char*) [with Cls = cCampaign; RetT = std::__cxx11::basic_string; ArgT = const std::__cxx11::basic_string&; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:314:27: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cCampaign; RetType = std::vector >; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cCampaign; RetType = std::vector >; Ts = {}; duk_context = duk_hthread; typename std::conditional::type = std::vector > (cCampaign::*)()]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cCampaign; RetType = std::vector >; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:315:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cCampaign; RetType = void; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cCampaign; RetType = void; Ts = {}; duk_context = duk_hthread; typename std::conditional::type = void (cCampaign::*)()]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cCampaign; RetType = void; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:316:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = sGameData; RetType = bool; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = sGameData; RetType = bool; Ts = {}; duk_context = duk_hthread; typename std::conditional::type = bool (sGameData::*)()]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = sGameData; RetType = bool; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:320:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cScriptingEngine; RetType = bool; Ts = {const std::__cxx11::basic_string, std::allocator >&}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cScriptingEngine; RetType = bool; Ts = {const std::__cxx11::basic_string, std::allocator >&}; duk_context = duk_hthread; typename std::conditional::type = bool (cScriptingEngine::*)(const std::__cxx11::basic_string&)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cScriptingEngine; RetType = bool; Ts = {const std::__cxx11::basic_string, std::allocator >&}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:326:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cScriptingEngine; RetType = void; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cScriptingEngine; RetType = void; Ts = {}; duk_context = duk_hthread; typename std::conditional::type = void (cScriptingEngine::*)()]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cScriptingEngine; RetType = void; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:327:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cScriptingEngine; RetType = std::shared_ptr; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cScriptingEngine; RetType = std::shared_ptr; Ts = {}; duk_context = duk_hthread; typename std::conditional::type = std::shared_ptr (cScriptingEngine::*)()]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cScriptingEngine; RetType = std::shared_ptr; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:328:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cScriptingEngine; RetType = std::shared_ptr; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cScriptingEngine; RetType = std::shared_ptr; Ts = {}; duk_context = duk_hthread; typename std::conditional::type = std::shared_ptr (cScriptingEngine::*)()]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cScriptingEngine; RetType = std::shared_ptr; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:329:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cScriptingEngine; RetType = cCampaign*; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cScriptingEngine; RetType = cCampaign*; Ts = {}; duk_context = duk_hthread; typename std::conditional::type = cCampaign* (cScriptingEngine::*)()]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cScriptingEngine; RetType = cCampaign*; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:331:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cScriptingEngine; RetType = std::shared_ptr; Ts = {}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cScriptingEngine; RetType = std::shared_ptr; Ts = {}; duk_context = duk_hthread; typename std::conditional::type = std::shared_ptr (cScriptingEngine::*)()]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cScriptingEngine; RetType = std::shared_ptr; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:332:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h: In instantiation of 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cScriptingEngine; RetType = void; Ts = {const std::__cxx11::basic_string, std::allocator >&, unsigned int, unsigned int, bool, bool}; duk_ret_t = int; duk_context = duk_hthread]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cScriptingEngine; RetType = void; Ts = {const std::__cxx11::basic_string, std::allocator >&, unsigned int, unsigned int, bool, bool}; duk_context = duk_hthread; typename std::conditional::type = void (cScriptingEngine::*)(const std::__cxx11::basic_string&, unsigned int, unsigned int, bool, bool)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cScriptingEngine; RetType = void; Ts = {const std::__cxx11::basic_string, std::allocator >&, unsigned int, unsigned int, bool, bool}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:336:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:91:49: note: in expansion of macro 'duk_error' 91 | duk_error(ctx, DUK_RET_REFERENCE_ERROR, "Invalid native object for 'this'"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:102:49: note: in expansion of macro 'duk_error' 102 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Method pointer missing?!"); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h: In instantiation of 'static std::string dukglue::types::DukType >::read(duk_context*, duk_idx_t) [with FullT = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string; duk_context = duk_hthread; duk_idx_t = int]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:31:115: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values_helper(duk_context*, index_tuple) [with Args = {std::__cxx11::basic_string, std::allocator >}; unsigned int ...Indexes = {0}; typename ArgsTuple::type = std::tuple, std::allocator > >; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:48:43: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values(duk_context*) [with Args = {std::__cxx11::basic_string, std::allocator >}; typename ArgsTuple::type = std::tuple, std::allocator > >; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_function.h:74:77: required from 'static duk_ret_t dukglue::detail::FuncInfoHolder::FuncRuntime::call_native_function(duk_context*) [with RetType = void; Ts = {std::__cxx11::basic_string, std::allocator >}; duk_ret_t = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_function.h:26:17: required from 'void dukglue_register_function(duk_context*, RetType (*)(Ts ...), const char*) [with RetType = void; Ts = {std::__cxx11::basic_string, std::allocator >}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:226:27: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h:26:41: note: in expansion of macro 'duk_error' 26 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: expected " #TYPE ", got %s", arg_idx, detail::get_type_name(type_idx)); \ | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h:54:17: note: in expansion of macro 'DUKGLUE_SIMPLE_VALUE_TYPE' 54 | DUKGLUE_SIMPLE_VALUE_TYPE(std::string, duk_is_string, duk_get_string, duk_push_string, value.c_str()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h: In instantiation of 'static DukValue dukglue::types::DukType::read(duk_context*, duk_idx_t) [with FullT = DukValue; duk_context = duk_hthread; duk_idx_t = int]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:31:115: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values_helper(duk_context*, index_tuple) [with Args = {DukValue}; unsigned int ...Indexes = {0}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:48:43: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values(duk_context*) [with Args = {DukValue}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_function.h:74:77: required from 'static duk_ret_t dukglue::detail::FuncInfoHolder::FuncRuntime::call_native_function(duk_context*) [with RetType = void; Ts = {DukValue}; duk_ret_t = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_function.h:26:17: required from 'void dukglue_register_function(duk_context*, RetType (*)(Ts ...), const char*) [with RetType = void; Ts = {DukValue}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:227:27: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h:105:41: note: in expansion of macro 'duk_error' 105 | duk_error(ctx, DUK_ERR_ERROR, e.what()); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h: In instantiation of 'static bool dukglue::types::DukType::read(duk_context*, duk_idx_t) [with FullT = bool; duk_context = duk_hthread; duk_idx_t = int]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:31:115: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values_helper(duk_context*, index_tuple) [with Args = {std::__cxx11::basic_string, std::allocator >, bool}; unsigned int ...Indexes = {0, 1}; typename ArgsTuple::type = std::tuple, std::allocator >, bool>; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:48:43: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values(duk_context*) [with Args = {std::__cxx11::basic_string, std::allocator >, bool}; typename ArgsTuple::type = std::tuple, std::allocator >, bool>; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h:18:71: required from 'duk_ret_t dukglue::detail::call_native_constructor(duk_context*) [with bool managed = false; Cls = cScriptFileIO; Ts = {std::__cxx11::basic_string, std::allocator >, bool}; duk_ret_t = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:11:53: required from 'void dukglue_register_constructor(duk_context*, const char*) [with Cls = cScriptFileIO; Ts = {std::__cxx11::basic_string, std::allocator >, bool}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:231:65: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h:26:41: note: in expansion of macro 'duk_error' 26 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: expected " #TYPE ", got %s", arg_idx, detail::get_type_name(type_idx)); \ | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h:36:17: note: in expansion of macro 'DUKGLUE_SIMPLE_VALUE_TYPE' 36 | DUKGLUE_SIMPLE_VALUE_TYPE(bool, duk_is_boolean, 0 != duk_get_boolean, duk_push_boolean, value) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_types.h: In instantiation of 'static T& dukglue::types::DukType::read(duk_context*, duk_idx_t) [with FullT = const sMapParams&; = void; T = sMapParams; duk_context = duk_hthread; duk_idx_t = int]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:31:115: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values_helper(duk_context*, index_tuple) [with Args = {const sMapParams&}; unsigned int ...Indexes = {0}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:48:43: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values(duk_context*) [with Args = {const sMapParams&}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h:18:71: required from 'duk_ret_t dukglue::detail::call_native_constructor(duk_context*) [with bool managed = false; Cls = cRandomMap; Ts = {const sMapParams&}; duk_ret_t = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:11:53: required from 'void dukglue_register_constructor(duk_context*, const char*) [with Cls = cRandomMap; Ts = {const sMapParams&}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:252:62: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_types.h:90:41: note: in expansion of macro 'duk_error' 90 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: cannot be null (native function expects reference)", arg_idx); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h: In instantiation of 'static int32_t dukglue::types::DukType::read(duk_context*, duk_idx_t) [with FullT = int; int32_t = int; duk_context = duk_hthread; duk_idx_t = int]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:31:115: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values_helper(duk_context*, index_tuple) [with Args = {int}; unsigned int ...Indexes = {0}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:48:43: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values(duk_context*) [with Args = {int}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:113:78: required from 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cPosition; RetType = void; Ts = {int}; duk_ret_t = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:102:18: required from 'void dukglue_register_property(duk_context*, typename std::conditional::type, void (Cls::*)(ArgT), const char*) [with bool isConstGetter = true; Cls = cPosition; RetT = int; ArgT = int; duk_context = duk_hthread; typename std::conditional::type = int (cPosition::*)() const]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_property.h:12:50: required from 'void dukglue_register_property(duk_context*, RetT (Cls::*)() const, void (Cls::*)(ArgT), const char*) [with Cls = cPosition; RetT = int; ArgT = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:240:27: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h:26:41: note: in expansion of macro 'duk_error' 26 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: expected " #TYPE ", got %s", arg_idx, detail::get_type_name(type_idx)); \ | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h:45:17: note: in expansion of macro 'DUKGLUE_SIMPLE_VALUE_TYPE' 45 | DUKGLUE_SIMPLE_VALUE_TYPE(int32_t, duk_is_number, duk_get_int, duk_push_int, value) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_types.h: In instantiation of 'static T* dukglue::types::DukType::read(duk_context*, duk_idx_t) [with FullT = sMapParams*; = void; T = sMapParams; duk_context = duk_hthread; duk_idx_t = int]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_types.h:88:22: required from 'static T& dukglue::types::DukType::read(duk_context*, duk_idx_t) [with FullT = const sMapParams&; = void; T = sMapParams; duk_context = duk_hthread; duk_idx_t = int]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:31:115: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values_helper(duk_context*, index_tuple) [with Args = {const sMapParams&}; unsigned int ...Indexes = {0}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:48:43: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values(duk_context*) [with Args = {const sMapParams&}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_constructor.h:18:71: required from 'duk_ret_t dukglue::detail::call_native_constructor(duk_context*) [with bool managed = false; Cls = cRandomMap; Ts = {const sMapParams&}; duk_ret_t = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:11:53: required from 'void dukglue_register_constructor(duk_context*, const char*) [with Cls = cRandomMap; Ts = {const sMapParams&}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:252:62: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_types.h:60:41: note: in expansion of macro 'duk_error' 60 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: expected native object, got %s", arg_idx, get_type_name(type_idx)); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_types.h:65:41: note: in expansion of macro 'duk_error' 65 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: expected native object (missing type_info)", arg_idx); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_types.h:70:41: note: in expansion of macro 'duk_error' 70 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: wrong type of native object", arg_idx); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_types.h:76:41: note: in expansion of macro 'duk_error' 76 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: invalid native object.", arg_idx); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h: In instantiation of 'static uint32_t dukglue::types::DukType::read(duk_context*, duk_idx_t) [with FullT = unsigned int; uint32_t = unsigned int; duk_context = duk_hthread; duk_idx_t = int]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:31:115: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values_helper(duk_context*, index_tuple) [with Args = {unsigned int, unsigned int, eTileTypes, eTileSub}; unsigned int ...Indexes = {0, 1, 2, 3}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:48:43: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values(duk_context*) [with Args = {unsigned int, unsigned int, eTileTypes, eTileSub}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:113:78: required from 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = void; Ts = {unsigned int, unsigned int, eTileTypes, eTileSub}; duk_ret_t = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = void; Ts = {unsigned int, unsigned int, eTileTypes, eTileSub}; duk_context = duk_hthread; typename std::conditional::type = void (cRandomMap::*)(unsigned int, unsigned int, eTileTypes, eTileSub)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = void; Ts = {unsigned int, unsigned int, eTileTypes, eTileSub}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:255:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h:26:41: note: in expansion of macro 'duk_error' 26 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: expected " #TYPE ", got %s", arg_idx, detail::get_type_name(type_idx)); \ | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h:40:17: note: in expansion of macro 'DUKGLUE_SIMPLE_VALUE_TYPE' 40 | DUKGLUE_SIMPLE_VALUE_TYPE(uint32_t, duk_is_number, duk_get_uint, duk_push_uint, value) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp: In instantiation of 'static eTileTypes dukglue::types::DukType::read(duk_context*, duk_idx_t) [with FullT = eTileTypes; duk_context = duk_hthread; duk_idx_t = int]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:31:115: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values_helper(duk_context*, index_tuple) [with Args = {unsigned int, unsigned int, eTileTypes, eTileSub}; unsigned int ...Indexes = {0, 1, 2, 3}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:48:43: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values(duk_context*) [with Args = {unsigned int, unsigned int, eTileTypes, eTileSub}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:113:78: required from 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = void; Ts = {unsigned int, unsigned int, eTileTypes, eTileSub}; duk_ret_t = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = void; Ts = {unsigned int, unsigned int, eTileTypes, eTileSub}; duk_context = duk_hthread; typename std::conditional::type = void (cRandomMap::*)(unsigned int, unsigned int, eTileTypes, eTileSub)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = void; Ts = {unsigned int, unsigned int, eTileTypes, eTileSub}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:255:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h:26:41: note: in expansion of macro 'duk_error' 26 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: expected " #TYPE ", got %s", arg_idx, detail::get_type_name(type_idx)); \ | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:33:17: note: in expansion of macro 'DUKGLUE_SIMPLE_VALUE_TYPE' 33 | DUKGLUE_SIMPLE_VALUE_TYPE(eTileTypes, duk_is_number, duk_get_uint, duk_push_uint, value); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp: In instantiation of 'static eTileSub dukglue::types::DukType::read(duk_context*, duk_idx_t) [with FullT = eTileSub; duk_context = duk_hthread; duk_idx_t = int]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:31:115: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values_helper(duk_context*, index_tuple) [with Args = {unsigned int, unsigned int, eTileTypes, eTileSub}; unsigned int ...Indexes = {0, 1, 2, 3}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:48:43: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values(duk_context*) [with Args = {unsigned int, unsigned int, eTileTypes, eTileSub}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:113:78: required from 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = void; Ts = {unsigned int, unsigned int, eTileTypes, eTileSub}; duk_ret_t = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = void; Ts = {unsigned int, unsigned int, eTileTypes, eTileSub}; duk_context = duk_hthread; typename std::conditional::type = void (cRandomMap::*)(unsigned int, unsigned int, eTileTypes, eTileSub)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = void; Ts = {unsigned int, unsigned int, eTileTypes, eTileSub}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:255:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h:26:41: note: in expansion of macro 'duk_error' 26 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: expected " #TYPE ", got %s", arg_idx, detail::get_type_name(type_idx)); \ | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:34:17: note: in expansion of macro 'DUKGLUE_SIMPLE_VALUE_TYPE' 34 | DUKGLUE_SIMPLE_VALUE_TYPE(eTileSub, duk_is_number, duk_get_uint, duk_push_uint, value); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h: In instantiation of 'static float dukglue::types::DukType::read(duk_context*, duk_idx_t) [with FullT = float; duk_context = duk_hthread; duk_idx_t = int]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:31:115: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values_helper(duk_context*, index_tuple) [with Args = {unsigned int, float, float, short int, bool, float}; unsigned int ...Indexes = {0, 1, 2, 3, 4, 5}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:48:43: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values(duk_context*) [with Args = {unsigned int, float, float, short int, bool, float}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:113:78: required from 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = std::vector >; Ts = {unsigned int, float, float, short int, bool, float}; duk_ret_t = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = std::vector >; Ts = {unsigned int, float, float, short int, bool, float}; duk_context = duk_hthread; typename std::conditional::type = std::vector > (cRandomMap::*)(unsigned int, float, float, short int, bool, float)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = std::vector >; Ts = {unsigned int, float, float, short int, bool, float}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:258:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h:26:41: note: in expansion of macro 'duk_error' 26 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: expected " #TYPE ", got %s", arg_idx, detail::get_type_name(type_idx)); \ | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h:51:17: note: in expansion of macro 'DUKGLUE_SIMPLE_VALUE_TYPE' 51 | DUKGLUE_SIMPLE_VALUE_TYPE(float, duk_is_number, duk_get_number, duk_push_number, value) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h: In instantiation of 'static int16_t dukglue::types::DukType::read(duk_context*, duk_idx_t) [with FullT = short int; int16_t = short int; duk_context = duk_hthread; duk_idx_t = int]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:31:115: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values_helper(duk_context*, index_tuple) [with Args = {unsigned int, float, float, short int, bool, float}; unsigned int ...Indexes = {0, 1, 2, 3, 4, 5}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:48:43: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values(duk_context*) [with Args = {unsigned int, float, float, short int, bool, float}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:113:78: required from 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = std::vector >; Ts = {unsigned int, float, float, short int, bool, float}; duk_ret_t = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = std::vector >; Ts = {unsigned int, float, float, short int, bool, float}; duk_context = duk_hthread; typename std::conditional::type = std::vector > (cRandomMap::*)(unsigned int, float, float, short int, bool, float)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = std::vector >; Ts = {unsigned int, float, float, short int, bool, float}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:258:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h:26:41: note: in expansion of macro 'duk_error' 26 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: expected " #TYPE ", got %s", arg_idx, detail::get_type_name(type_idx)); \ | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h:44:17: note: in expansion of macro 'DUKGLUE_SIMPLE_VALUE_TYPE' 44 | DUKGLUE_SIMPLE_VALUE_TYPE(int16_t, duk_is_number, duk_get_int, duk_push_int, value) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h: In instantiation of 'static std::vector dukglue::types::DukType >::read(duk_context*, duk_idx_t) [with FullT = std::vector; T = unsigned int; duk_context = duk_hthread; duk_idx_t = int]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:31:115: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values_helper(duk_context*, index_tuple) [with Args = {std::vector >, unsigned int}; unsigned int ...Indexes = {0, 1}; typename ArgsTuple::type = std::tuple >, unsigned int>; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:48:43: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values(duk_context*) [with Args = {std::vector >, unsigned int}; typename ArgsTuple::type = std::tuple >, unsigned int>; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:113:78: required from 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = cPosition*; Ts = {std::vector >, unsigned int}; duk_ret_t = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = cPosition*; Ts = {std::vector >, unsigned int}; duk_context = duk_hthread; typename std::conditional::type = cPosition* (cRandomMap::*)(std::vector, unsigned int)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = cPosition*; Ts = {std::vector >, unsigned int}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:276:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h:140:41: note: in expansion of macro 'duk_error' 140 | duk_error(ctx, DUK_ERR_TYPE_ERROR, "Argument %d: expected array, got %s", arg_idx, detail::get_type_name(type_idx)); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h: In instantiation of 'static std::vector dukglue::types::DukType >::read(duk_context*, duk_idx_t) [with FullT = std::vector; T = eTerrainFeature; duk_context = duk_hthread; duk_idx_t = int]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:31:115: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values_helper(duk_context*, index_tuple) [with Args = {std::vector >, unsigned int, bool}; unsigned int ...Indexes = {0, 1, 2}; typename ArgsTuple::type = std::tuple >, unsigned int, bool>; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:48:43: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values(duk_context*) [with Args = {std::vector >, unsigned int, bool}; typename ArgsTuple::type = std::tuple >, unsigned int, bool>; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:113:78: required from 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = cPosition*; Ts = {std::vector >, unsigned int, bool}; duk_ret_t = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = cPosition*; Ts = {std::vector >, unsigned int, bool}; duk_context = duk_hthread; typename std::conditional::type = cPosition* (cRandomMap::*)(std::vector, unsigned int, bool)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = cPosition*; Ts = {std::vector >, unsigned int, bool}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:277:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h:140:41: note: in expansion of macro 'duk_error' 140 | duk_error(ctx, DUK_ERR_TYPE_ERROR, "Argument %d: expected array, got %s", arg_idx, detail::get_type_name(type_idx)); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp: In instantiation of 'static eTerrainFeature dukglue::types::DukType::read(duk_context*, duk_idx_t) [with FullT = eTerrainFeature; duk_context = duk_hthread; duk_idx_t = int]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:31:115: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values_helper(duk_context*, index_tuple) [with Args = {eTerrainFeature, unsigned int}; unsigned int ...Indexes = {0, 1}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:48:43: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values(duk_context*) [with Args = {eTerrainFeature, unsigned int}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:113:78: required from 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = cPosition*; Ts = {eTerrainFeature, unsigned int}; duk_ret_t = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = cPosition*; Ts = {eTerrainFeature, unsigned int}; duk_context = duk_hthread; typename std::conditional::type = cPosition* (cRandomMap::*)(eTerrainFeature, unsigned int)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = cPosition*; Ts = {eTerrainFeature, unsigned int}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:279:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h:26:41: note: in expansion of macro 'duk_error' 26 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: expected " #TYPE ", got %s", arg_idx, detail::get_type_name(type_idx)); \ | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:35:17: note: in expansion of macro 'DUKGLUE_SIMPLE_VALUE_TYPE' 35 | DUKGLUE_SIMPLE_VALUE_TYPE(eTerrainFeature, duk_is_number, duk_get_uint, duk_push_uint, value); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_types.h: In instantiation of 'static T* dukglue::types::DukType::read(duk_context*, duk_idx_t) [with FullT = cPosition*; = void; T = cPosition; duk_context = duk_hthread; duk_idx_t = int]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:31:115: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values_helper(duk_context*, index_tuple) [with Args = {cPosition*, cPosition*}; unsigned int ...Indexes = {0, 1}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:48:43: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values(duk_context*) [with Args = {cPosition*, cPosition*}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:113:78: required from 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = int; Ts = {cPosition*, cPosition*}; duk_ret_t = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = int; Ts = {cPosition*, cPosition*}; duk_context = duk_hthread; typename std::conditional::type = int (cRandomMap::*)(cPosition*, cPosition*)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = int; Ts = {cPosition*, cPosition*}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:290:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_types.h:60:41: note: in expansion of macro 'duk_error' 60 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: expected native object, got %s", arg_idx, get_type_name(type_idx)); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_types.h:65:41: note: in expansion of macro 'duk_error' 65 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: expected native object (missing type_info)", arg_idx); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_types.h:70:41: note: in expansion of macro 'duk_error' 70 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: wrong type of native object", arg_idx); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_types.h:76:41: note: in expansion of macro 'duk_error' 76 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: invalid native object.", arg_idx); | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp: In instantiation of 'static ePhaseObjective dukglue::types::DukType::read(duk_context*, duk_idx_t) [with FullT = ePhaseObjective; duk_context = duk_hthread; duk_idx_t = int]': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:31:115: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values_helper(duk_context*, index_tuple) [with Args = {ePhaseObjective}; unsigned int ...Indexes = {0}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_stack.h:48:43: required from 'typename dukglue::detail::ArgsTuple::type dukglue::detail::get_stack_values(duk_context*) [with Args = {ePhaseObjective}; typename ArgsTuple::type = std::tuple; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_method.h:113:78: required from 'static duk_ret_t dukglue::detail::MethodInfo::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cPhase; RetType = void; Ts = {ePhaseObjective}; duk_ret_t = int; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional::type, const char*) [with bool isConst = false; Cls = cPhase; RetType = void; Ts = {ePhaseObjective}; duk_context = duk_hthread; typename std::conditional::type = void (cPhase::*)(ePhaseObjective)]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cPhase; RetType = void; Ts = {ePhaseObjective}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:298:25: required from here /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.h:520:136: warning: right operand of comma operator has no effect [-Wunused-value] 520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/dukglue/detail_primitive_types.h:26:41: note: in expansion of macro 'duk_error' 26 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: expected " #TYPE ", got %s", arg_idx, detail::get_type_name(type_idx)); \ | ^~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:36:17: note: in expansion of macro 'DUKGLUE_SIMPLE_VALUE_TYPE' 36 | DUKGLUE_SIMPLE_VALUE_TYPE(ePhaseObjective, duk_is_number, duk_get_uint, duk_push_uint, value); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp: At global scope: /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:120:13: warning: 'void debugger_detached(duk_context*, void*)' defined but not used [-Wunused-function] 120 | static void debugger_detached(duk_context *ctx, void *udata) { | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/ScriptingEngine.cpp:90:18: warning: 'duk_idx_t debugger_request(duk_context*, void*, duk_idx_t)' defined but not used [-Wunused-function] 90 | static duk_idx_t debugger_request(duk_context *ctx, void *udata, duk_idx_t nvalues) { | ^~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 96%] Building CXX object CMakeFiles/openfodder.dir/Source/Window.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Window.cpp.o -MF CMakeFiles/openfodder.dir/Source/Window.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Window.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Window.cpp /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Window.cpp: In member function 'virtual void cWindow::EventCheck()': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Window.cpp:205:37: warning: operation on 'Event.cEvent::mType' may be undefined [-Wsequence-point] 205 | Event.mType = Event.mType = eEvent_MouseWheel; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Window.cpp: In member function 'void cWindow::SetOriginalRes(const cDimension&)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Window.cpp:495:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 495 | if (mOriginalResolution == pDimension) | ^~ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Window.cpp:498:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 498 | mOriginalResolution = pDimension; | ^~~~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 98%] Building CXX object CMakeFiles/openfodder.dir/Source/stdafx.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/stdafx.cpp.o -MF CMakeFiles/openfodder.dir/Source/stdafx.cpp.o.d -o CMakeFiles/openfodder.dir/Source/stdafx.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/stdafx.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 94%] Building CXX object CMakeFiles/openfodder.dir/Source/Versions.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Versions.cpp.o -MF CMakeFiles/openfodder.dir/Source/Versions.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Versions.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Versions.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 88%] Building CXX object CMakeFiles/openfodder.dir/Source/Utils/duktape.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Utils/duktape.cpp.o -MF CMakeFiles/openfodder.dir/Source/Utils/duktape.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Utils/duktape.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Utils/duktape.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [ 54%] Building CXX object CMakeFiles/openfodder.dir/Source/Parameters.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.7.0/Source -I/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/Source -isystem /usr/include/SDL2 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/openfodder.dir/Source/Parameters.cpp.o -MF CMakeFiles/openfodder.dir/Source/Parameters.cpp.o.d -o CMakeFiles/openfodder.dir/Source/Parameters.cpp.o -c /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Parameters.cpp /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Parameters.cpp: In member function 'bool sFodderParameters::FromJson(const std::string&)': /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Parameters.cpp:66:31: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 66 | catch (std::exception Exception) { | ^~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [100%] Linking CXX executable openfodder /usr/bin/cmake -E cmake_link_script CMakeFiles/openfodder.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -DNDEBUG CMakeFiles/openfodder.dir/Source/About.cpp.o CMakeFiles/openfodder.dir/Source/Amiga/Graphics_Amiga.cpp.o CMakeFiles/openfodder.dir/Source/Amiga/Graphics_Amiga2.cpp.o CMakeFiles/openfodder.dir/Source/Amiga/IntroData_Amiga.cpp.o CMakeFiles/openfodder.dir/Source/Amiga/Resource_Amiga_File.cpp.o CMakeFiles/openfodder.dir/Source/Amiga/Sound_Amiga.cpp.o CMakeFiles/openfodder.dir/Source/Amiga/dernc.cpp.o CMakeFiles/openfodder.dir/Source/Amiga/paula.cpp.o CMakeFiles/openfodder.dir/Source/Amiga/rjp1.cpp.o CMakeFiles/openfodder.dir/Source/Campaign.cpp.o CMakeFiles/openfodder.dir/Source/CopyProtection.cpp.o CMakeFiles/openfodder.dir/Source/Debugger.cpp.o CMakeFiles/openfodder.dir/Source/Event.cpp.o CMakeFiles/openfodder.dir/Source/Fodder.cpp.o CMakeFiles/openfodder.dir/Source/FontData.cpp.o CMakeFiles/openfodder.dir/Source/GUI_Element.cpp.o CMakeFiles/openfodder.dir/Source/GameData.cpp.o CMakeFiles/openfodder.dir/Source/Graphics.cpp.o CMakeFiles/openfodder.dir/Source/Map/Map.cpp.o CMakeFiles/openfodder.dir/Source/Map/Original.cpp.o CMakeFiles/openfodder.dir/Source/Map/Random.cpp.o CMakeFiles/openfodder.dir/Source/MapData.cpp.o CMakeFiles/openfodder.dir/Source/PC/Graphics_PC.cpp.o CMakeFiles/openfodder.dir/Source/PC/IntroData_PC.cpp.o CMakeFiles/openfodder.dir/Source/PC/Resource_PC_CD.cpp.o CMakeFiles/openfodder.dir/Source/PC/Sound_PC.cpp.o CMakeFiles/openfodder.dir/Source/PC/Sound_PC2.cpp.o CMakeFiles/openfodder.dir/Source/Parameters.cpp.o CMakeFiles/openfodder.dir/Source/Recruits.cpp.o CMakeFiles/openfodder.dir/Source/ResourceMan.cpp.o CMakeFiles/openfodder.dir/Source/Resources.cpp.o CMakeFiles/openfodder.dir/Source/ScriptingEngine.cpp.o CMakeFiles/openfodder.dir/Source/Sound.cpp.o CMakeFiles/openfodder.dir/Source/SpriteSheet.cpp.o CMakeFiles/openfodder.dir/Source/Sprites.cpp.o CMakeFiles/openfodder.dir/Source/Start.cpp.o CMakeFiles/openfodder.dir/Source/Start_Emscripten.cpp.o CMakeFiles/openfodder.dir/Source/Structures/Barracks.cpp.o CMakeFiles/openfodder.dir/Source/Surface.cpp.o CMakeFiles/openfodder.dir/Source/Tiles.cpp.o CMakeFiles/openfodder.dir/Source/UnitTesting.cpp.o CMakeFiles/openfodder.dir/Source/Utils/SimplexIslands.cpp.o CMakeFiles/openfodder.dir/Source/Utils/SimplexNoise.cpp.o CMakeFiles/openfodder.dir/Source/Utils/duk_trans_socket_windows.cpp.o CMakeFiles/openfodder.dir/Source/Utils/duktape.cpp.o CMakeFiles/openfodder.dir/Source/Utils/md5.cpp.o CMakeFiles/openfodder.dir/Source/Utils/micropather.cpp.o CMakeFiles/openfodder.dir/Source/Versions.cpp.o CMakeFiles/openfodder.dir/Source/Window.cpp.o CMakeFiles/openfodder.dir/Source/stdafx.cpp.o -o openfodder /usr/lib/libSDL2.so /usr/lib/libSDL2_mixer.so In member function 'paletteSet', inlined from 'PaletteSetOverview' at /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Graphics_Amiga.cpp:498:42: /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Surface.cpp:114:46: warning: iteration 15 invokes undefined behavior [-Waggressive-loop-optimizations] 114 | mPaletteNew[ColorID] = pPalette[ColorID - pColorID]; | ^ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Surface.cpp:113:57: note: within this loop 113 | for (uint32 ColorID = pColorID; ColorID < pColorID + pColors; ++ColorID) { | ^ In member function 'paletteSet', inlined from 'PaletteBriefingSet' at /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Graphics_Amiga.cpp:506:22: /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Surface.cpp:114:46: warning: iteration 15 invokes undefined behavior [-Waggressive-loop-optimizations] 114 | mPaletteNew[ColorID] = pPalette[ColorID - pColorID]; | ^ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Surface.cpp:113:57: note: within this loop 113 | for (uint32 ColorID = pColorID; ColorID < pColorID + pColors; ++ColorID) { | ^ In member function 'paletteSet', inlined from 'PaletteSet' at /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Graphics_Amiga.cpp:517:21: /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Surface.cpp:114:46: warning: iteration 15 invokes undefined behavior [-Waggressive-loop-optimizations] 114 | mPaletteNew[ColorID] = pPalette[ColorID - pColorID]; | ^ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Surface.cpp:113:57: note: within this loop 113 | for (uint32 ColorID = pColorID; ColorID < pColorID + pColors; ++ColorID) { | ^ In member function 'paletteSet', inlined from 'PaletteBriefingSet' at /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Graphics_Amiga.cpp:506:22, inlined from 'Mission_Intro_Play' at /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Amiga/Graphics_Amiga.cpp:1507:20: /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Surface.cpp:114:46: warning: iteration 15 invokes undefined behavior [-Waggressive-loop-optimizations] 114 | mPaletteNew[ColorID] = pPalette[ColorID - pColorID]; | ^ /usr/src/RPM/BUILD/openfodder-1.7.0/Source/Surface.cpp:113:57: note: within this loop 113 | for (uint32 ColorID = pColorID; ColorID < pColorID + pColors; ++ColorID) { | ^ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' [100%] Built target openfodder gmake[1]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' gmake: Entering directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux/CMakeFiles 0 gmake: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.7.0/i586-alt-linux' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.51361 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/openfodder-buildroot + : + /bin/rm -rf -- /usr/src/tmp/openfodder-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd openfodder-1.7.0 + install -D -m0755 ./i586-alt-linux/openfodder /usr/src/tmp/openfodder-buildroot/usr/lib/openfodder/openfodder + install -D -m0755 /usr/src/RPM/SOURCES/openfodder.sh /usr/src/tmp/openfodder-buildroot/usr/bin/openfodder + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/openfodder-buildroot (auto) Verifying and fixing files in /usr/src/tmp/openfodder-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/openfodder-buildroot/ (default) Compressing files in /usr/src/tmp/openfodder-buildroot (auto) Adjusting library links in /usr/src/tmp/openfodder-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/openfodder-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/lib/openfodder/openfodder: uses non-LFS functions: scandir stat Processing files: openfodder-1.7.0-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.34490 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd openfodder-1.7.0 + DOCDIR=/usr/src/tmp/openfodder-buildroot/usr/share/doc/openfodder-1.7.0 + export DOCDIR + rm -rf /usr/src/tmp/openfodder-buildroot/usr/share/doc/openfodder-1.7.0 + /bin/mkdir -p /usr/src/tmp/openfodder-buildroot/usr/share/doc/openfodder-1.7.0 + cp -prL README.md COPYING /usr/src/tmp/openfodder-buildroot/usr/share/doc/openfodder-1.7.0 + chmod -R go-w /usr/src/tmp/openfodder-buildroot/usr/share/doc/openfodder-1.7.0 + chmod -R a+rX /usr/src/tmp/openfodder-buildroot/usr/share/doc/openfodder-1.7.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.w3P6Xk find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.s0ax4Q find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) find-requires: FINDPACKAGE-COMMANDS: mkdir Requires: /bin/sh, /lib/ld-linux.so.2, coreutils, libSDL2-2.0.so.0 >= set:nhT6Y7jkZuPX6FtBBhZ5UcMfZ57lxgdPpG6oVcv8x5MZCf6saZG4xUAtRcmQf3VbcPyYPewUurO9u7HR9bU1zlOqhZJVb53LCQEfDGgoHoyjB3Ecmaoxq8F07TUH4SnEZ8zqb3, libSDL2_mixer-2.0.so.0 >= set:kgglrv7SKhZhcr3uLMdix5l5KrI4Zrak8S0, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.11), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.32), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.38), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libgcc_s.so.1(GLIBC_2.0), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.29), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.5), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.11), libstdc++.so.6(GLIBCXX_3.4.14), libstdc++.so.6(GLIBCXX_3.4.15), libstdc++.so.6(GLIBCXX_3.4.18), libstdc++.so.6(GLIBCXX_3.4.19), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.26), libstdc++.so.6(GLIBCXX_3.4.29), libstdc++.so.6(GLIBCXX_3.4.32), libstdc++.so.6(GLIBCXX_3.4.9), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.U8Okne Creating openfodder-debuginfo package Processing files: openfodder-debuginfo-1.7.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Cf6oMM find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.e0vkHs find-requires: running scripts (debuginfo) Requires: openfodder = 1.7.0-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libSDL2-2.0.so.0), debug(libSDL2_mixer-2.0.so.0), debug(libc.so.6), debug(libgcc_s.so.1), debug(libm.so.6), debug(libstdc++.so.6) Adding to openfodder-debuginfo a strict dependency on openfodder Wrote: /usr/src/RPM/RPMS/i586/openfodder-1.7.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/openfodder-debuginfo-1.7.0-alt1.i586.rpm (w2T16.xzdio) 149.03user 14.43system 0:24.26elapsed 673%CPU (0avgtext+0avgdata 391944maxresident)k 0inputs+0outputs (0major+4333700minor)pagefaults 0swaps 3.27user 1.71system 0:36.07elapsed 13%CPU (0avgtext+0avgdata 125992maxresident)k 0inputs+0outputs (0major+248275minor)pagefaults 0swaps --- openfodder-1.7.0-alt1.i586.rpm.repo 2023-05-25 13:34:27.000000000 +0000 +++ openfodder-1.7.0-alt1.i586.rpm.hasher 2023-12-02 06:08:32.232694967 +0000 @@ -20,4 +20,4 @@ Requires: libc.so.6(GLIBC_2.34) +Requires: libc.so.6(GLIBC_2.38) Requires: libc.so.6(GLIBC_2.4) -Requires: libc.so.6(GLIBC_2.7) Requires: libgcc_s.so.1(GCC_3.0) @@ -40,2 +40,3 @@ Requires: libstdc++.so.6(GLIBCXX_3.4.29) +Requires: libstdc++.so.6(GLIBCXX_3.4.32) Requires: libstdc++.so.6(GLIBCXX_3.4.9) @@ -46,3 +47,3 @@ File: /usr/lib/openfodder 40755 root:root -File: /usr/lib/openfodder/openfodder 100755 root:root fb5ac2310b02564232d20bc9f6df945f +File: /usr/lib/openfodder/openfodder 100755 root:root cd9673451ab0d90e143af21eccfb312d File: /usr/share/doc/openfodder-1.7.0 40755 root:root @@ -50,2 +51,2 @@ File: /usr/share/doc/openfodder-1.7.0/README.md 100644 root:root 6e793ef5906fba9eeeb592c93311da27 -RPMIdentity: 617fb276edc2fc3ee4896e38457cf6054e4fc3255bf7e00a389a70fc299ae31da28b850bc06ffc52f231956fd53fe55a765397571d7e033387dd55298ad4a945 +RPMIdentity: 223247af4e3e9c34ab60a08bf71914f94f8e100e5761c2eedc02808b8008832dfbc782e57a05c2731f86cac8565ba718a342583f8db7ee3abfc015e03b505aaf --- openfodder-debuginfo-1.7.0-alt1.i586.rpm.repo 2023-05-25 13:34:27.000000000 +0000 +++ openfodder-debuginfo-1.7.0-alt1.i586.rpm.hasher 2023-12-02 06:08:32.307696468 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/a9 40755 root:root -/usr/lib/debug/.build-id/a9/14bc16c160bd5641a5d7e1a1816b515f20853e 120777 root:root ../../../openfodder/openfodder -/usr/lib/debug/.build-id/a9/14bc16c160bd5641a5d7e1a1816b515f20853e.debug 120777 root:root ../../usr/lib/openfodder/openfodder.debug +/usr/lib/debug/.build-id/e9 40755 root:root +/usr/lib/debug/.build-id/e9/d63bf517ae8d13310143d6d602b33ba3b98d27 120777 root:root ../../../openfodder/openfodder +/usr/lib/debug/.build-id/e9/d63bf517ae8d13310143d6d602b33ba3b98d27.debug 120777 root:root ../../usr/lib/openfodder/openfodder.debug /usr/lib/debug/usr/lib/openfodder 40755 root:root @@ -152,7 +152,7 @@ Provides: openfodder-debuginfo = 1.7.0-alt1:sisyphus+321850.100.1.1 -File: /usr/lib/debug/.build-id/a9 40755 root:root -File: /usr/lib/debug/.build-id/a9/14bc16c160bd5641a5d7e1a1816b515f20853e 120777 root:root ../../../openfodder/openfodder -File: /usr/lib/debug/.build-id/a9/14bc16c160bd5641a5d7e1a1816b515f20853e.debug 120777 root:root ../../usr/lib/openfodder/openfodder.debug +File: /usr/lib/debug/.build-id/e9 40755 root:root +File: /usr/lib/debug/.build-id/e9/d63bf517ae8d13310143d6d602b33ba3b98d27 120777 root:root ../../../openfodder/openfodder +File: /usr/lib/debug/.build-id/e9/d63bf517ae8d13310143d6d602b33ba3b98d27.debug 120777 root:root ../../usr/lib/openfodder/openfodder.debug File: /usr/lib/debug/usr/lib/openfodder 40755 root:root -File: /usr/lib/debug/usr/lib/openfodder/openfodder.debug 100644 root:root 870af33f5955c11d629c590a3a9e34b8 +File: /usr/lib/debug/usr/lib/openfodder/openfodder.debug 100644 root:root adef5c6267eb0f2fd05c0b70a9aa262f File: /usr/src/debug/openfodder-1.7.0 40755 root:root @@ -294,2 +294,2 @@ File: /usr/src/debug/openfodder-1.7.0/i586-alt-linux/Source/gitver.hpp 100644 root:root 43266cb12fb288905472141e68be43e3 -RPMIdentity: 40bb131501ccb3f1fe3c4847b5f619df3b3aba6e9070edd51317a2143cd58eb20d202a3e4d62a1fbbf9c7187e57efe5afd91d20b3a4cfb0f6bd063eba3157ecd +RPMIdentity: 0887831e059e70007db7b3616faf304b2ba9a38177b57bc9251f1b5b11f6d8ff5074c8c34012ebd74d3f47838b484410099054591665c5339d7180f2f35dd22d