<86>Aug 20 05:04:15 userdel[2661495]: delete user 'rooter' <86>Aug 20 05:04:15 userdel[2661495]: removed group 'rooter' owned by 'rooter' <86>Aug 20 05:04:15 userdel[2661495]: removed shadow group 'rooter' owned by 'rooter' <86>Aug 20 05:04:16 groupadd[2661503]: group added to /etc/group: name=rooter, GID=942 <86>Aug 20 05:04:16 groupadd[2661503]: group added to /etc/gshadow: name=rooter <86>Aug 20 05:04:16 groupadd[2661503]: new group: name=rooter, GID=942 <86>Aug 20 05:04:16 useradd[2661515]: new user: name=rooter, UID=942, GID=942, home=/root, shell=/bin/bash <86>Aug 20 05:04:16 userdel[2661531]: delete user 'builder' <86>Aug 20 05:04:16 userdel[2661531]: removed group 'builder' owned by 'builder' <86>Aug 20 05:04:16 userdel[2661531]: removed shadow group 'builder' owned by 'builder' <86>Aug 20 05:04:16 groupadd[2661541]: group added to /etc/group: name=builder, GID=943 <86>Aug 20 05:04:16 groupadd[2661541]: group added to /etc/gshadow: name=builder <86>Aug 20 05:04:16 groupadd[2661541]: new group: name=builder, GID=943 <86>Aug 20 05:04:16 useradd[2661551]: new user: name=builder, UID=943, GID=943, home=/usr/src, shell=/bin/bash warning: Macro %cmake not found warning: Macro %cmake_build not found <13>Aug 20 05:04:17 rpmi: libglvnd-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Aug 20 05:04:17 rpmi: libexpat-2.4.7-alt1 sisyphus+296417.100.1.1 1646812526 installed <13>Aug 20 05:04:17 rpmi: xorg-proto-devel-2022.1-alt1 sisyphus+299488.100.1.1 1651731532 installed <13>Aug 20 05:04:17 rpmi: libSDL2-2.0.22-alt1 sisyphus+299093.100.1.1 1651044072 installed <13>Aug 20 05:04:17 rpmi: libwayland-server-1.21.0-alt1.1 sisyphus+302874.200.2.1 1656661872 installed <13>Aug 20 05:04:17 rpmi: libidn2-2.3.3-alt1 sisyphus+305365.100.1.1 1660657702 installed <13>Aug 20 05:04:17 rpmi: libSDL2_mixer-2.6.1-alt2 sisyphus+304045.100.1.1 1658334874 installed <13>Aug 20 05:04:17 rpmi: libGLES-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Aug 20 05:04:17 rpmi: libOpenGL-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Aug 20 05:04:17 rpmi: libxshmfence-1.3-alt1 sisyphus+278248.100.1.1 1626080763 installed <13>Aug 20 05:04:17 rpmi: libX11-locales-3:1.8-alt1 sisyphus+299436.100.1.1 1651655356 installed <13>Aug 20 05:04:17 rpmi: libXdmcp-1.1.3-alt1 sisyphus+278816.100.1.1 1626219233 installed <13>Aug 20 05:04:17 rpmi: libXau-1.0.9-alt1 sisyphus+278247.100.1.1 1626080738 installed <13>Aug 20 05:04:17 rpmi: libxcb-1.15-alt1 sisyphus+299436.300.1.1 1651655490 installed <13>Aug 20 05:04:17 rpmi: libX11-3:1.8-alt1 sisyphus+299436.100.1.1 1651655362 installed <13>Aug 20 05:04:17 rpmi: libXext-1.3.4-alt1 sisyphus+278817.100.1.3 1626262589 installed <13>Aug 20 05:04:17 rpmi: libXxf86vm-1.1.4-alt2 sisyphus+275334.100.2.2 1624577012 installed <13>Aug 20 05:04:17 rpmi: libXfixes-6.0.0-alt1 sisyphus+284644.300.1.1 1630910333 installed <13>Aug 20 05:04:18 rpmi: libxcb-devel-1.15-alt1 sisyphus+299436.300.1.1 1651655490 installed <13>Aug 20 05:04:18 rpmi: libX11-devel-3:1.8-alt1 sisyphus+299436.100.1.1 1651655362 installed <13>Aug 20 05:04:18 rpmi: libwayland-client-1.21.0-alt1.1 sisyphus+302874.200.2.1 1656661872 installed <13>Aug 20 05:04:18 rpmi: libpciaccess-1:0.16-alt1 sisyphus+278288.100.1.1 1626084208 installed <13>Aug 20 05:04:18 rpmi: libdrm-1:2.4.112-alt1 sisyphus+303245.100.1.1 1657103580 installed <13>Aug 20 05:04:18 rpmi: libGLX-mesa-4:22.1.7-alt1 sisyphus+305516.100.1.1 1660910149 installed <13>Aug 20 05:04:18 rpmi: libGLX-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Aug 20 05:04:18 rpmi: libGL-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Aug 20 05:04:18 rpmi: libgbm-4:22.1.7-alt1 sisyphus+305516.100.1.1 1660910149 installed <13>Aug 20 05:04:18 rpmi: libEGL-mesa-4:22.1.7-alt1 sisyphus+305516.100.1.1 1660910149 installed <13>Aug 20 05:04:18 rpmi: libEGL-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Aug 20 05:04:18 rpmi: libglvnd-devel-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Aug 20 05:04:18 rpmi: libSDL2-devel-2.0.22-alt1 sisyphus+299093.100.1.1 1651044072 installed <13>Aug 20 05:04:18 rpmi: libxxhash-0.8.0-alt2 sisyphus+277476.100.2.1 1625621318 installed <13>Aug 20 05:04:18 rpmi: liblz4-1:1.9.3-alt1 sisyphus+278100.4000.1.1 1626060252 installed <13>Aug 20 05:04:18 rpmi: libedit3-3.1.20191231-alt1 sisyphus+278505.100.1.1 1626106372 installed <13>Aug 20 05:04:18 rpmi: less-590-alt2 sisyphus+299300.100.1.1 1651318218 installed <13>Aug 20 05:04:18 rpmi: perl-TermReadKey-2.38-alt1.1 sisyphus+279723.1000.1.1 1626649050 installed <13>Aug 20 05:04:18 rpmi: perl-Filter-1.64-alt1 sisyphus+305464.100.1.1 1660815328 installed <13>Aug 20 05:04:18 rpmi: perl-Encode-3.19-alt1 sisyphus+304776.100.1.1 1659623414 installed <13>Aug 20 05:04:18 rpmi: perl-libintl-1.32-alt1 sisyphus+279723.5100.1.1 1626650429 installed <13>Aug 20 05:04:18 rpmi: perl-Error-0.17029-alt1 sisyphus+245975.100.1.1 1581530233 installed <13>Aug 20 05:04:18 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Aug 20 05:04:19 rpmi: libstdc++12-devel-12.1.1-alt1 sisyphus+300988.100.1.1 1654028661 installed <13>Aug 20 05:04:19 rpmi: gcc12-c++-12.1.1-alt1 sisyphus+300988.100.1.1 1654028661 installed <13>Aug 20 05:04:19 rpmi: diffstat-1.64-alt1 sisyphus+278100.700.1.1 1626056686 installed <13>Aug 20 05:04:19 rpmi: rpm-macros-cmake-3.23.2-alt1.1 sisyphus+304559.100.1.1 1659180124 installed <13>Aug 20 05:04:19 rpmi: cmake-modules-3.23.2-alt1.1 sisyphus+304559.100.1.1 1659180107 installed <13>Aug 20 05:04:19 rpmi: libuv-1.44.2-alt1 sisyphus+303845.100.1.1 1658053887 installed <13>Aug 20 05:04:19 rpmi: librhash-1.3.5-alt3 sisyphus+286141.40.2.1 1632982456 installed <13>Aug 20 05:04:19 rpmi: libjsoncpp24-1.9.4-alt2 sisyphus+286441.100.1.1 1633444234 installed <13>Aug 20 05:04:19 rpmi: publicsuffix-list-dafsa-20220703-alt1 sisyphus+303337.100.1.1 1657290300 installed <13>Aug 20 05:04:19 rpmi: libpsl-0.21.1-alt2 sisyphus+279461.100.1.1 1626547555 installed <13>Aug 20 05:04:19 rpmi: libnghttp2-1.48.0-alt1 sisyphus+302653.100.1.1 1656172257 installed <13>Aug 20 05:04:19 rpmi: openldap-common-2.4.59-alt1 sisyphus+282933.100.1.1 1629124747 installed <13>Aug 20 05:04:19 rpmi: libverto-0.3.2-alt1_1 sisyphus+279289.100.1.3 1626493872 installed <13>Aug 20 05:04:19 rpmi: liblmdb-0.9.23-alt1 sisyphus+275369.100.1.2 1624493869 installed <13>Aug 20 05:04:19 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>Aug 20 05:04:19 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975361 installed <13>Aug 20 05:04:19 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Aug 20 05:04:19 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Aug 20 05:04:20 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed <13>Aug 20 05:04:20 rpmi: libtasn1-4.18.0-alt2 sisyphus+301112.100.1.1 1654185769 installed <13>Aug 20 05:04:20 rpmi: rpm-macros-alternatives-0.5.2-alt1 sisyphus+300869.100.1.1 1653844113 installed <13>Aug 20 05:04:20 rpmi: alternatives-0.5.2-alt1 sisyphus+300869.100.1.1 1653844113 installed <13>Aug 20 05:04:20 rpmi: ca-certificates-2022.07.22-alt1 sisyphus+304126.100.1.2 1658509204 installed <13>Aug 20 05:04:20 rpmi: ca-trust-0.1.3-alt1 sisyphus+299449.100.1.1 1651660001 installed <13>Aug 20 05:04:20 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed <13>Aug 20 05:04:20 rpmi: libcrypto1.1-1.1.1q-alt1 sisyphus+303203.100.1.1 1657027052 installed <13>Aug 20 05:04:20 rpmi: libssl1.1-1.1.1q-alt1 sisyphus+303203.100.1.1 1657027052 installed <86>Aug 20 05:04:20 groupadd[2676583]: group added to /etc/group: name=_keytab, GID=499 <86>Aug 20 05:04:20 groupadd[2676583]: group added to /etc/gshadow: name=_keytab <86>Aug 20 05:04:20 groupadd[2676583]: new group: name=_keytab, GID=499 <13>Aug 20 05:04:20 rpmi: libkrb5-1.19.3-alt1 sisyphus+296671.100.1.1 1647339985 installed <86>Aug 20 05:04:20 groupadd[2676675]: group added to /etc/group: name=sasl, GID=498 <86>Aug 20 05:04:20 groupadd[2676675]: group added to /etc/gshadow: name=sasl <86>Aug 20 05:04:20 groupadd[2676675]: new group: name=sasl, GID=498 <13>Aug 20 05:04:20 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+282040.40.2.1 1628929849 installed <13>Aug 20 05:04:20 rpmi: libldap-2.4.59-alt1 sisyphus+282933.100.1.1 1629124742 installed <13>Aug 20 05:04:20 rpmi: libcurl-7.84.0-alt2 sisyphus+305064.100.1.1 1660150589 installed <13>Aug 20 05:04:20 rpmi: libarchive13-3.6.0-alt1 sisyphus+296421.100.1.1 1646814097 installed <13>Aug 20 05:04:20 rpmi: openssh-common-8.6p1-alt3 sisyphus+294457.100.2.1 1643759043 installed <86>Aug 20 05:04:20 groupadd[2676920]: group added to /etc/group: name=sshagent, GID=497 <86>Aug 20 05:04:20 groupadd[2676920]: group added to /etc/gshadow: name=sshagent <86>Aug 20 05:04:20 groupadd[2676920]: new group: name=sshagent, GID=497 <13>Aug 20 05:04:20 rpmi: openssh-clients-8.6p1-alt3 sisyphus+294457.100.2.1 1643759043 installed <13>Aug 20 05:04:20 rpmi: rsync-3.2.5-alt1 sisyphus+305266.100.1.1 1660505913 installed <13>Aug 20 05:04:20 rpmi: git-core-2.33.4-alt1 sisyphus+303574.100.1.1 1657648407 installed <13>Aug 20 05:04:20 rpmi: perl-Git-2.33.4-alt1 sisyphus+303574.100.1.1 1657648387 installed <13>Aug 20 05:04:20 rpmi: git-2.33.4-alt1 sisyphus+303574.100.1.1 1657648407 installed <13>Aug 20 05:04:20 rpmi: cmake-3.23.2-alt1.1 sisyphus+304559.100.1.1 1659180124 installed <13>Aug 20 05:04:20 rpmi: gcc-c++-12-alt1 sisyphus+300988.300.1.1 1654033914 installed <13>Aug 20 05:04:20 rpmi: libSDL2_mixer-devel-2.6.1-alt2 sisyphus+304045.100.1.1 1658334874 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/openfodder-1.6.0-alt1.nosrc.rpm (w1.gzdio) Installing openfodder-1.6.0-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.71283 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf openfodder-1.6.0 + echo 'Source #0 (openfodder-1.6.0.tar):' Source #0 (openfodder-1.6.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/openfodder-1.6.0.tar + cd openfodder-1.6.0 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.71283 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd openfodder-1.6.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 12.1.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.33.4") -- Configuring done -- Generating done 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.6.0/i586-alt-linux + cmake --build i586-alt-linux --verbose --parallel 16 gmake: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' /usr/bin/cmake -S/usr/src/RPM/BUILD/openfodder-1.6.0 -B/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux --check-build-system CMakeFiles/Makefile.cmake 0 gmake: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux/CMakeFiles /usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux//CMakeFiles/progress.marks gmake: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/i586-alt-linux' cd /usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/openfodder-1.6.0 /usr/src/RPM/BUILD/openfodder-1.6.0 /usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux /usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux /usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux/CMakeFiles/openfodder.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Amiga/dernc.cpp /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Amiga/dernc.cpp: In function 'const char* rnc_error(long int)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Amiga/dernc.cpp: In function 'long int rnc_unpack(void*, void*)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' [ 7%] Building CXX object CMakeFiles/openfodder.dir/Source/Amiga/IntroData_Amiga.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Amiga/IntroData_Amiga.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Amiga/Sound_Amiga.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' [ 15%] Building CXX object CMakeFiles/openfodder.dir/Source/Amiga/paula.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Amiga/paula.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' [ 17%] Building CXX object CMakeFiles/openfodder.dir/Source/Amiga/rjp1.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Amiga/rjp1.cpp /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Debugger.cpp /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Debugger.cpp: In member function 'void cDebugger::ClearConsole()': /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Debugger.cpp: In member function 'void cDebugger::Notice(const std::string&)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Debugger.cpp: In member function 'void cDebugger::Error(const std::string&)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Debugger.cpp: In member function 'void cDebugger::TestStart(const std::string&, const std::string&)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Graphics.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/CopyProtection.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' [ 5%] Building CXX object CMakeFiles/openfodder.dir/Source/Amiga/Graphics_Amiga2.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Amiga/Graphics_Amiga2.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Event.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/About.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/FontData.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/GUI_Element.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' [ 5%] Building CXX object CMakeFiles/openfodder.dir/Source/Amiga/Graphics_Amiga.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Amiga/Graphics_Amiga.cpp /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.0/Source/Amiga/Graphics_Amiga.cpp:547:22: warning: multi-character character constant [-Wmultichar] 547 | case 'BMHD': | ^~~~~~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Amiga/Graphics_Amiga.cpp:559:22: warning: multi-character character constant [-Wmultichar] 559 | case 'BODY': { | ^~~~~~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Amiga/Graphics_Amiga.cpp:622:22: warning: multi-character character constant [-Wmultichar] 622 | case 'CMAP': | ^~~~~~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Amiga/Graphics_Amiga.cpp: In member function 'virtual void cGraphics_Amiga::Load_Sprite_Font()': /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.0/Source/Amiga/Graphics_Amiga.cpp: In member function 'virtual void cGraphics_Amiga::SetActiveSpriteSheet(eGFX_Types)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/PC/IntroData_PC.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Amiga/Resource_Amiga_File.cpp /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Map/Original.cpp /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.0/Source/Map/Original.cpp: In member function 'bool cOriginalMap::saveCF1Sprites(std::string)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Map/Map.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/MapData.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' [ 49%] Building CXX object CMakeFiles/openfodder.dir/Source/PC/Sound_PC.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/PC/Sound_PC.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/PC/Graphics_PC.cpp /usr/src/RPM/BUILD/openfodder-1.6.0/Source/PC/Graphics_PC.cpp: In member function 'virtual void cGraphics_PC::SetActiveSpriteSheet(eGFX_Types)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Start_Emscripten.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Resources.cpp /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Recruits.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' [ 52%] Building CXX object CMakeFiles/openfodder.dir/Source/PC/Resource_PC_CD.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/PC/Resource_PC_CD.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' [ 50%] Building CXX object CMakeFiles/openfodder.dir/Source/PC/Sound_PC2.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/PC/Sound_PC2.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' [ 19%] Building CXX object CMakeFiles/openfodder.dir/Source/Campaign.cpp.o /usr/bin/c++ -I/usr/src/RPM/BUILD/openfodder-1.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Campaign.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Map/Random.cpp /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Map/Random.cpp: In member function 'int32 cRandomMap::getSpriteTypeCount(size_t)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Map/Random.cpp: In member function 'std::vector cRandomMap::getSpritesByType(size_t)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Map/Random.cpp: In member function 'std::vector cRandomMap::calculatePath(size_t, cPosition*, cPosition*)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Utils/duk_trans_socket_windows.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Utils/SimplexIslands.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Utils/md5.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/GameData.cpp /usr/src/RPM/BUILD/openfodder-1.6.0/Source/GameData.cpp: In member function 'bool sGameRecorded::FromJson(const std::string&)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.0/Source/GameData.cpp: In member function 'void sGameData::Clear()': /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.0/Source/GameData.cpp: In member function 'bool sGameData::FromJson(const std::string&)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Utils/micropather.cpp /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Utils/micropather.cpp: In member function 'void micropather::PathNode::Clear()': /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Utils/micropather.cpp:45: /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Utils/micropather.h:203:15: note: 'class micropather::PathNode' declared here 203 | class PathNode | ^~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Utils/micropather.cpp: In member function 'void micropather::MicroPather::GetCacheData(micropather::CacheData*)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Fodder.cpp /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp: In member function 'int16 cFodder::Tile_FindType(eTerrainFeature)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Fodder.cpp: In member function 'std::vector cFodder::Tile_FindType(eTerrainFeature, eTerrainFeature)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Fodder.cpp: In member function 'void cFodder::Camera_Speed_Update_From_PanTarget()': /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.0/Source/Fodder.cpp: In member function 'void cFodder::Camera_SetTargetToStartPosition()': /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.0/Source/Fodder.cpp: In member function 'void cFodder::Map_Load_Resources()': /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.0/Source/Fodder.cpp: In member function 'void cFodder::Sprite_Handle_Helicopter_Enemy(sSprite*)': /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp:6018:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6018 | if (pSprite->field_4C) | ^~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp:6021:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6021 | Data0 = map_GetRandomX(); | ^~~~~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp: In member function 'int16 cFodder::Sprite_Handle_Civilian_RandomMovement(sSprite*)': /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp:6358:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6358 | if (Data8 >= mMapLoaded->getWidth()) | ^~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp:6361:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6361 | int16 DataC = map_GetRandomY(); | ^~~~~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp: In member function 'int16 cFodder::Map_Get_Distance_BetweenPoints(int16&, int16&, int16&, int16&, int16&)': /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp:7473:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 7473 | if (pPosY2 >= pDistanceMax) | ^~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp:7476:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 7476 | pDistanceMax = 0; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp: In member function 'int32 cFodder::Map_Get_Distance_BetweenPositions(cPosition, cPosition, int32)': /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp:7531:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 7531 | if (pPos2.mY >= sizeof(mMap_Distance_Calculations) / sizeof(mMap_Distance_Calculations[0]) - 1) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp: In member function 'void cFodder::Squad_Walk_Target_Set(int16, int16, int16, int16)': /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp:7686:21: warning: comparison of integer expressions of different signedness: 'int16' {aka 'short int'} and 'unsigned int' [-Wsign-compare] 7686 | if (pData10 < (sizeof(mSquad_WalkTargets[pSquadNumber]) / sizeof(mSquad_WalkTargets[pSquadNumber][0]))) // 0x74 | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp: In member function 'void cFodder::Game_Load()': /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp:9039:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 9039 | if (!File.size()) | ^~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp:9042:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 9042 | auto SaveData = g_ResourceMan->FileReadStr(g_ResourceMan->GetSave(File)); | ^~~~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp: In member function 'void cFodder::Service_Show()': /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp:9260:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 9260 | if (mParams->mSkipService) | ^~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp:9263:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 9263 | mWindow->SetScreenSize(mVersionCurrent->GetScreenSize()); | ^~~~~~~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp: In member function 'void cFodder::Briefing_Draw_Phase()': /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp:9673:21: warning: loop variable 'GoalName' creates a copy from type 'const std::__cxx11::basic_string' [-Wrange-loop-construct] 9673 | for (const auto GoalName : mMissionGoal_Titles) { | ^~~~~~~~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp:9673:21: note: use reference type to prevent copying 9673 | for (const auto GoalName : mMissionGoal_Titles) { | ^~~~~~~~ | & /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp: In member function 'void cFodder::Briefing_Show_PreReady()': /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp:9687:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 9687 | if (!mVersionCurrent->hasGfx(eGFX_BRIEFING) && !mGame_Data.mCampaign.isRandom()) | ^~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp:9690:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 9690 | mWindow->SetScreenSize(mVersionCurrent->GetScreenSize()); | ^~~~~~~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp: In member function 'void cFodder::Sprite_Handle_Civilian_Spear2(sSprite*)': /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp:12826:39: warning: variable 'Data1C' set but not used [-Wunused-but-set-variable] 12826 | int16 Data0, Data4, Data8, DataC, Data1C; | ^~~~~~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp: In member function 'void cFodder::Sprite_Handle_Cannon(sSprite*)': /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp:13121:39: warning: variable 'Data1C' set but not used [-Wunused-but-set-variable] 13121 | int16 Data0, Data4, Data8, DataC, Data1C; | ^~~~~~ /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp: In member function 'void cFodder::Sprite_Handle_Spider_Mine(sSprite*)': /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Fodder.cpp:13437:39: warning: variable 'Data10' set but not used [-Wunused-but-set-variable] 13437 | int16 Data0, Data4, Data8, DataC, Data10; | ^~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/ResourceMan.cpp /usr/src/RPM/BUILD/openfodder-1.6.0/Source/ResourceMan.cpp: In member function 'std::string cResourceMan::getcwd()': /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Sound.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/SpriteSheet.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Sprites.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Surface.cpp /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Surface.cpp: In member function 'void cSurface::draw()': /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Surface.cpp:206:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 206 | if (mIsLoadedImage) | ^~ /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Structures/Barracks.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Tiles.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Start.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Utils/SimplexNoise.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/ScriptingEngine.cpp /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Utils/dukglue/detail_types.h:6, from /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Utils/dukglue/detail_stack.h:6, from /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Utils/dukglue/detail_function.h:3, from /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Utils/dukglue/register_function.h:3, from /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Utils/dukglue/dukglue.h:3, from /usr/src/RPM/BUILD/openfodder-1.6.0/Source/ScriptingEngine.cpp:24: /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/Utils/dukglue/register_class.h:5, from /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Utils/dukglue/dukglue.h:4: /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.0/Source/Utils/dukglue/dukglue.h:6: /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Utils/dukglue/public_util.h: In function 'void dukglue_push(duk_context*, const FullT&)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Utils/dukglue/public_util.h: In function 'void dukglue_read(duk_context*, duk_idx_t, RetT*)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/ScriptingEngine.cpp: In function 'duk_idx_t debugger_request(duk_context*, void*, duk_idx_t)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Utils/dukglue/detail_refs.h:3, from /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Utils/dukglue/detail_types.h:5: /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.0/Source/ScriptingEngine.cpp:226:27: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:227:27: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:228:27: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.0/Source/Utils/dukglue/register_class.h:11:17: 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.6.0/Source/ScriptingEngine.cpp:231:65: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.0/Source/Utils/dukglue/register_class.h:11:17: required from 'void dukglue_register_constructor(duk_context*, const char*) [with Cls = cPosition; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.6.0/Source/ScriptingEngine.cpp:238:41: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.0/Source/Utils/dukglue/register_class.h:11:17: required from 'void dukglue_register_constructor(duk_context*, const char*) [with Cls = sSprite; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.6.0/Source/ScriptingEngine.cpp:244:39: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.0/Source/Utils/dukglue/register_class.h:11:17: 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.6.0/Source/ScriptingEngine.cpp:252:62: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.0/Source/Utils/dukglue/register_class.h:11:17: required from 'void dukglue_register_constructor(duk_context*, const char*) [with Cls = cPhase; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.6.0/Source/ScriptingEngine.cpp:294:38: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.0/Source/Utils/dukglue/register_class.h:11:17: required from 'void dukglue_register_constructor(duk_context*, const char*) [with Cls = cMission; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.6.0/Source/ScriptingEngine.cpp:306:40: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.0/Source/Utils/dukglue/register_class.h:11:17: required from 'void dukglue_register_constructor(duk_context*, const char*) [with Cls = cCampaign; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.6.0/Source/ScriptingEngine.cpp:312:41: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.0/Source/Utils/dukglue/register_class.h:11:17: required from 'void dukglue_register_constructor(duk_context*, const char*) [with Cls = sGameData; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.6.0/Source/ScriptingEngine.cpp:319:41: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.0/Source/Utils/dukglue/register_class.h:11:17: required from 'void dukglue_register_constructor(duk_context*, const char*) [with Cls = cScriptingEngine; Ts = {}; duk_context = duk_hthread]' /usr/src/RPM/BUILD/openfodder-1.6.0/Source/ScriptingEngine.cpp:325:48: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:232:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:233:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:234:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:235:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:240:27: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:240:27: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:245:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:246:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:247:27: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:247:27: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:254:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:255:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:257:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:258:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:259:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:262:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:263:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:265:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:273:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:274:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:276:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:277:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:279:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:281:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:282:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:285:27: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:285:27: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:287:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:288:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:290:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:291:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:295:27: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:295:27: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:298:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:300:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:301:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:302:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:307:27: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:307:27: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:308:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:309:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:313:27: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:313:27: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:314:27: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:315:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:316:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:320:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:326:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:327:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:328:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:329:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:331:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:332:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:336:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:226:27: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:227:27: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/Utils/dukglue/register_class.h:11:17: 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.6.0/Source/ScriptingEngine.cpp:231:65: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/Utils/dukglue/register_class.h:11:17: 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.6.0/Source/ScriptingEngine.cpp:252:62: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:240:27: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/Utils/dukglue/register_class.h:11:17: 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.6.0/Source/ScriptingEngine.cpp:252:62: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:255:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:255:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:255:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:258:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:258:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:276:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:277:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:279:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:290:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp:298:25: required from here /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.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.6.0/Source/ScriptingEngine.cpp: At global scope: /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/UnitTesting.cpp /usr/src/RPM/BUILD/openfodder-1.6.0/Source/UnitTesting.cpp: In member function 'bool cUnitTesting::Start()': /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Window.cpp /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Window.cpp: In member function 'virtual void cWindow::EventCheck()': /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Window.cpp: In member function 'void cWindow::SetOriginalRes(const cDimension&)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/stdafx.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Versions.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Utils/duktape.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source -I/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Parameters.cpp /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Parameters.cpp: In member function 'bool sFodderParameters::FromJson(const std::string&)': /usr/src/RPM/BUILD/openfodder-1.6.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.6.0/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.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.6.0/Source/Amiga/Graphics_Amiga.cpp:498:42: /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.0/Source/Amiga/Graphics_Amiga.cpp:506:22: /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.0/Source/Amiga/Graphics_Amiga.cpp:517:21: /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.0/Source/Amiga/Graphics_Amiga.cpp:506:22, inlined from 'Mission_Intro_Play' at /usr/src/RPM/BUILD/openfodder-1.6.0/Source/Amiga/Graphics_Amiga.cpp:1507:20: /usr/src/RPM/BUILD/openfodder-1.6.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.6.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.6.0/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' [100%] Built target openfodder gmake[1]: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' gmake: Entering directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux/CMakeFiles 0 gmake: Leaving directory '/usr/src/RPM/BUILD/openfodder-1.6.0/i586-alt-linux' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.50501 + 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.6.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.6.0-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.17929 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd openfodder-1.6.0 + DOCDIR=/usr/src/tmp/openfodder-buildroot/usr/share/doc/openfodder-1.6.0 + export DOCDIR + rm -rf /usr/src/tmp/openfodder-buildroot/usr/share/doc/openfodder-1.6.0 + /bin/mkdir -p /usr/src/tmp/openfodder-buildroot/usr/share/doc/openfodder-1.6.0 + cp -prL README.md COPYING /usr/src/tmp/openfodder-buildroot/usr/share/doc/openfodder-1.6.0 + chmod -R go-w /usr/src/tmp/openfodder-buildroot/usr/share/doc/openfodder-1.6.0 + chmod -R a+rX /usr/src/tmp/openfodder-buildroot/usr/share/doc/openfodder-1.6.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ue8hny 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.0sAIZO 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.4), libc.so.6(GLIBC_2.7), 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.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.dMIdW7 Creating openfodder-debuginfo package Processing files: openfodder-debuginfo-1.6.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wdTZ4u find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cBBtpo find-requires: running scripts (debuginfo) Requires: openfodder = 1.6.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.6.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/openfodder-debuginfo-1.6.0-alt1.i586.rpm (w2T16.xzdio) 148.98user 10.30system 0:22.15elapsed 718%CPU (0avgtext+0avgdata 409256maxresident)k 0inputs+0outputs (0major+4252647minor)pagefaults 0swaps 154.87user 13.50system 0:30.48elapsed 552%CPU (0avgtext+0avgdata 409256maxresident)k 0inputs+0outputs (30841major+4577406minor)pagefaults 0swaps --- openfodder-1.6.0-alt1.i586.rpm.repo 2022-07-01 17:30:41.000000000 +0000 +++ openfodder-1.6.0-alt1.i586.rpm.hasher 2022-08-20 05:04:44.887967959 +0000 @@ -11,3 +11,3 @@ Requires: rpmlib(SetVersions) -Requires: libSDL2_mixer-2.0.so.0 >= set:kgId6X9YtoX6V7cr3uLMdiGdNdm2ZB5a4r0 +Requires: libSDL2_mixer-2.0.so.0 >= set:kgglrv7SKhZhcr3uLMdix5l5KrI4Zrak8S0 Requires: libc.so.6(GLIBC_2.0) @@ -46,3 +46,3 @@ File: /usr/lib/openfodder 40755 root:root -File: /usr/lib/openfodder/openfodder 100755 root:root f2f6d6fb369cc12bf7152ce118e62ff0 +File: /usr/lib/openfodder/openfodder 100755 root:root 82bb9a6cb175b4c48ceeb8d123d195f8 File: /usr/share/doc/openfodder-1.6.0 40755 root:root @@ -50,2 +50,2 @@ File: /usr/share/doc/openfodder-1.6.0/README.md 100644 root:root 6e793ef5906fba9eeeb592c93311da27 -RPMIdentity: d393f2ea0382dd619eee346764c9d7777ca48d43eb7ebb9504f416477a0b18f1908ac15c2508518b7fe8e7a73c0ba3a780b273079faa41203fcd43ef6ff15a82 +RPMIdentity: fa670cadf708c13b33233c202af95bf8c4363c628a71f736dddd7a574094e9e56a1e9c0a10bbbde0e8e7ea955db9428d2fc8fe99b7f80e2a8c4e8b4ad77fbe45 --- openfodder-debuginfo-1.6.0-alt1.i586.rpm.repo 2022-07-01 17:30:41.000000000 +0000 +++ openfodder-debuginfo-1.6.0-alt1.i586.rpm.hasher 2022-08-20 05:04:44.945968602 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/e0 40755 root:root -/usr/lib/debug/.build-id/e0/b0f7e06be2ce70adfd9cdcd7521e45bf8fffc3 120777 root:root ../../../openfodder/openfodder -/usr/lib/debug/.build-id/e0/b0f7e06be2ce70adfd9cdcd7521e45bf8fffc3.debug 120777 root:root ../../usr/lib/openfodder/openfodder.debug +/usr/lib/debug/.build-id/44 40755 root:root +/usr/lib/debug/.build-id/44/98908e191a3d28ba8c3f0c570c970974353db8 120777 root:root ../../../openfodder/openfodder +/usr/lib/debug/.build-id/44/98908e191a3d28ba8c3f0c570c970974353db8.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.6.0-alt1:sisyphus+302915.100.1.1 -File: /usr/lib/debug/.build-id/e0 40755 root:root -File: /usr/lib/debug/.build-id/e0/b0f7e06be2ce70adfd9cdcd7521e45bf8fffc3 120777 root:root ../../../openfodder/openfodder -File: /usr/lib/debug/.build-id/e0/b0f7e06be2ce70adfd9cdcd7521e45bf8fffc3.debug 120777 root:root ../../usr/lib/openfodder/openfodder.debug +File: /usr/lib/debug/.build-id/44 40755 root:root +File: /usr/lib/debug/.build-id/44/98908e191a3d28ba8c3f0c570c970974353db8 120777 root:root ../../../openfodder/openfodder +File: /usr/lib/debug/.build-id/44/98908e191a3d28ba8c3f0c570c970974353db8.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 2f5544d6ca9aa8824ee972420694596b +File: /usr/lib/debug/usr/lib/openfodder/openfodder.debug 100644 root:root 64a48bcc40bc475221186254959d8d1f File: /usr/src/debug/openfodder-1.6.0 40755 root:root @@ -294,2 +294,2 @@ File: /usr/src/debug/openfodder-1.6.0/i586-alt-linux/Source/gitver.hpp 100644 root:root 43266cb12fb288905472141e68be43e3 -RPMIdentity: b3dd748202e9f763310dc54a851df824d8b5e1376b3b11058c6b3af742c8264f1cc43d95b8d2fa047e828d43c87367a1ca9eb301952dda652f74e62c7416b07c +RPMIdentity: acabda9177e6c75737159dd4db3cd870f62341154ee5e95341b2440bfb4f6ee3a173484bba2ff5979bf40eb67bc1a3b4c7a2149d96f2c3c2742d0a81c69a9082